True PDF Software
for you!

  • Deutsch
  • English

Command Line Parameters

The Setup program accepts optional command line parameters. These can be useful to system administrators, and to other programs calling the Setup program.

Please note, that all descriped installation parameters bottom are only included by using the professional setup or higher! The FREE Setup Version (Community Edition) supports not all of them. Without a license, the Professional Edition runs in the functional scope of the community version, but for tests it should be enough.

/SP-

Disables the startup prompt.

/SILENT, /VERYSILENT

Instructs Setup to be silent or very silent. When Setup is silent the wizard and the background window are not displayed but the installation progress window is. When a setup is very silent this installation progress window is not displayed. If a restart is necessary and the '/NORESTART' command isn't used (see below) and Setup is silent, it will display a Reboot now? message box. If it's very silent it will reboot without asking.

/SUPPRESSMSGBOXES

Instructs Setup to suppress message boxes. Only has an effect when combined with '/SILENT' and '/VERYSILENT'.

/NOCANCEL

Prevents the user from canceling during the installation process, by disabling the Cancel button and ignoring clicks on the close button. Useful along with '/SILENT' or '/VERYSILENT'.

/NORESTART

Instructs Setup not to reboot even if it's necessary.

/RESTARTEXITCODE=exit code

Specifies the custom exit code that Setup is to return when a restart is needed. Useful along with '/NORESTART'. Also see Setup Exit Codes.

/DIR="x:\dirname"

Overrides the default directory name displayed on the Select Destination Location wizard page. A fully qualified pathname must be specified.

/GROUP="folder name"

Overrides the default folder name displayed on the Select Start Menu Folder wizard page.

/NOICONS

No icons are installed in the start menu, on the desktop, and in the Quick Launch bar.

/LOG=filename

The setup program writes a log to the specified file name. If the file exists, it will be overwritten.

/PRINTERNAME="printername"

Installs the printer with specified printer name. Ex. /PRINTERNAME="My PDF Creator"

/LANG="languagecode"

Instructs the setup program to install the specified language. Language codes are 3-letter ISO codes. Currently the following languages are available: ARA, BGR, CHS, CHT, CSY, DAN, DEU, ELL, ENU, ESP, FRA, HUN, IND, ITA, PTB, RUS, SRL, SVE, TRK

/PAPERSIZE

The printer default paper size can be set to A4 or Letter using the switches /PAPERSIZE=A4 or /PAPERSIZE=Letter

/PRESERVEDEFAULTPRINTER

By default the setup program will make the installed printer the default printer. However, you can preserve the default printer if you add this parameter to the setup command line.

/PRESERVEADVANCEDSETTINGS

User's advanced printer settings from an earlier install are preserved during installation if this parameter is used. By default the setup program will reset the user specific advanced printer settings during installation. This affects all users on the system. Only settings for the installed printer names are affected.

/GSLITEURL

Change the default download location for the gslite.exe program.

Example:
/GSLITEURL=http://www.mysite.xxx/redist/gslite.exe 

Se: Automatic download of Ghostscript

/GSLITEDOWNLOADMODE

The Ghostscript lite download mode can help the setup program decide when to download the gslite.exe. Valid values are always, never, and smart. Smart mode is the default. It will detect if Ghostscript is installed manually or if the gslite.exe is located in the same folder as the setup program.

See: Automatic download of Ghostscript

/PDFPOWERTOOLDOWNLOADMODE

The PDF Power Tool download mode can help the setup program decide when to download the pdfpowertool_setup.exe. Valid values are always, never, and smart. Smart mode is the default. It will detect if the pdfpowertool_setup.exe is located in the same folder as the setup program.

/NOGHOSTSCRIPT

Setting this parameter will make the setup ignore the need for Ghostscript.

/NOPDFPOWERTOOL

Setting this parameter will make the setup ignore the need for PDF Power Tool.

/NOXPDF

Setting this parameter will make the setup ignore the need for Xpdf.

/NOTOOLS

This setting will make the installer ignore all the tools. It has the same effect as using /NOGHOSTSCRIPT /NOPDFPOWERTOOL /NOXPDF.

Special Printer Use

 

/SHARE

Prepare the printer for network sharing.

/SPOOLERCONTEXT

Prepare the printer for running in the spooler service user context. This can be useful if you use the printer from a service context as shown in the IIS and ASP.NET example.

/ALLOWEXECUTE=0|1

Set the registry value that allows program execution from the PDF printer.

 

Setup Exit Codes

Any non-zero exit code indicates that Setup was not run to completion.

Code

Beschreibung

0

Setup was successfully run to completion.

1

Setup failed to initialize.

2

The user clicked Cancel in the wizard before the actual installation started.

3

A fatal error occurred while preparing to move to the next installation phase (for example, from displaying the pre-installation wizard pages to the actual installation process). This should never happen except under the most unusual of circumstances, such as running out of memory or Windows resources.

4

A fatal error occurred during the actual installation process.
Note: Errors that cause an Abort-Retry-Ignore box to be displayed are not fatal errors. If the user chooses Abort at such a message box, exit code 5 will be returned.

5

The user clicked Cancel during the actual installation process, or chose Abort at an Abort-Retry-Ignore box.