Perform an Unattended or Silent Install

Unattended or Silent Install
Use command-line parameters to perform an unattended or silent installation of the software.
Installation Command-line Parameters
This table identifies the installation command-line parameters. Command-line parameters are case-insensitive. However, if a specified value includes a space, be sure to enclose the value in quotation marks (for example, "value with spaces").
Parameter
Description
/?
Displays the usage options for installation parameters.
/Q
Silent Install, install runs in a quiet mode without any user interface.
This parameter is recommended when deploying the software installation using an IT tool or script, and don’t expect any error or restart messages. When using this parameter, check the error codes, and respond as needed. For example, if the installation returns error code 1641, then the IT tool or script should restart the computer and relaunch the installation after restart.
This parameter is required if /QS is not specified.
/QS
Unattended Install, install runs in a quiet simple mode and shows progress through the UI, it does not accept any input but still shows error or restart messages.
When using this parameter, the installation will stop and display a prompt if there are error or restart messages. For example, if an immediate restart is required to complete the install, a restart message will be displayed to confirm the restart. Installation resumes automatically from the point of interruption after restart.
This parameter is required if /Q is not specified.
/IAcceptAllLicenseTerms
Acknowledges acceptance of the license terms.
This parameter is required for /Q or /QS parameters.
/AutoRestart
Automatically restarts the computer after the installation is complete. Used when a restart is required to complete the installation.
This parameter is optional. If this parameter is not used silent install (/Q) will return either error code 1641 or 3010 if a restart is required, and unattended install (/QS) will result in a confirmation prompt that must be agreed to before the installation is completed.
/Record
Records the installation options chosen to a recording file.
This parameter is optional.
/Playback
Plays back a recording file to specify the installation options.
This parameter is optional.
/Repair
Runs a repair operation on the installed products.
This parameter is optional.
/Uninstall
Uninstalls the product.
This parameter is optional.
/SetupLanguage="value"
Specifies which language is displayed during install process.
The value must be the one of these:
  • ENU
  • CHS
  • DEU
  • ESP
  • FRA
  • ITA
  • JPN
  • KOR
  • PTB
This parameter is optional. If this parameter is not used, the default language is the current user or operating system user interface language.
/Product="value"
Specifies which sub-products will be installed.
Only required if sub-products are included with the install package.
If the software does not include sub-products this parameter is not available.
/ProductLanguage="value"
Specifies the language version of the software being installed.
The value must be the one of these:
  • ENU
  • CHS
  • DEU
  • ESP
  • FRA
  • ITA
  • JPN
  • KOR
  • PTB
This parameter is optional. If this parameter is not used, the default language is the same as the setup language.
If the software does not support multiple languages this parameter is not available.
/InstallLocation="value"
Or
/InstallDrive="value"
Specifies the install location or install drive respectively.
This parameter is optional. If this parameter is not used, the default install location is "C:\Program Files (x86)\Rockwell Software".
Some software restricts the installer to only change the drive the software is installed on. Use /? to determine which parameter is supported.
/IgnoreWarning
Specifies that the setup ignores warnings and continues.
This parameter is optional. If it is not specified, the setup exits when a warning occurs.
/SerialNumber="value"
Specifies the serial number of the software being installed. This is used to activate the software during installation.
This parameter is optional. If it is not specified the software must be activated manually after installation if activation is required.
Some software does not require activation. If activation is not required this parameter is not available.
/ProductKey="value"
Specifies the product key used to get activation keys during installation.
This parameter is optional. If it is not specified the software must be activated manually after installation if activation is required.
Some software does not require activation. If activation is not required this parameter is not available.
/Version="value"
Specifies the version of the software to activate which corresponds to the product version associated with the Serial Number and Product Key.
This parameter is optional. If it is not specified the installer uses the most recent product version available.
Some software does not require activation. If activation is not required this parameter is not available.
/InstanceName
(applies to the FTLDR connector installation used with the FactoryTalk Edge Gateway distributed version)
Instance name cannot be empty. It must begin with a lowercase letter and can be 2-40 characters long including alphanumeric, hyphen(s), and underscore(s).
/IP
(applies to the FTLDR connector installation used with the FactoryTalk Edge Gateway distributed version)
IPv4 IP Address
/Port
(applies to the FTLDR connector installation used with the FactoryTalk Edge Gateway distributed version)
Port numbers must be between 0 to 65535.
Examples
These examples show how to use the installation commands.
  • To install the software with no user interface using the default settings during the installation process. (Silent install)
Setup.exe /Q /IAcceptAllLicenseTerms
  • To install the Chinese language version of the software on the D: drive and display the progress, error, or complete messages during installation and restart the computer if necessary. (Unattended install)
Setup.exe /QS /IAcceptAllLicenseTerms /AutoRestart /SetupLanguage=CHS /InstallDrive=D:
  • To customize components and features for installation, record inputs to a record file and playback on other machines. (Record and Playback)
    1. Launch the installation in record mode.
    2. Select
      Next
      .
      The
      Customize
      page appears.
    3. Select the required check boxes and select
      Next
      .
      The
      Recording complete
      page appears.
    4. Select the link for the record file (.rec) to copy the path or the record file the clipboard.
    5. Perform silent install by using this command line:
Setup.exe /Record
The
Setup
page appears.
Setup.exe /Q /IAcceptAllLicenseTerms /Playback="<path the record file>"
Error codes
This table identifies the error codes that can be returned by an installation.
Error Code
Value
Description
ERROR_SUCCESS
0
The installation completed successfully.
ERROR_INVALID_PARAMETER
87
One of the parameters was invalid.
ERROR_INSTALL_USEREXIT
1602
The installation was cancelled by the user.
ERROR_INSTALL_FAILURE
1603
A fatal error occurred during installation.
ERROR_BAD_CONFIGURATION
1610
The configuration data for this product is corrupt. Contact your support personnel.
ERROR_REBOOT_CONTINUE
1641
A reboot is required to continue to installation.
ERROR_SUCCESS_REBOOT_REQUIRED
3010
A restart is required to complete the installation. After restart the product is successfully installed.
ERROR_REBOOT_PENDING
3012
A restart is pending and is required before the installation can continue.
ERROR_SUCCESS_NOT_APPLICABLE
3013
The installation cannot proceed because the products are already installed.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal