|Q112469: INFO: Error 1001 Occurs During Installation|
|InstallShield 2009 Premier, InstallShield 2009 Professional, InstallShield 2010 Premier, InstallShield 2010 Professional, InstallShield 2011 Premier, InstallShield 2011 Professional, InstallShield 2012 Premier, InstallShield 2012 Professional, InstallShield 2012 Spring Premier, InstallShield 2012 Spring Professional|
|Basic MSI, InstallScript MSI|
One of the following errors occurs during the installation in an install that includes a .NET Installer Class:
Error 1001.Exception occurred while initializing the installation:
System.BadImageFormatException: The format of the file <filename> is invalid.
Error 1001.InstallUtilLib.dll: Unknown error in CorBindToRuntimeHost (0x80131700).
This installation error can occur because the incorrect version of InstallUtilLib.dll has been streamed into the MSI package for the .NET Installer Class custom actions. InstallShield creates four custom actions for each component with ".NET Installer Class" set to "Yes." These are for the install, rollback, commit, and uninstall methods in the Installer Class.
Verify that the correct .NET versions of Regasm.exe and InstallUtilLib.dll have been specified in the Tools Menu - Options - .NET Tab. Also verify that this version of the .NET framework is currently installed on the build machine and will be installed on the target machine during or before the installation. The same .NET version should be specified for both files.
Note that this setting is a product wide setting, so it may be necessary to change the .NET version when working with a different installation project that installs files of a different .NET version.
This error will occur if the component installing a .NET Service is incorrectly configured with ".NET Installer Class" set to Yes.
The correct method to install a .NET Service is to use Component\Advanced Settings\Services view, not the ".NET Installer Class" setting. Making definitions in the Component\Advanced Settings\Services view creates entries in the Windows Installer ServiceControl and ServiceInstall Tables. These entries are used by the Windows Installer "InstallServices" action to install the Service.
For Error 1001.The specified service already exists
If the install has already been deployed, then possible solutions are to:
|Last Modified Date: 08-02-2012ID: Q112469|