Silent Installation

enaio® 9.10 »

Silent installation offers the possibility to run an enaio® setup on each computer without user input. This is particularly recommended for local client or network installation.

A silent installation is performed in two steps. First, a generic and dialog-guided enaio® installation is run on a reference computer and recorded by the setup. If a restart is required in recording mode, execute it. After restarting the computer, switch off the maintenance mode and record the setup again.

Run the setup with the -r parameter to start the record mode:

S:\enaioinstall\Setup.exe -r

A text file called setup.iss is then created in the Windows directory. All configurations of the dialog-guided setup are logged in this file.

Copy this text file to the setup directory containing the setup.exe file. Add write permissions to this setup directory, as the setup generates a setup.log file there at runtime.The default name of the silent installation log file is setup.log. If the setup cannot write to the directory, it exits without installing.

If the setup is launched with the parameter -s, the recorded setup will be run in silent mode:

S:\enaioinstall\setup.exe -s

The installation is run in the same way as it was recorded. For this reason, the conditions need to be the same at both the computer at which silent setup is to be executed and the computer at which it was recorded.

The setup log file contains the following three sections.

The initial [InstallShield Silent] section indicates the version of InstallShield Silent used in the silent setup. It also identifies the file as a log file.

The [Application] section identifies the name and version of the installed application, as well as the company name.

The [ResponseResult] section contains the result code indicating if the silent setup was successful. An integer value is assigned to the ResultCode key name in the [ResponseResult] section. InstallShield places one of the following return values according to the ResultCode key name:

-0 Successful.

-1 General error.

-2 Invalid mode.

-3 The required data could not be found in the setup.iss file.

-4 Not enough memory available.

-5 File does not exist.

-6 Unable to write to response file.

-7 Unable to write to log file.

-8 Invalid path to InstallShield Silent response file (*.iss file).

-9 Invalid list type (string or number).

-10 Invalid data type.

-11 Unknown error during setup.

-12 Incorrect dialog box order.

-51 The specified folder cannot be created.

-52 Unable to access the specified file or folder.

-53 Invalid option selected.

One of the most frequent errors occurring during silent setup is that both computers – the one on which silent setup was recorded and the second one whereon silent setup was run – have different configurations.

This error appears as follows in the setup.log file:

[ResponseResult]
ResultCode=-3

Identical computer conditions exclusively refer to the same installation status of the software to be installed and to the configuration to which the installation refers.

Example:

As the installed Office components are queried and shown accordingly in the local client installation, these must be the same on the computers. Running silent installation on a computer having installed only Word and Excel will fail if the setup was recorded on a computer having installed only Word or Word, Excel, and also PowerPoint.

The silent mode will not initialize a restart after setup.

The silent setup cannot check if system files were exchanged. For that reason, we recommend restarting the client computer. After the restart, a user with local administrator rights must log on to Windows; otherwise, necessary entries cannot be created in the Windows registry.