Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Silent installations are nearly identical to an installation performed via the command line, except the installer user-interface dialogs are suppressed to allow the installer to proceed without user interaction.

Info

NOTE: When using the command line, it is important to pay close attention to placement of double quotes ("), spaces, and other characters. The Windows installer is very specific about these and will not perform as expected unless the syntax is exactly as expected.

The syntax used for a silent installation either using the setup file or the MSI looks like:

   Setup

 

Installations run in silent mode are performed without an end-user interface. InstallShield allows users to create silent installations for Basic MSI, InstallScript MSI, and InstallScript project types.

On this page

Basic MSI silent installation

To run a Basic MSI installation silently, type, at the command line, the following:

  • msiexec /i Product.msi /qn

If release settings include Setup.exe, the command run should be the following:

...

.exe /s /v"/qn InstallerParameters"

Basic MSI installations do not create or read response files. To set installation properties for a Basic MSI project, run a command line such as:

...

   msiexec /i Setup.msi /qn

...

InstallScript MSI and InstallScript silent installations

For InstallScript MSI and InstallScript projects, a response file should be created to record the end-user interaction. This response file is passed to Setup.exe such that installation can be run. The traditional silent installation works almost exactly the same as a regular installation in that it follows the same script logic.

To run an InstallScript MSI installation without using Setup.exe, the MSI silent mode may be used.

See also

InstallerParameters

where,

   Setup.exe should be changed to the name of the downloaded InstallShield setup file.

   Setup.msi should be changed to the name of the MSI file extracted from the InstallShield setup file.

   InstallerParameters should be replaced by any desired installer parameters as documented on the Command Line Installation page for the product being installed.

Steps for extracting the MSI file from the InstallShield setup file are provided in the topic Installation Deployment Methods.

Info

NOTE: The current CSI installations install Visual C++ redistributables as a prerequisite. These Microsoft installers prompt for user interaction even when the InstallShield setup file is executed in silent mode. Installing the MSI does not experience this issue, but does rely on the user to manually install the C++ redistributables on the client machine.


Show If
groupeditors

Related Incidents:

  • Incident 57687: Comments about SHOWACTIVATE=0 flag
  • Incident 58458: Warning messages to open ports during client (?!) installation.

Related Emails:

  • Email "Instructions on how to perform silent uninstallaton": Silent uninstallation will be available starting with CSiBridge and SAP2000 V18.2.0 (mw → ok, 6/27/2016, ID 17302075)
  • Email "Silent installation of CSiBridge 2017 that suppresses the DirectX dialog box": (mw → ok, 4/6/2017, ID 19562731)

...