Using the Black Ice Install DLL on 32 or 64 systems

 

InstallShield is the most popular installation tool for developers but InstallShield creates 32-bit installs and create confusion for developers. Functions of 64-bit dlls cannot be called directly from the InstallShield script. Only the 32-bit version of the install dll can be used in the installer project.

 

The install dll has 2 project settings: NT RELEASE and NT RELEASE x64. The NT Release x64 configuration builds a 32- bit dll for installing 64-bit printer drivers. If this install dll and 64-bit printer driver files are used in the InstallShield project the printer driver will be installed flawlessly for 64- bit operating systems.

 

 

For more information please check the InstallShield sample available in the printer driver resource toolkit.

 

Note: When a 32-bit installer runs on a 64-bit OS, the 64-bit operating systems redirect the files to SysWOW64 directory instead of the System32 directory. This feature should be disabled in the install script, otherwise the system won’t find the printer driver. If the redirection is disabled the printer driver files will be copied to the right location (to System32) directory.  Please check the InstallShield sample available in the 64 bit RTKs which contain the necessary source codes.

 

To disable the redirection in the script please call the Disable(WOW64FSREDIRECTION) command in the OnFirstUIBefore and OnMaintUIBefore functions of install script. The Disable(WOW64FSREDIRECTION) should be the first command in OnFirstUIBefore and OnMaintUIBefore functions.