Using this config file,

<configuration>
  <startup>
    <!-- do not edit this file.  its contents are required for installer
custom
actions. -->
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
  </startup>
</configuration>

I get the following in the logs:

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.

This is because GetRequestedRuntimeInfo and CorBindToRuntimeEx were
deprecated for .net 4: http://msdn.microsoft.com/en-us/library/ms230176.aspx .
 It may also be incorrect to use ICorRuntimeHost now, but I'm not entirely
sure.

<http://msdn.microsoft.com/en-us/library/ms230176.aspx>Here's the 4.0 docs
for reference:
http://msdn.microsoft.com/en-us/library/dd409341(v=VS.100).aspx ... I could
help build a 4.0 correct sfxca,

-john


On Sun, Jun 6, 2010 at 9:29 AM, Rob Mensching <r...@robmensching.com> wrote:

> I *think* DTF in WiX v3.5 supports NETFX4 now.
>
> On Fri, Jun 4, 2010 at 4:11 PM, John Ketchpaw <jketch...@panopto.com>
> wrote:
>
> > Are there plans for DTF support of .net 4?  I hacked up the source and
> was
> > able to build a .net 4 version of makesfxca, but I wasn't able to get the
> > custom action to actually fire.
> >
> > -john
> >
> >
> > On Thu, Jun 3, 2010 at 5:31 AM, Thomas Svare <thomas_sv...@symantec.com
> > >wrote:
> >
> > > Rob,
> > >
> > > Thanks for the quick response, it is much appreciated.
> > >
> > > Thanks,
> > > Tom
> > >
> > > -----Original Message-----
> > > From: Rob Mensching [mailto:r...@robmensching.com]
> > > Sent: Wednesday, June 02, 2010 10:20 PM
> > > To: General discussion for Windows Installer XML toolset.
> > > Subject: Re: [WiX-users] WiX 3.0 error with .net 4
> > >
> > > WiX v3.5 supports NETFX 4.0. WiX v3.0 does not. IIRC, the fix is to
> add:
> > >
> > >  <supportedRuntime version="v4.0" />
> > >
> > > as the to the app.config for light.exe.
> > >
> > > On Wed, Jun 2, 2010 at 4:31 PM, Thomas Svare
> > > <thomas_sv...@symantec.com>wrote:
> > >
> > > > Hello,
> > > >
> > > >
> > > >
> > > > I'm helping with setting up a new build environment with VisualStudio
> > > > 2010 and we're targeting .net 4.  The version of WiX in use is
> > > 3.0.5419.
> > > > I'm getting the following light error on my assemblies that I didn't
> > > get
> > > > with .net 3.5:
> > > >
> > > >
> > > >
> > > > error LGHT0132 : The assembly file 'Data.dll' appears to be invalid.
> > > > Please ensure this is a valid assembly file and that the user has the
> > > > appropriate access rights to this file.  More information: HRESULT:
> > > > 0x8013101b
> > > >
> > > >
> > > >
> > > > The component is specified as follows:
> > > >
> > > >
> > > >
> > > >                <Component Id="Data.dll"
> > > > Guid="8B9769B9-4FD7-435B-8B4D-668602EB07B1" SharedDllRefCount="yes"
> > > > Win64="$(var.X_64)">
> > > >
> > > >                                <File Id="data.d" Name="Data.dll"
> > > > KeyPath="yes" Assembly=".net" AssemblyApplication="data.d"
> > > > Source="$(var.FILE_PATH)\Data.dll"/>
> > > >
> > > >                </Component>
> > > >
> > > >
> > > >
> > > > I googled the error and only came up with a few hits that were
> helpful
> > > > but did not solve the problem.  I saw there was a bug in WiX 3.5.
> > > Does
> > > > anyone have any insight to this issue?
> > > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Tom
> > > >
> > > >
> > > >
> > >
> ------------------------------------------------------------------------
> > > ------
> > > > ThinkGeek and WIRED's GeekDad team up for the Ultimate
> > > > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> > > > lucky parental unit.  See the prize list and enter to win:
> > > > http://p.sf.net/sfu/thinkgeek-promo
> > > > _______________________________________________
> > > > WiX-users mailing list
> > > > WiX-users@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > >
> > > >
> > >
> > >
> > > --
> > > virtually, Rob Mensching - http://RobMensching.com LLC
> > >
> ------------------------------------------------------------------------
> > > ------
> > > ThinkGeek and WIRED's GeekDad team up for the Ultimate
> > > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> > > lucky parental unit.  See the prize list and enter to win:
> > > http://p.sf.net/sfu/thinkgeek-promo
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > >
> > >
> >
> ------------------------------------------------------------------------------
> > > ThinkGeek and WIRED's GeekDad team up for the Ultimate
> > > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> > > lucky parental unit.  See the prize list and enter to win:
> > > http://p.sf.net/sfu/thinkgeek-promo
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> >
> >
> ------------------------------------------------------------------------------
> > ThinkGeek and WIRED's GeekDad team up for the Ultimate
> > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> > lucky parental unit.  See the prize list and enter to win:
> > http://p.sf.net/sfu/thinkgeek-promo
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
>
>
> --
> virtually, Rob Mensching - http://RobMensching.com LLC
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to