views:

120

answers:

0

We have a custom action in our installer. We upgraded our projects to the .NET 4.0 framework, and when it applies the custom action, the installer throws a 1001 error that says the version of the framework is invalid.

The custom action uses the value from a radio-button window earlier in the installer (i.e. takes CustomActionData). In my project containing the main exe, I have class that inherits from Installer, has the attribute [RunInstaller(true)] set, and overrides the Install function.

The installer works just fine compiled in VS 2010 for .NET 3.5. I'm running Windows 7 64-bit.

Is there any way we can upgrade our installer/custom action to work with .NET 4.0?