[英]WIX Installer: How to keep previous revisions of same application installed
I installed a revision 1.0 on my system and after some time I make some changes and change the revision to 1.1; 我在系统上安装了修订版1.0,一段时间后,我进行了一些更改并将修订版更改为1.1。 Now when I install the revision 1.1 of the application it asks me to remove the previous revision of the application.
现在,当我安装该应用程序的修订版1.1时,它要求我删除该应用程序的先前修订版。
How I can instruct WIX that it should keep my old revision installed and install the latest revision without any error? 我该如何指示WIX它应保持我的旧修订版本安装并安装最新修订版本而不会出现任何错误?
As long as you are using simple Upgrade
logic, (eg the MajorUpgrade
element is great), you only need to do two things: 只要您使用简单的
Upgrade
逻辑(例如, MajorUpgrade
元素很棒),您只需要做两件事:
Product/@Id
guid. Product/@Id
指南。 That will tell the Windows Installer that you have a new issue of your product. Product/@UpgradeCode
guid. Product/@UpgradeCode
指南。 That will tell the Windows Installer that this product is in a new "family". Now when you install v1.1 it will leave v1.0 alone and you should end up with both entries in the Add/Remove Programs. 现在,当您安装v1.1时,它将保留v1.0,您应该在“添加/删除程序”中都包含两个条目。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.