Impact Acquire SDK C
Unattended Setups

Sometimes user interaction during an installation is not desired. The MSI engine therefore supports a set of command-line options that can be used to run setups in special ways.

Attention
In order to run unattended setups successfully this installer must be started with elevated privileges! Without them the installation will fail!

Probably the most common way to run an unattended setup will be an installation without any GUI display or user interaction. This can be achieved like this:

// for *.msi files
msiexec /i myInstaller.msi /quiet
// for *.exe files
myInstaller.exe /install /quiet /norestart

or (with an automatic reboot of the system at the end of the installation):

// for *.msi files
msiexec /i myInstaller.msi /quiet /forcerestart
// for *.exe files
myInstaller.exe /install /quiet

For a complete list of option type

// for *.msi files
msiexec.exe
// for *.exe files
myInstaller.exe /?

in a command shell an hit the ENTER key.

Note
Since Impact Acquire 2.22.0 all Balluff Impact Acquire installation packages will require the user to accept the EULA (End User License Agreement) before a package can be installed. For installations using the command line the ACCEPT_EULA property needs to be set if the user wants to suppress the GUI EULA confirmation:
// for *.msi packages
msiexec /i myInstaller.msi ACCEPT_EULA=yes
// for *.exe packages
myInstaller.exe /install ACCEPT_EULA=yes

The installation can be configured even more by passing additional parameters to the command line. A complete list of options is described here: Installation Options

Note
By using unattended setups (/quiet parameter in the command line) the user explicitly accepts the EULA!