<< Click to Display Table of Contents >> Navigation: Installation > Switches for MSI Installers |
The MSI Installer Switches detailed below are available with PDF-XChange Standard.
The command line for installation is: msiexec /Option <Required Parameter> [Optional Parameter] [PROPERTY=PropertyValue]
/package or /i
This switch installs or configures the product specified.
Syntax
<Product.msi>
/a
This switch installs the product specified on the network as an administrative install.
Syntax
<Product.msi>
/j<u|m>
This switch advertises the specified product. "u" advertises to the current user, "m" advertises to all users,
Syntax
<Product.msi>
Parameters
•[/t <Transform List>]
•[/g <Language ID>]
/uninstall | /x
This switch uninstalls the product specified.
Syntax
<Product.msi>
Parameters
The parameter for this switch can be either an .msi file or the relevant product code.
/quiet
This switch installs the application without user interaction.
/passive
This switch installs the application in unattended mode. The user will see only the progress bar.
/q[n|b|r|f]
This switch sets the user interface level. "b" installs a basic UI, "f" installs a full UI and is the default setting, "n" means that no UI is installed, "r" installs a reduced UI.
/norestart
This switch disables the automatic system restart when installation is complete. (Please note that many Tracker Software products require a restart to function properly).
/promptrestart
This switch prompts the user for a restart when it is necessary.
/forcerestart
This switch forces a system restart when installation is complete.
/l
This switch defines the logging level for installation.
Syntax
<Logfile>
Modifiers
a - start up of actions.
c - initial UI parameters.
e - all error messages.
i - status messages.
m - out of memory or fatal exit information.
o - out of disk space messages.
p - terminal properties.
r - action-specific recrods.
u - user requests.
v - verbose output.
w - nonfatal warnings.
x - extra debugging information.
+ - append to existing file.
! - flush each line to the log.
* - log all information except for verbose output and extra debugging information.
/log
This switch is the equivalent for /l* <LogFile>.
Syntax
<LogFile>
/f
This switch repairs the product specified.
Syntax
<Product>
Parameters
The parameter for this switch can be either an .msi file or the relevant product code.
Modifiers
a - forces the reinstallation of all files.
c - if a file is missing or checksum does not match the calculated value.
d - if a file is missing or a different version is installed.
e - if a file is missing or an equal or older version is installed.
m - all required computer-specific registry entries. This is a default setting.
o - if a file is missing or an older version is installed. This is a default setting.
p - only if a file is missing.
s - all existing shortcuts. This is a default setting.
u - all required user-specific registry entries. This is a default setting.
v - runs from source and re-caches the local package.
Additional options and more detailed explanations are available at the Microsoft website.
ADDLOCAL
The value of the ADDLOCAL property is a list of features, delimited with commas, that install locally. If it is not used then all available options will be installed.
Syntax
<list of features>
•F_Drivers - components of PDF-XChange driver.
•F_Office2PDF - components of Office to PDF. This requires F_Drivers to operate.
•F_OfficeAddin - addin for MS Office applications for converting documents to PDF. This requires F_Drivers to operate.
•F_IEAddin - addin for MS Internet Explorer that facilitates the conversion of web pages to PDF format.
•F_Langs_Drv - the localization files for the software. This requires F-Drivers to operate.
•F_Updater - the updater for products of Tracker Software Products.
•F_KeyInstaller – the key installer for Tracker Software applications.
INSTALLLOCATION
This property specifies the folder in which products are installed.
PNAME
Specifies the name of the printer used. The default value is "PDF-XChange Standard V6."
Syntax
<name>
SET_PRINTER_AS_DEFAULT
If this property is specified with a value of "1" then the PDF-XChange printer will be set as the default printer.
DESKTOP_SHORTCUTS
If this property is not specified, or specified with a value of "1", then the installer will place shortcuts on the desktop for installed applications.
PROGRAMSMENU_SHORTCUTS
If this property is not specified, or specified with a value of "1", then the installer will create a program menu group for installed applications and their components.
USERNAME
This property specifies the username to which applications will be registered.
Syntax
<username>
ORGANIZATION
This property specifies the organization name to which applications will be registered.
Syntax
<oname>
USERMAIL
This property specifies the user email.
Syntax
<email>
This property specifies the UNC location of the license vault file <filename>.xcvault.
Syntax
<xcvaultfile>
KEYDATA
This property specifies the registration key.
Syntax
<regkey>
DDEFLANGID
This property specifies a language for the print driver. (This requires the standard property F_Langs_Drv in order to operate). The <id> for target languages is available here. The “culture code” must be used for this property. This is a hexadecimal value and must be converted to decimal for use. For example German has the hexadecimal value 0x0407 and therefore the decimal 1031 must be used. A hexadecimal to decimal converter is available here.
Syntax
<id>
NOUPDATER
If this property is unspecified, or specified with a value of "0", then the updater will be installed. If specified with a value of "1" then the updater will not be installed.
SCHEDULEUPDATER
If this property is unspecified, or specified with a value of "1", then the installer will add a task to the task scheduler to check for software updates.
•Install the software in quiet mode to the folder "C:\Program Files\My PDF Applications":
msiexec /i StandardV6.x64.msi /quiet INSTALLLOCATION="C:\Program Files\My PDF Applications"
•Install the software in quiet mode to the default folder and specify the user license information:
msiexec /i StandardV6.x64.msi /quiet USERNAME="John Doe" USERMAIL="abc@a.b.c" KEYFILE="\\UNC\path\to\xcvaultfile"
•Install only PDF-XChange Standard and the updater:
msiexec /i StandardV6.x64.msi /quiet ADDLOCAL="F_Viewer,F_Updater"
•Install the software with all features, German as the UI language and a 'basic' UI. (Please note that ADDLOCAL is not being used, therefore all components, including F_VLangs, are installed:
msiexec /i StandardV6.x64.msi /qb DDEFLANGID=1031