Questions tagged [major-upgrade]
66 questions
35
votes
6 answers
wix major upgrade not installing all files
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…

Robbie
- 715
- 3
- 10
- 18
12
votes
1 answer
Majorupgrade or Upgrade ID which is preferred for Major upgrade?
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…

Samselvaprabu
- 16,830
- 32
- 144
- 230
11
votes
2 answers
WiX MajorUpgrade of Windows Service, preserving .config, and avoiding a reboot
I am struggling to get MajorUpgrade, ServiceControl, .config files to work nicely together. After my other question, I'm now kinda having the opposite problem again.
Before, the files weren't being overwritten because the AssemblyFileVersions…

Jason Kleban
- 20,024
- 18
- 75
- 125
10
votes
2 answers
Wix major upgrade, replace files regardless of newer file version
My WiX installer (Wix 3.10, MSI 4.5) uses MajorUpgrade for updating. The files to be installed are harvested with heat.exe in pre-build. The current (older) msi file contains a file nlog.dll (which came with a NuGet package v4.1.0) that has a file…

Hannes
- 273
- 3
- 14
5
votes
0 answers
WIX installer: Major upgrade into new installation directory
We use WiX for building installation packages. I am new to WiX technology and currently trying to do a major upgrade of the installed application, but on the different directory location than the previous version. For example, if v2 of a product was…

RajeshDA
- 481
- 2
- 13
4
votes
1 answer
wix Restart Manager successfully shuts down application but says it couldn't
In my wix project, I have a file "connect.exe" that will usually be running during uninstall or update. During uninstallation and major update Wix will prompt before closing with the usual "The following applications should be closed before…

Mikey A. Leonetti
- 2,834
- 3
- 22
- 36
4
votes
3 answers
Doing Major Upgrade in Wix creates 2 entries in Add/Remove Programs
I've followed the official Major Upgrade guide and I seem to be missing something.
Here is my MCVE:

Refael Sheinker
- 713
- 7
- 20
4
votes
2 answers
Detecting MajorUpgrade in Wix 3.8
I am installing all new versions of my software as major upgrades, as the installations are very small and most of the time, all files change anyway.
I would like to skip one dialog in the installer, if an upgrade as compared to a fresh installation…

LeRookie
- 311
- 3
- 12
3
votes
4 answers
Major Upgrade - .exe file not reinstalled
I have a .msi file created by a program called MSICREATE and doctored using orca as follows...
InstallExecuteSequence Table
* added FindRelatedProducts with sequence 410
* added RemoveExistingProducts with sequence 1450
InstallUISequence Table
*…

Mike D
- 2,753
- 8
- 44
- 77
3
votes
2 answers
Adding entries to MSI UpgradeTable to remove related products
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…

harper
- 13,345
- 8
- 56
- 105
3
votes
2 answers
Why Major Upgrade does not upgrade previous Per-Machine installation?
I am using Wix 3.5 with new Major Upgrade feature, I am also using WixUI_Advanced to allow user to choose between Per User (default) or Per Machine installation scope.
The Major Upgrade works fine with per-user installation scope when installing the…

Huy Nguyen
- 81
- 6
2
votes
0 answers
How to know if package is compatible with current version of React? (Installing latest package versions without upgrading to React 18)
I'd like to update the following packages in the project to new major releases without upgrading to the latest version of React:
Zustand (3.7.1 -> 4.1.1)
React Router (5.2.0 -> 6.3.0)
Framer Motion (6.2.1 -> 7.3.2)
Chakra UI (1.8.3 -> 2.3.2)
The…

ellis
- 181
- 10
2
votes
2 answers
how to make WIX not to delete particular files while performing major upgrade
I have two components in which one component have simple.exe and another component has sample.dll in one MSI. If i install MSI both simple.exe and sample.dll will install and in program files under some folder it is having two one is .exe and .dll.…

saran
- 41
- 1
- 1
- 8
2
votes
1 answer
Setting Minor or Major Upgrade within InstallScript Project
I'm using InstallShield 2012 Spring - Premier Edition and I'm trying to replace the existing install of our software (if it exists) with whatever is in the new Setup script when Setup script is run again.
I have read some things online that say to…

Grapefruit
- 21
- 4
2
votes
1 answer
Wix/MSI - Major Upgrade in silent mode
I have an installer with upgrade support from our previous version:

Roman Kuzyk
- 241
- 3
- 15