Fuzzy execution of .NET 4.0

We have custom actions in our installer. We upgraded our projects to the .NET 4.0 platform, and when it applies user actions, the installer gives a 1001 error stating that the frame version is invalid.

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

The installer works fine in VS 2010 for .NET 3.5. I am using the 64-bit version of Windows 7.

Is there any way to update our installer / user action to work with .NET 4.0?

+3
source share
1 answer

You must have the minimum client profile .Net Framework 4.0 installed.

Like your other 4.0 platform projects, you must also move the installer to 4.0.

Download . Net Framework 4.0 Client Profile

0
source

Source: https://habr.com/ru/post/1742462/


All Articles