MSI Installation with Custom INI file
The IceViewer can be preconfigured for every user on the system by using a Custom INI file during MSI installation.
The IceViewer uses two INI files. The INI file used during installation to apply the default configuration is referred to as the Master INI file. The Master INI file contains default settings and administrator-only configurations for IceViewer.
When IceViewer is run for the first time, it creates a secondary INI file for the current user, referred to as the User INI file, which the user can access. All configuration changes made by the user through the IceViewer interface are saved exclusively to the User INI file.
The Master INI file is located in the IceViewer installation folder:
By default, with 64-bit installer:
c:\Program Files\Black Ice Software LLC\IceViewer\IceViewer.ini
By default, with 32-bit installer:
c:\Program Files (x86)\Black Ice Software LLC\IceViewer\IceViewer.ini
The User INI file is located at:
C:\Users\[Username]\AppData\Roaming\Black Ice IceViewer\IceViewer.ini
Creating a Custom INI file
To create a Custom INI file, please see the following steps:
- Run IceViewer as an administrator and configure administrator-only options under File > Options > Admin tab. The configured administrator settings will be saved to the Master INI file. Close IceViewer when finished.
- Copy the Master INI file located at:
C:\[IceViewer Installation Directory]\IceViewer.ini
Then overwrite the User INI file at:
C:\Users\[Username]\AppData\Roaming\Black Ice IceViewer\IceViewer.ini
- Open IceViewer, and configure any additional settings. These configurations will be saved in the overwritten User INI file.
- After configuration is complete, duplicate the final User INI file. Rename it as desired (e.g., IceViewerMSI.ini) to use it during MSI installation.
MSI Installation using a Custom INI file
During installation, reference the created Custom INI file (e.g., IceViewerMSI.ini) using the CUSTOMINI parameter. For Example:
msiexec /i "<<PATH>>\IceViewer64BitSetup.msi" /q TARGETDIR="C:\<<Installation Directory>>\IceViewer" CUSTOMINI="C:\<<PATH>>\IceViewerMSI.ini" REGNUM=xxxxxxxxxxxxx-xxxxxxxxxx
