1.2           How to run the Unattended Installation

Engineering Base offers options for unattended installations based on the Windows Installer. The Windows Installer installs msi packages by using the executable msiexec.exe. This executable can be run from the command prompt with certain parameters. To install a certain package, the following command line is used:

msiexec.exe /I <msi package>

The Windows Installer can be made to create a log file during the installation. This is done with the following parameter:

msiexec.exe /I <msi package> /log "<LogFilePath>"

Property values can be passed, too, to a Windows Installer instance using the command line:

msiexec.exe /I <msi Package> /log "<LogFilePath>" <PropertyName>=<PropertyValue>

Normally, the user interface of a Windows Installer package is suppressed by the control switch /q. This can be used as /qn to suppress all dialogs or /qb to display a GUI without user interaction.

The Engineering Base SetupMSI supports these two options. The display options of the user interface are additionally configured using the following properties:

Property Name

Effect

Example

QUIET

No user interface is displayed

QUIET=yes

QUIETBASIC

A basic user interface showing a progress bar is displayed

QUIETBASIC=yes

When the setup is executed in quiet mode, the Windows Installer package has to be parameterized (which is normally done through the user interface). Engineering Base provides a set of properties specifically defined for silent installation.

Examples:

·            Complete installation: For an installation comprising basic user interface (progress bar only), the Engineering Base Client and Server, Visio and SQL Server on the target system including certain product keys, and user information, the command line looks like below. Please notice that if product keys are passed to the setup procedure the property "AUC_LICENSETYPE" has to be set to the correct value (1 ≡ “Evaluation License” is default):

msiexec.exe /I "D:\EngineeringBase.msi" /log "c:\temp\EB_Unattended_Complete_Install.log" AUC_INSTALLTYPE=1 AUC_USER_FULLNAME="John Doe" AUC_USER_INITIALS="JD" AUC_USER_ORGANIZATION="Doe’s Company" AUC_NEWPRODUCTKEY="ABCDEFGH012345678,876543210HGFEDCBA" AUC_LICENSETYPE="2" QUIETBASIC=YES

“D:\Setup.exe” /V” /log "c:\temp\EB_Unattended_Complete_Install.log" AUC_INSTALLTYPE=1 AUC_USER_FULLNAME="John Doe" AUC_USER_INITIALS="JD" AUC_USER_ORGANIZATION="Doe’s Company" AUC_PRODUCTKEYS="ABCDEFGH012345678,876543210HGFEDCBA" AUC_LICENSETYPE="2" QUIETBASIC=YES”

·            Client installation: To install the EB Client only (including Visio) to drive D: Without any user interface, the command line look like this:

msiexec.exe /I "D:\EngineeringBase.msi" /log "c:\temp\EB_Unattended_Client_Install.log" AUC_INSTALLTYPE=2 INSTALLDIR="D:\EngineeringBase" AUC_USER_FULLNAME="John Doe" AUC_USER_INITIALS="JD" AUC_USER_ORGANIZATION="Doe’s Company" AUC_NEWPRODUCTKEY="ABCDEFGH012345678,876543210HGFEDCBA" AUC_LICENSETYPE="2" QUIET=YES

“D:\Setup.exe” /V” /log "c:\temp\EB_Unattended_Client_Install.log" AUC_INSTALLTYPE=2 INSTALLDIR="D:\EngineeringBase" AUC_USER_FULLNAME="John Doe" AUC_USER_INITIALS="JD" AUC_USER_ORGANIZATION="Doe’s Company" AUC_PRODUCTKEYS="ABCDEFGH012345678,876543210HGFEDCBA" AUC_LICENSETYPE="2" QUIET=YES”

·            Server installation: To install the EB Server only (including SQL Server) with basic user interface, use the following command line (please note that specifying product keys is only required for a client installation).

msiexec.exe /I "D:\EngineeringBase.msi" /log "c:\temp\EB_Unattended_Server_Install.log" AUC_INSTALLTYPE=3 AUC_USER_FULLNAME="John Doe" AUC_USER_INITIALS="JD" AUC_USER_ORGANIZATION="Doe’s Company" QUIETBASIC=YES

“D:\Setup.exe” /V” /log "c:\temp\EB_Unattended_Server_Install.log" AUC_INSTALLTYPE=3 AUC_USER_FULLNAME="John Doe" AUC_USER_INITIALS="JD" AUC_USER_ORGANIZATION="Doe’s Company" QUIETBASIC=YES”

 

 QUIET overrides QUIETBASIC, which means that if QUIET is specified, QUIETBASIC is ignored.