Wix安装程序中判断是否安装的.net framwork 4.5

Wix安装程序中判断是否安装的.net framwork 4.5

<PropertyRef Id="NETFRAMEWORK40FULL"/>
<PropertyRef Id="NETFRAMEWORK45"/>

<Condition Message='This setup requires Microsoft .NET Framework 4.0 Full package or greater needs to be installed for this installation to continue.'>
  <![CDATA[Installed OR NETFRAMEWORK40FULL]]>
</Condition>
<Condition Message='This setup requires Microsoft .NET Framework 4.5 package or greater needs to be installed for this installation to continue.'>
  <![CDATA[Installed OR NETFRAMEWORK45]]>
</Condition>

 

http://wixtoolset.org/documentation/manual/v3/customactions/wixnetfxextension.html

 

原文:

http://stackoverflow.com/questions/16302626/how-can-i-check-net-framework-4-5-prerequestics-in-wix

posted @ 2016-04-14 23:03  遥望星空  阅读(1412)  评论(0编辑  收藏  举报