Installing AQTime in Silent Mode

Applies to AQTime 8.81, last modified on January 18, 2022

In some cases, you may need to install AQTime in silent mode. In this mode, the installation is performed automatically without any user interaction. This mode is useful when you need to automate the AQTime installation procedure or deploy AQTime on multiple computers on your network.

You can install AQTime in silent mode --

  • via InstallShield;

  • via specific command-line arguments.

This topic provides a detailed description of these approaches. It includes the following sections:

The Difference Between the Two Approaches

Silent installation performed via InstallShield
  • The installation runs in the background. The installation program does not show any dialogs or messages.

  • An installation response file is required. It contains all the data needed during silent installation: the path to the installation folder, a list of the features to install and so on.

  • To create an installation response file, you need a computer that meets the hardware and software requirements described in System Requirements and has the same software configuration as the computers where you will run silent installation. Otherwise, the differences in the environment (for example, the presence or absence of Microsoft .NET Framework or Microsoft Visual Studio) will affect the set of features that can be installed and silent installation may fail.

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 cannot update AQTime by using the command line. To update your installed version of AQTime, you have to uninstall it first and then install a newer version.

Installing AQTime in Silent Mode by Using InstallShield

To install AQTime in silent mode by using InstallShield, create an installation response file that will store the needed installation settings. Then deploy AQTime package files on other computers and run the installation there using the created response file.

  1. Creating the Silent Installation Response File

  2. Running Silent Installation

  3. Verifying the Silent Installation Success

To create a silent installation response file as well as to run silent installation, your account must have administrator privileges.

1. Creating the Silent Installation Response File

  1. Choose a computer that meets the hardware and software requirements and on which AQTime is not installed. Make sure that this computer has the same software configuration as the computers where you will run silent installation.

  2. Run AQTime installation in response recording mode:

    <AQTime881.exe> /r
    Note: If the path includes spaces, enclose it in quotes.
  3. Follow the onscreen instructions and install AQTime 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.

  4. Move the Setup.iss file from the Windows folder to the folder containing AQTime’s installation package.

2. Running Silent Installation by Using InstallShield

  1. Deploy the AQTime installation package and the installation response file (Setup.iss) to the target computer.

  2. On the target computer, run the following command:

    <AQTime881.exe> /s
    Note: If the path includes spaces, enclose it in quotes.
  3. The installation program will install AQTime 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 AQTime 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 AQTime by Using Specific Command-Line Arguments

To run the installation using specific command-line arguments, administrator permissions are required.

Running Silent Installation

  1. Deploy the AQTime installation package on the target computer.

  2. On the target computer, run the installation using the /z"-silentmode-other_arguments" command-line argument. For example:

    <AQTime881.exe> /z"-silentmode-NoSamples-NoIntegr-Path:D:\Work\Applications"
  3. The installation program will install AQTime without user interaction.

Supported Command-Line Arguments

You run AQTime installation in silent mode by launching its installation package with the following command-line arguments:

<AQTime881.exe> /z"-silentmode[-NoSamples][-NoHelp][-NoMSVSIntegr][-NoBDSIntegr][-remove][-Path:destination_folder]"

/z"-silentmode …"

This argument must be specified. It commands the installation wizard to run the installation in silent mode. The other arguments are optional.

-NoSamples

Samples that demonstrate the main features of AQTime are not installed.

-NoHelp

AQTime help files are not installed.

-NoIntegr

Modules that provide AQTime integration into various development tools are not installed.

-NoMSVSIntegr

Modules that provide AQTime integration into Microsoft Visual Studio are not installed.

-NoBDSIntegr

Modules that provide AQTime integration into Embarcadero RAD Studio are not installed.

-remove

AQTime and all of its features are removed from the computer.

Notes:

  • If you specify the -remove argument, the installation program will ignore the other command-line arguments and uninstall AQTime.

  • If AQTime is not installed, the installation program will ignore the -remove argument and install AQTime.

  • To uninstall AQTime, use the installation package of the AQTime version that is currently installed.

-Path:destination_folder

AQTime is installed to the specified folder.

Note: The -Path parameter specifying the path to the destination folder must always be specified last.

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 AQTime in the update mode. To update AQTime, uninstall your current version of AQTime 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:

    <AQTime881.exe> /z "-silentmode-remove"

See Also

Introducing AQTime
System Requirements

Highlight search results