WiX: Old versions don't disappear in Add/Remove Programs list

后端 未结 3 1821
心在旅途
心在旅途 2021-02-20 05:24

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 s

3条回答
  •  野性不改
    2021-02-20 05:45

    An addendum to this - if the RemoveFeatures attribute of MajorUpgrade is included, and names specific features to remove from the previous install (but not all of the features), that will cause the previous entry to remain in Add/Remove programs. If RemoveFeatures is not included, all the features of the previous install will be removed, including the entry in Add/Remove programs.

提交回复
热议问题