The Setup program accepts optional command line parameters. These can be useful to system administrators, and to other programs calling the Setup program.
/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. Both types of silent installation are often combined with /ACCEPT_EULA. |
/ACCEPT_EULA | Accept the EULA of installed dependencies. |
/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. |
Printer Options |
/PRINTERNAME="printername" | Installs the printer with
specified printer name. Ex. /PRINTERNAME="My PDF Creator"
This feature can also be used to install multiple printers.
Use /PRINTERNAME="Printer A","Printer B" to install two
PDF printers. |
/PORT="portname" |
Creates a new printer port for the installed printer.
|
/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. |
Printer Driver Options |
/DPI |
Set the default DPI for the printer driver.
Example: /DPI=300 (600 is default)
|
/AdvancedFeatures |
Enable or disable advanced PostScript features.
/AdvancedFeatures=enabled|disabled (disabled is default for better support for 'right to left' printing)
|
/TrueTypeFont |
Select if TrueType fonts are downloaded to the printer as Softfonts or substituted with Device fonts.
/TrueTypeFont=softfont or /TrueTypeFont=devicefont (softfont is default)
|
/PostScriptOutputOption |
Use this switch to control the PostScript output option of the driver.
/PostScriptOutputOption=speed|portability|eps|archive (speed is default)
|
/TrueTypeDownload |
The driver's TrueType font download option can be set using this switch.
/TrueTypeDownload=automatic|outline|bitmap|truetype (outline is default and usually the most compatible)
|
/PostScriptLanguageLevel |
Set the PostScript language level of the driver.
/PostScriptLanguageLevel=2|3 (2 is default)
|
/OriginalDriver |
This disables the renaming of the installed printer driver.
The feature is meant for troubleshooting.
|
Dependencies |
/GSLITEURL | Change the default download location for the gslite.exe program. Ex. /GSLITEURL=http://www.mysite.xxx/redist/gslite.exe
See 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.
|