Thank you Neil and Tobias, that website helped me understand what the bug fixes 
meant in v3.5
(I had originally just thought it just worked out of the box for some reason, I 
should have read more about those bugs =])
So now it works great - thanks again

-----Original Message-----
From: Tobias S [mailto:tobias.s1...@gmail.com] 
Sent: Saturday, March 26, 2011 9:21 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WiX v3.5 and DTF using .NET 4

I read about that, as stated by Neil,
useLegacyV2RuntimeActivationPolicy must be set to true to prevent
issues 
(http://siderite.blogspot.com/2010/07/msi-custom-action-error-2896-on-windows.html).

But if I want the code not to run on FW 2.0 is it possible to not
allow the Runtime by commenting the supportedRuntime version 2.0 in
the .config: ?

 <?xml version="1.0"?>
 <configuration>
   <startup useLegacyV2RuntimeActivationPolicy="true">
     <supportedRuntime version="v4.0" />
    <!-- <supportedRuntime version="v2.0.50727"/> -->
   </startup>
 </configuration>

In this case I assume to be sure that the 4.0 code runs on 4.0 without
issues and on 2.0 not. Even normally this should work I'd like to
suppress the residual risk.


Regards,
Tobias



2011/3/26 Neil Sleightholm <n...@x2systems.com>:
> I am targeting .Net 4 with DTF and have not seen an issue. IIRC
> correctly you do need to make an alteration to the .config file as
> follows:
>  <?xml version="1.0"?>
>  <configuration>
>    <startup useLegacyV2RuntimeActivationPolicy="true">
>      <supportedRuntime version="v4.0" />
>      <supportedRuntime version="v2.0.50727"/>
>    </startup>
>  </configuration>
>
> Neil
>
> -----Original Message-----
> From: Paden, Patrick [mailto:patrick.pa...@wolterskluwer.com]
> Sent: 25 March 2011 22:58
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] WiX v3.5 and DTF using .NET 4
>
> I know it is supposed to work (saw the fixed bugs on it) but I needed a
> sanity check just to confirm with someone else that using WiX v3.5 and
> DTF with targeted .NET framework of 4.0, that it works for them and I
> must be doing something wrong =]
>
> ------------------------------------------------------------------------
> ------
> Enable your software for Intel(R) Active Management Technology to meet
> the growing manageability and security demands of your customers.
> Businesses are taking advantage of Intel(R) vPro (TM) technology - will
> your software be a part of the solution? Download the Intel(R)
> Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to