Automating / Streamlining Installation on Windows

In some cases organizations may wish to streamline the installation of PaperCut NG or a particular PaperCut NG component for automating deployment. For example when installing on many secondary print servers, or installing the user client tool locally on many desktops (although the recommended installation procedure is the "zero install" strategy - see the section called “User Client Deployment”).

The installer command-line options provide the ability to pre-select the installer options, such that there is no need to click through them when installing. The options in table Table A.3, “Windows installer command-line options” are valid for the Windows installers for PaperCut NG (the main installer), the user client tool and the card wizard.

OptionDescription

/SILENT or /VERYSILENT

Instructs the installer to be 'silent' or 'very silent'. When silent the installation begins immediately, and only the progress window is displayed. When very silent, installation begins immediately with nothing displayed.

If any errors are encountered, the error messages are still displayed with either option.

/DIR="x:\dirname"

Overrides the default installation directory. This can be used to install PaperCut NG to a different directory than the default.

/COMPONENTS="comma separated list of component names"

Selects the components for installation. The available components depend on what is being installed:

Server installer:

  • server - The PaperCut NG server. Selected by default).

  • prov_print - The print provider component (to monitor printing). Selected by default.

  • sec_server_print - Required when setting up a secondary print server.

  • prov_net - The internet provider component (to monitor internet usage).

  • sec_server_net - Required when setting up a secondary internet proxy server.

User client installer:

  • reg_key_all_users - Startup launch registry key for all users.

  • reg_key_current_user - Startup launch registry key for current user.

/GROUP="folder name"

Overrides the default Start menu group / folder into which PaperCut NG is installed.

/NOICONS

Disables the creation of a Start menu group / folder.

/LANG=language

Specifies the language to use during installation. By default this is automatically detected based on your language settings, but can be overridden by specifying a language. The available languages are:

  • de - German

  • en - English

  • fi - Finnish

  • fr - French

  • it - Italian

  • nl - Dutch

  • pt - Portuguese

  • pt_BR - Brazilian Portuguese

  • zh_CN - Chinese (Simplified)

  • zh_HK - Chinese (Traditional)

Note: This option only specifies the language during installation. More languages and regional options are available in PaperCut NG once installed, which are configured separately.

Table A.3. Windows installer command-line options