Search code examples
.netinstallationinstallshieldinstallshield-2011

Changing .NET Framework version of Installer class used in InstallShield


I have a C# .NET Installer Class DLL being used by InstallShield 2011 to perform some custom code at the end of the installation process. The .NET Installer class is currently targeting .NET Framework 3.5.

When changing the .NET Installer class to target .NET Framework 4.0 and copy the new DLL to the InstallShield project, I am hitting an Error 1001 message when the custom installer code used to launch.

The test machine has the latest .NET Framework version installed.

Is there something that needs to change in InstallShield to specify the target version of the .NET Installer class?


Solution

  • In InstallShield, the .NET Framework File Location was not pointing to .NET 4.

    This file location is specified in InstallShield - Tools - Options - .NET - .NET Framework File Locations.