major-upgrade

Wix doesn't remove previous version of burn exe during major upgrade

旧巷老猫 提交于 2019-12-02 16:11:20
问题 I have created a wix exe using burn bootstrapper. When I try to do a major upgrade on it, the new version gets installed. The features missing in the new upgrade are also removed from the existing folder structure. But in "Add or Remove Programs" I can still find both the installations. I have incremented the version from 1.0.0.0 to 1.0.1.0 in Bootstrapper project's Bundle.wxs file. I have also incremented the version in Setup project's Product element from 1.0.0.0 to 1.0.1.0. I didn't change

Update and retain web.config file during upgrade in wix installer

时光总嘲笑我的痴心妄想 提交于 2019-12-02 14:13:31
问题 What is the standard way to handle web.config files during major upgrade.I'm aware how the unversioned files are handled during upgrade,the file will not be replaced if the file has been modified by the user. Is there a way to deal with the scenario where in there are new entries added to config file bundled with the latest installer that needs to be installed,and also retain the existing entries modified by the user during major upgrade in Wix. 回答1: The simple solution that a lot of my

how to change from per user to all user installation?

送分小仙女□ 提交于 2019-12-01 08:53:21
问题 For our msi , we did not mention allusers property in existing releases. so by default it went as per user. Our customers installed the application using an admin user id and that admin left the company. So his user id is no more in valid condition. Now they are unable to migrate to newer version using another admin account (as it was installed as per user). Though we can change our msi to support allusers ,it would not work in migration (major upgrade). It seems like only when we give total

Upgrading a WiX generated package with major version zero

你说的曾经没有我的故事 提交于 2019-11-29 17:23:40
Recently I released a package versioned 0.8.3 and I'm ready to release a new package now. I was, however, struggling to implement a Major Upgrade / Upgrade . It seemed like the WIX_UPGRADE_DETECTED variable was never populated. Then I ran across WiX3 major upgrade not working where the accepted answer states that: All setup versions (again, not file versions) must be 1.0 or greater. And indeed temporarily bumping the major version of both packages to 1 seemed to fix the issue. However I can't retroactively change the version of the old package as it is already installed on thousands of

How to prevent Wix from installing an older version?

[亡魂溺海] 提交于 2019-11-29 16:54:58
I have an application that we are switching over to a WiX installer. So far almost everything seems to be going well. The one problem I'm having is that if an older version is downloaded and attempted to install, it does so. And that's a bit of a problem. If there is a newer version installed I don't want it to install the older version. I thought the problem was with the "Upgrade" component but I must admit I've hit a wall. How can I change it so that the older versions see there is a newer version already installed and not install it? My test product is now in version 2.4 (the newest version

Majorupgrade or Upgrade ID which is preferred for Major upgrade?

空扰寡人 提交于 2019-11-29 04:19:13
We are trying to do Major upgrade. While i was investigating i found 2 approaches. One is using Upgrade Id and another one approach was Majorupgrade tag. It seems Majorupgrade is easy to do it seems. But schedule doesn't contain any before installinitialize action. I am not sure which should be using . Which one is preferred [and recommended] mostly? The MajorUpgrade element was introduced in wix 3.5 to simplify what you would normally do with the Upgrade element. So that instead of something like this: <!– Major upgrade –> <Upgrade Id="$(var.UpgradeCode)"> <UpgradeVersion Minimum="$(var

Upgrading a WiX generated package with major version zero

南笙酒味 提交于 2019-11-28 11:49:57
问题 Recently I released a package versioned 0.8.3 and I'm ready to release a new package now. I was, however, struggling to implement a Major Upgrade / Upgrade . It seemed like the WIX_UPGRADE_DETECTED variable was never populated. Then I ran across WiX3 major upgrade not working where the accepted answer states that: All setup versions (again, not file versions) must be 1.0 or greater. And indeed temporarily bumping the major version of both packages to 1 seemed to fix the issue. However I can't

Majorupgrade or Upgrade ID which is preferred for Major upgrade?

Deadly 提交于 2019-11-27 22:25:38
问题 We are trying to do Major upgrade. While i was investigating i found 2 approaches. One is using Upgrade Id and another one approach was Majorupgrade tag. It seems Majorupgrade is easy to do it seems. But schedule doesn't contain any before installinitialize action. I am not sure which should be using . Which one is preferred [and recommended] mostly? 回答1: The MajorUpgrade element was introduced in wix 3.5 to simplify what you would normally do with the Upgrade element. So that instead of

wix major upgrade not installing all files

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-27 13:07:23
I have a very simple WiX project (version 3.7) that installs somes files (a .NET program version 6.0.0.0). I'm ready to release a new version 6.0.1.0 using the MajorUpgrade functionality in WiX. I'm keeping the UpgradeCode the same in the Product element and I change the Version from 6.0.0.0 to 6.0.1.0 <Product Id="*" Name="MyApp" Version="6.0.1.0" Manufacturer="Me" UpgradeCode="$(var.TheUpgradeCodeGUID)"> On a machine with 6.0.0.0 installed, I run the new installer. The removal of the old version 6.0.0.0 runs ok (all installed files are being removed), but when the installer continues to

Adding entries to MSI UpgradeTable to remove related products

杀马特。学长 韩版系。学妹 提交于 2019-11-27 09:52:12
A WiX installer product node has an attribute UpgradeCode . It is used to refer to previous versions of the same product. The value is stored in the UpgradeTable . The UpgradeTable is parsed by the FindRelatedProducts action. The UpgradeCode allows to remove previous products with the same UpgradeCode . But the plan is to integrate several outdated legacy product to a combined single product. The UpgradeCode of this legacy product is known. I hope adding this code to the UpgardeTable will remove this legacy product too. this can be done by filling the UpgradeTable. How can I add more entries