Setup Command Line Parameters

The PDFCreator Setup can take several parameters. Most of them are given through the installer software (Inno Setup) we are using.

/ForceInstall

Forces PDFCreator to install even if a previous installation has been found.

/Printername=<PrinterName>

Allows to set a different default printer name.

/PPDFile=<PPDFile>

Allows to specify a custom printer description file i.e. to supply custom paper formats.

/PDFCreatorLicenseKey=<PDFCreatorLicenseKey>

If you have a license key for PDFCreator Plus, you can pass it with this parameter. This allows to install and activate PDFCreator Plus in a silent setup.

/PDFArchitectLicenseKey=<PDFArchitectLicenseKey>

If you have a license key for PDF Architect, you can pass it with this parameter. This allows to install and activate PDF Architect in a silent setup.

/ProxyName=<ProxyName:Port>

If you have a license key for PDFCreator Plus and you use a proxy then you can use this parameter to specify the name and the port of the proxy.

Samples:

/ProxyName=proxy1
/ProxyName=proxy2:8088

/ProxyUsername=<ProxyUsername>

If you have a license key for PDFCreator Plus and you use a proxy with authentication then you can use this parameter to specify the username for the authentication.

Samples:

/ProxyUsername=Smith
/ProxyUsername="John Smith"

/ProxyPassword=<ProxyPassword>

If you have a license key for PDFCreator Plus and you use a proxy with authentication then you can use this parameter to specify the password for the authentication.

Samples:

/ProxyPassword=MyPassword
/ProxyPassword="My password"

/REGFile=<REGFile>

Allows to specify PDFCreator settings through a registry setting file. This allows to transfer settings to other computers in the setup.

/SILENT, /VERYSILENT

Instructs the setup to be silent or very silent. When the 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. Everything else is normal, so for example error messages during installation are displayed.

If a restart is necessary and the ‘/NORESTART’ command isn’t used (see below) and the setup is silent, it will display a ‘reboot now?’ message box. If it’s very silent it will reboot without asking.

/SILENT and /VERYSILENT are only available in our PDFCreator Business Editions.

/NOCANCEL

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

/NORESTART

When combined with /SILENT or /VERYSILENT, instructs Setup not to reboot even if it’s necessary.

/LOADINF=”filename”

Instructs Setup to load the settings from the specified file after having checked the command line. This file can be prepared using the ‘/SAVEINF=’ command as explained below. Don’t forget to use quotes if the filename contains spaces.

/SAVEINF=”filename”

Instructs Setup to save installation settings to the specified file. Don’t forget to use quotes if the filename contains spaces.

/LANG=language

Specifies the language to use. language specifies the internal name of the language.

When a valid /LANG parameter is used, the Select Language dialog will be suppressed.

/DIR=”x:dirname”

Overrides the default directory name displayed on the Select Destination Directory 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

Instructs Setup to initially check the Don’t create any icons check box on the Select Start Menu Folder wizard page.

/COMPONENTS=”x,y,z”

Overrides the default components settings. Using this command line parameter causes Setup to automatically select a custom type.

Sample:

/COMPONENTS="program,ghostscript,comsamples,helpfiles\english,languages\german"

Note

The component names change from time to time. You can get a full list of components by installing PDFCreator using the /SaveINF parameter. This will create an INF file with your settings and you can take a list of installed components from there.

/TASKS=”task1,task2”

Specifies a list of tasks that should be initially selected.

Only the specified tasks will be selected; the rest will be deselected. Use the /MERGETASKS parameter instead if you want to keep the default set of tasks and only select/deselect some of them.

If a task name is prefixed with a “*” character, any child tasks will be selected as well. If a task name is prefixed with a “!” character, the task will be deselected.

/MERGETASKS=”task1,task2”

Like the /TASKS parameter, except the specified tasks will be merged with the set of tasks that would have otherwise been selected by default.