ViewArticle

[Collapse]AQtime/viewarticle/43079/
 [Collapse]General Information/viewarticle/43079/
   Introducing AQtime/viewarticle/42954/
   Copyright Notice/viewarticle/43173/
   System Requirements/viewarticle/43533/
   Supported Development Tools/viewarticle/43511/
   Supported Processor Models/viewarticle/43584/
   What's New in AQtime 8.71/viewarticle/43292/
   Version History/viewarticle/43108/
   Migrating Projects Created in Earlier Versions to AQtime 8/viewarticle/43000/
   Installing AQtime in Silent Mode/viewarticle/43028/
   Technical Support and Resources/viewarticle/43286/
 [Expand]Getting Started/viewarticle/43449/
 [Expand]Profiling Applications With AQtime/viewarticle/43100/
 [Expand]AQtime Reference/viewarticle/43097/
 [Expand]Development Tools Integration/viewarticle/43508/
 [Expand]Samples and Tutorials/viewarticle/43120/
 [Expand]Other Tools for Optimizing Your Applications/viewarticle/43008/
 [Expand]Licensing Guide/viewarticle/43331/
Updated: 3/2/2018 Applies To: AQtime 8 Rating: No votes Click to rate: PoorNot badAverageGoodExcellent
Introduction

Installing AQtime in Silent Mode

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:

    <AQtime871.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:

    <AQtime871.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:

    <AQtime871.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:

<AQtime871.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:

    <AQtime871.exe> /z "-silentmode-remove"
See also
Introducing AQtime | System Requirements


© 2018 SmartBear Software. All rights reserved.
Email Send feedback on this document