To answer my own question...

It was a couple of things:
1. The config was called app.config so needed to rename it to 
CustomAction.config
2. The Build Action property needed to be set to "Content".

Neil

-----Original Message-----
From: Neil Sleightholm [mailto:n...@x2systems.com] 
Sent: 13 November 2012 12:09
To: General toolset. (wix-users@lists.sourceforge.net)
Subject: [WiX-users] SFXCA: Failed to get requested CLR info.

I am getting the following error from the C#/DTF custom action when running on 
Windows 8 without .NET 3.5 installed:

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.

My CA was built with WiX 3.6 and the CustomAction.config looks like this:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0" />
    <supportedRuntime version="v2.0.50727"/>
  </startup>
</configuration>

I have tried setting the target framework to 2.0 and 4.0 but get the same error.

Can anyone suggest why this is failing?

Neil

Neil Sleightholm
X2 Systems Limited
n...@x2systems.com<mailto:n...@x2systems.com>

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single web 
console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud 
infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to