Configuring Printer Drivers with the InstallShield install sample through a customized INI file

 

The InstallShield install samples uses the configuration ini file from the following locations:

 

Desktop 32-bit:

[RTK for PDF Printer Driver path]\RTK 32 bit\Install\Driver Files\<INI file name>

 

Desktop 64-bit:

[RTK for PDF Printer Driver path]\RTK 64 bit\Install\Driver Files\<INI file name>

 

Server 32-bit:

[RTK for PDF Printer Driver Server path]\RTK 32 bit\Install\Driver Files\<INI file name>

 

Server 64-bit:

[RTK for PDF Printer Driver Server path]\RTK 64 bit\Install\Driver Files\<INI file name>

 

The <INI file name> depends on the type of the Printer Driver. The INI file names could be the followings:

 

The INI file name is:

BuCiniNT.ini             - for the Color driver

BuAiniNT.ini             - for the ColorPlus driver

BuEIniNT.ini             - for the EMF (metafile) driver

BuMIniNT.ini            - for the TIFF (monochrome) driver

BuPIniNT.ini             - for the PDF driver

BuCIniTS.ini             - for the Color Terminal Server driver

BuAIniTS.ini             - for the ColorPlus Terminal Server driver

BuEIniTS.ini             - for the EMF Terminal Server driver

BuMIniTS.ini             - for the TIFF Terminal Server driver

BuPIniTS.ini             - for the PDF Terminal Server driver

 

Adding a customized INI file

 

If one would like to use a customized INI file to configure certain settings in the Printer Driver during the installation, create a modified INI file with the customized settings, copy the modified configuration ini file into the correct driver files directory above, and rebuild and install the InstallShield sample.

 

After the installation, check the printer driver printing preferences if the changes took effect.

 

For more information about the available INI file entries, please refer to the Description of the INI file values section.

Important Note:

 

Please note, that the InstallShield Sample shows a dialog during installation where the different printer settings can be selected.

 

 

After the printer settings have been selected, the installer sets these printer settings for the installing user using BlackIceDEVMODE.dll API calls, overriding the INI file values. Please check the OnFirstUIAfter() function in the install script where the settings are set. The dialog is shown by the GetInstallType() function in the script, and the settings are changed using the BlackIceDEVMODE.* functions.

 

E.g.: nResult = BlackIceDEVMODE.SetFileFormat(36, tmpLong);

 

The Install script can be found in the left panel of the InstallShield > Installation designer.