Using Silent Installation to Install UII

Silent installation is a procedure used to install the individual components of the UII from a command prompt window.

To install a component from a Command Prompt window

  • Open a Command Prompt window, and type msiexec /i <UII Setup filename> /q ADDLOCAL = <feature ID> /l*v <Installer log filename>.log. For example, to install the framework, use ADDLOCAL=Framework/l*v Install.log.
    • Use msiexec /q to perform a silent installation.
    • To specify properties on the command line, use PROPERTYNAME=Value.
    • To select specific features, use ADDLOCAL=Feature ID (assigned in WiX code). Alternatively, you can specify the installation directory by passing it as a parameter. The installation directory parameter name is different for each feature. For example, to install the framework feature, use INSTALLDIR=C: \My_Custom_Dir.

      The following table lists the features and their corresponding feature IDs and installation directory options.

      Feature name

      Feature ID

      Installation directory

      Framework

      Framework

      INSTALLDIR

      UII Solution

      UIISolution

      UIISOLUTIONINSTALLDIR

      HAT Software Factory Visual Studio 2010

      HATSoftwarefactory

      HATINSTALLDIR

      Citrix Server component

      CitrixServer

      CITRIXSERVERINSTALLDIR

      QuickStarts

      QuickStarts

      QUICKSTARTSINSTALLDIR


The installer supports silent mode with both the standard parameters and the custom parameters.

The following are the standard command-line options and parameters for the msiexec command:

  • /s – Extracts the compressed file in silent mode.
  • /qn – Sets the user interface level to no UI.
  • /lv * – Specifies the log file name for the installation to use.
  • ADDLOCAL – Specifies the components that are to be installed on the computer.
  • REMOVE – Specifies the components that are to be removed (uninstalled) from the computer.
  • REINSTALL – Specifies the components that are to be reinstalled on the computer.
  • <Installation Directory>=path – Indicates where the core components should be installed. If the path is not set, the default location is used (Program Files\[feature name] or Program Files(x86)\[feature name]).

Example: The following command performs a silent installation of the UII solution:

msiexec /i <UII Setup filename> /q ADDLOCAL=UIISolution /lv* Install.log

For more information about silent installation, open a Command Prompt window and type the following command: msiexec /help.