Command-Line Installation
You may want to integrate the boards drivers and MultiCam tools installation into your own application distribution.
MultiCam setup program can be called in command-line mode with your installation options. In this mode, the MultiCam installation program does not prompt for user action and does not display any dialog box.
The Response File
A command-line installation is created in two steps.
- Use the graphical user interface to record a response file.
- Call the setup program with the /r flag.
- Use the /f1 flag to specify the response file name and path. By default, the "Setup.iss" file is created inside the Windows system folder.
- Recall the response file.
- Call the setup program with the /s flag. The installation is launched in the silent mode, that is no window nor dialog box will appear.
- Use the /f1 flag to specify the response file name and path. By default, the "Setup.iss" file is recalled from the Windows system folder.
- Use the /z"ForceInstall" flag to forces the removal of an already installed version before executing the setup file, even if the already installed version is newer.
Note. There is no space between the flag and its argument.
/f1"Setup.iss" will work.
/f1 "Setup.iss" will not work.
Installation Removal
To automatically remove installed tools, call the setup program with the /removeonly flag.
Use the /s flag to launch the removal program in the silent mode. In this mode, no window nor dialog box will appear.
Reboot during Installation
If during the record of the response file, you accepted the reboot at the end of the installation, this reboot is stored in the response file and it will take place automatically during the installations using this response file.
If you did not accept the reboot, the reboot will not take place automatically. The reboot must be performed by your application. In this case, the [HKEY_LOCAL_MACHINE\SOFTWARE\Euresys\Common] "RebootNeeded" registry entry should be checked. If it exists and is set to 1, then it should be replaced by 0, and the system must be rebooted.
Error Reporting
After the command line installation, the following registry key is updated and holds the installation status: [HKEY_LOCAL_MACHINE\SOFTWARE\Euresys\Common\LastInstallError].
- The ErrorCode DWORD identifies the error:
- 0 - There is no error.
- 1 - The user is not administrator.
- 2 - There is not enough space on the target disk.
- 3 - The command line is invalid.
- 4 - There is a newer product version already installed.
- The Cause string gives a wording of the error.
- The Source string identifies the installer that caused the error.
- The ErrorTime string gives the time and date of the error.