I am having a problem with a custom action in my Wix installer, on a Clean
Install of Windows 8.1. 

The machine has .NET Framework version 4.5 installed.
My custom action dll targets Framework 4.0 and works on a Windows 7 machine
( though this also has the 2.0 Framework installed ).

The config for the Custom Action 



However when running the generated MSI on the Windows 8.1 machine with
logging enabled I get the following errors in the log file for the custom
action:

Action 10:19:46: GetOfficeVersions. 
Action start 10:19:46: GetOfficeVersions.
SFXCA: Extracting custom action to temporary directory:
C:\Users\DEVELO~1\AppData\Local\Temp\MSI8D00.tmp-\
SFXCA: Failed to get requested CLR info. Error code 0x80131700
SFXCA: Ensure that the proper version of the .NET Framework is installed, or
that there is a matching supportedRuntime element in CustomAction.config. If
you are binding to .NET 4 or greater add
useLegacyV2RuntimeActivationPolicy=true to the <startup> element.
CustomAction GetOfficeVersions returned actual error code 1603 (note this
may not be 100% accurate if translation happened inside sandbox)
Action ended 10:19:46: GetOfficeVersions. Return value 3.
Action 10:19:46: FatalError. 
Action start 10:19:46: FatalError.
Action 10:19:46: FatalError. Dialog created


Now I have the correct useLegacyV2RuntimeActivationPolicy set in the config
file, but being a version 4.0 assembly it should work with 4.5 anyway.

Any suggestions would be appreciated ?

Peter



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Action-Failing-on-Clean-Windows-8-1-machine-tp7592610.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to