[wix-users] Update version number not via MSI / uninstall same-upgrade-code MSI when uninstalling

Nir Bar nir.bar at panel-sw.com
Sun Oct 3 03:25:54 PDT 2021

The best-practice solution would be to use a patch package (.msp) for the hotfix instead of the custom mechanism you're using

The patch package includes only changed and added files, so it is small in size

Additionally, it updates the version number to the new one without needing to hide and add any entry

See https://docs.microsoft.com/en-us/windows/win32/msi/patch-packages


Nir Bar

WiX Expert

---- On Sun, 03 Oct 2021 11:33:40 +0300 Alon Dean via wix-users <wix-users at lists.wixtoolset.org> wrote ----

I know the title may be confusing, so let me explain what I'm trying to 
(At my work) I created a hybrid MSI - It does *some* of the installation 
operations, and the rest of the operations are being performed by custom 
This was done as part of my task of embedding a software-update mechanism 
to our application (using squirrel.windows) 
The problem is that when an update occurs, it doesn't involve the MSI in 
any way - so the client gets a new version (not via MSI), and the MSI 
doesn't reflect that in the version number at the control panel (from the 
So I need to find a solution for that... 
I've seen this SO question and the answers to it: 
I don't want to hack the registry for that, what I would like to do is: 
Create another small MSI, with a version number that will be changed 
according to the update's version number. 
Once an update is installed, this MSI will also be installed, adding an 
entry to the control panel with the *correct* version number. 
Then, I'll need to hide the 'main' MSI from the control panel. 
My problem is: how to make the new, small MSI uninstall the 'main' MSI once 
I know this is related to the upgrade code but not sure how to accomplish 
And overall, would you say, given the assumption that my updates' framework 
doesn't involve the MSI, that I'm taking the right approach? 
Any help would be much appreciated 
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

More information about the wix-users mailing list