You are here: Administration > Tools - database, server-command scripting, and APIs (Advanced) > Automate installation on Windows

Automate installation on Windows

You can 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 ClientThe User Client tool is an add-on that resides on a user's desktop. It allows users to view their current account balance via a popup window, provides users with the opportunity to confirm what they are about to print, allows users to select shared accounts via a popup, if administrators have granted access to this feature, and displays system messages, such as the "low credit" warning message or print policy popups. locally on many desktops (although the recommended installation procedure is the "zero install" strategy - see User Client).

The installer command-line options provide the ability to pre-select the installer options; there is no need to click through them when installing. The options in the table below are valid for the Windows installers having those options available for PaperCut NG (the main installer), the User Client and the card wizardThe Card Wizard is a Microsoft Windows application that integrates with Microsoft Word used to create Top-up/Prepaid cards..

Table 97: Windows installer command-line options
Option Description
/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. Use this to install PaperCut NG to a different directory than the default.
/TYPE=secondary_print Selects the install type/options: Server installer:
/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

  • es - Spanish

  • 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.

Comments

Share your findings and experience with other PaperCut users. Feel free to add comments and suggestions about this Knowledge Base article. Please don't use this for support requests.