使用 Wix 检测已安装的软件
首先,我对 wix 还很陌生。我目前使用的是带有 Votive Visual Studio 插件的 3.0 版本。
我知道现有软件包的升级代码。我需要能够使用特定的升级代码检测此现有程序的安装,并在该程序的版本(我试图检测的版本)等于或小于 1.3.0.0 时停止安装。
任何帮助将不胜感激。
Just to start I'm fairly new to wix. I am currently using version 3.0 with the Votive Visual Studio plug in.
I know the upgrade code of an existing software package. I need to be able to detect the installation of this existing program using the particular upgrade code and halt the installation if the version of this program (the one I am trying to detect) is equal to or less than 1.3.0.0.
Any help would be greatly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用要检测的版本填充 UpgradeTable 并将其分配给属性:
然后在启动条件中使用该属性:
有关更多详细信息:
http://neilsleightholm.blogspot.com/2009/01/launchconditions-findlatedproducts.html
Populate the UpgradeTable with the versions you want to detect for and assign it to a property:
Then use the property in the Launch Condition:
For more details:
http://neilsleightholm.blogspot.com/2009/01/launchconditions-findrelatedproducts.html