Bor*_*ris 2 wix upgrade version-detection votive
刚开始我对wix很新.我目前正在使用带有Votive Visual Studio插件的3.0版本.
我知道现有软件包的升级代码.我需要能够使用特定的升级代码检测此现有程序的安装,并在该程序的版本(我试图检测的程序)等于或小于1.3.0.0时暂停安装.
任何帮助将不胜感激.
使用要检测的版本填充UpgradeTable并将其分配给属性:
<Upgrade Id="[the upgrade code]">
<UpgradeVersion Minimum="0.0.0.0" Maximum="1.3.0.0" OnlyDetect="yes" Property="FOUND">
</Upgrade>
Run Code Online (Sandbox Code Playgroud)
然后在启动条件中使用该属性:
<Condition Message="Version blah found">FOUND = ""</Condition>
Run Code Online (Sandbox Code Playgroud)
更多细节:
http://neilsleightholm.blogspot.com/2009/01/launchconditions-findrelatedproducts.html