WiX:旧版本不会在“添加/删除程序"列表中消失 [英] WiX: Old versions don't disappear in Add/Remove Programs list
问题描述
我有一个Windows服务,可以通过WiX安装和升级,并且效果很好(非常快!).唯一的问题是,如果我从1.0升级到1.1,则两个副本仍在添加/删除程序"列表中具有条目.
I have a Windows Service that I install and upgrade with WiX, and this works great (it's very fast!). The only problem is that if I upgrade from, say, 1.0 to 1.1, both copies still have entries in the Add/Remove Programs list.
那么当执行更新时,如何确保WiX在添加/删除程序"列表中删除其旧/过时的条目?
So how can I make sure WiX removes its old/outdated entries in the Add/Remove Programs list when I perform an update?
推荐答案
创建主要升级.例如,使用WiX v3.5中的MajorUpgrade元素. http://www.joyofsetup.com/2010/01/16/major-upgrades-now-easier-than-ever/
Create a major upgrade. For example, use the MajorUpgrade element in WiX v3.5. http://www.joyofsetup.com/2010/01/16/major-upgrades-now-easier-than-ever/
这篇关于WiX:旧版本不会在“添加/删除程序"列表中消失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!