Question

Can anyone know why WIX Customaction.dll not working with Windows XP with service pack 3?As i developed my .msi with Wix setup in Windows 8 machine with VS 2010 environment.And this is working fine and is calling my customaction.CA.dll.Where as when i tried to test the same msi in windows XP machine this not working? do i need to do any changes in the customAction.dll so that it will work in XP machine also?Please help me to solve this issue.

Thanks

Was it helpful?

Solution

You might be used .NET Framework 4.0 (CLR 4.0) in your custom action. It will not run in .NET Framework 4.0 or newer is not installed machine.

In your XP machine .NET Framework 4.0 may not be installed. So that you’re custom action is not running.

Use useLegacyV2RuntimeActivationPolicy property in your CustomAction.Config file and set all supported time version which you want to use (CLR 2.0 for .Net Framework 2.0 and 3.5, CLR 4.0 for .Net Framework 4.0 and 4.5)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top