In some cases, you may need to install LoadComplete and LoadComplete Remote Agent in silent mode. In this mode, the installation is performed without any user interaction.
For example, you install LoadComplete in silent mode if you need to automate the installation procedure or deploy LoadComplete or Remote Agent on multiple computers on your network.
You can install LoadComplete and Remote Agent in silent mode –
-
via InstallShield;
-
via specific command-line arguments.
These approaches are suitable for both LoadComplete and Remote Agent. In this topic, we will focus mostly on LoadComplete.
The Difference Between the Two Approaches
Installing LoadComplete in Silent Mode by Using InstallShield
⇒ 1. Creating a Silent Installation Response File
Installing LoadComplete by Using Specific Command-Line Arguments
The Difference Between the Two Approaches
Silent installation performed via InstallShield:
-
The installation runs in the background and no dialogs or messages are displayed.
-
An installation response file is required. It specifies all the settings to be used during silent installation: the installation folder and so on.
Silent installation performed via specific command-line arguments:
-
Some installation wizard pages are displayed on screen (no pages that require user input are displayed, but the other pages are visible).
-
You can specify which product features you want to install or skip during the installation.
-
You cannot update LoadComplete by using the command line. To update your installed version of LoadComplete, you have to uninstall it first and then install a newer version.
Installing LoadComplete in Silent Mode by Using InstallShield
To install LoadComplete in silent mode by using InstallShield, create an installation response file that will store the needed installation settings. Then deploy LoadComplete installation files on other computers and run the installation there using the created response file.
To create a silent installation response file as well as to run silent installation, your account must have administrator privileges. |
1. Creating a Silent Installation Response File
-
Choose a computer that meets the hardware and software requirements and on which LoadComplete is not installed. Make sure that this computer has the same software configuration as the computers where you will run silent installation, because differences in the environment may cause the installation to fail.
-
Run LoadComplete installation in response recording mode:
<LoadComplete497.exe> /rNote: If the path includes spaces, enclose it in quotes. -
Follow the onscreen instructions and install LoadComplete with the needed settings.
The installation program will track the choices you make during the installation and record them to the Setup.iss file in the Windows folder on your system drive.
-
Move the Setup.iss file from the Windows folder to the folder containing LoadComplete’s installation files.
2. Running Silent Installation by Using InstallShield
-
Deploy the LoadComplete installation package and the installation response file (Setup.iss) to the target computer.
-
On the target computer, run the following command:
<LoadComplete497.exe> /sNote: If the path includes spaces, enclose it in quotes. -
The installation program will install LoadComplete in the background using the options specified in the Setup.iss file. The installation program will display no dialogs, nor will it prompt you to specify any options. The installation progress will not be shown either.
3. Verifying the Silent Installation Success
In silent mode, the installation wizard shows no informative, warning or error message. The installation program creates the setup.log file and writes the installation status to that file. You can examine that log file to learn whether LoadComplete has been installed successfully.
The file is located in the folder containing the installation files. Open the file and check the ResultCode
value. 0 indicates success, any other values indicate an error. A complete list of error codes is available on this web page:
http://helpnet.installshield.com/installshield22helplib/helplibrary/SetupLog.htm
Installing LoadComplete by Using Specific Command-Line Arguments
Supported Command-Line Arguments for LoadComplete
Supported Command-Line Arguments for LoadComplete Remote Agent
To run the installation using specific command-line arguments, administrator permissions are required. |
Running Silent Installation
-
Deploy the LoadComplete installation package on the target computer.
-
On the target computer, run the installation using the
/z"-silentmode-other_arguments"
command-line argument. For example:<LoadComplete497.exe> /z"-silentmode-Path:D:\Work\Applications" -
The installation program will install LoadComplete without user interaction.
Supported Command-Line Arguments for LoadComplete
You run LoadComplete installation in silent mode by launching its installation package with the following command-line arguments:
<LoadComplete497.exe> /z"-silentmode[-NoSamples][-remove][-Path:destination_folder]"
/z"-silentmode …"
This argument must be specified. It commands the installation program to run in silent mode.
The other arguments are optional.
-NoSamples
Sample projects, applications and files are not installed.
-remove
LoadComplete is removed from the computer.
Notes:
-
If you specify the -remove argument, the installation program will ignore the other command-line arguments and uninstall LoadComplete.
-
If LoadComplete is not installed, the installation program will ignore the -remove argument and install LoadComplete.
-
To uninstall LoadComplete, use the installation package of the LoadComplete version that is currently installed.
-Path:destination_folder
LoadComplete is installed to the specified folder.
Note: | The -Path parameter must always be specified last. |
Supported Command-Line Arguments for LoadComplete Remote Agent
You run LoadComplete Remote Agent installation in silent mode by launching its installation package with the following command-line arguments:
<LoadCompleteRAS497.exe> /z"-silentmode[-remove][-Path:destination_folder]"
/z"-silentmode …"
This argument must be specified. It commands the installation program to run in silent mode.
The other arguments are optional.
-remove
LoadComplete Remote Agent is removed from the computer.
-Path:destination_folder
LoadComplete Remote Agent is installed to the specified folder.
Note: | The -Path parameter must always be specified last. |
Waiting for the Installation to Complete
By default, the installation program does not wait for the installation to complete. To wait for the LoadComplete (or LoadComplete Remote Agent) installation to complete, you can use the /clone_wait
argument of the InstallShiled command line:
This may be useful if you install LoadComplete in unattended mode in a testing environment and then start automatic testing immediately.
To learn more about the /clone_wait
argument, see the InstallShield documentation.
Verifying the Silent Installation Success
If an error occurs during the installation, the installation wizard shows an error message on screen. It indicates that something went wrong. The absence of an error message indicates that the installation has been completed successfully.
To determine whether the installation has completed successfully, you can also check the exit code value of the installation. 0 indicates successful installation. Other values indicate an error. For a complete list of error codes, see the following web page:
http://helpnet.installshield.com/installshield22helplib/helplibrary/SetupLog.htm
Known Limitations
-
You cannot install LoadComplete in the update mode. To update LoadComplete, uninstall your current version of LoadComplete and then install a newer one.
You can do this manually via the operating system’s Control Panel or by using the -remove command-line argument:
<LoadComplete497.exe> /z"-silentmode-remove"
See Also
Installation Steps
About LoadComplete Remote Agent
Installing Remote Agent