[wix-users] MultiInstance upgrade tries to remove the wrong (default) windows service
osito at live.com
Sat Dec 21 13:09:50 PST 2019
The mailing lists strip attachments. Please provide links to the logs posted somewhere accessible.
Get Outlook for Android<https://aka.ms/ghei36>
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Valentijn Makkenze via wix-users <wix-users at lists.wixtoolset.org>
Sent: Friday, December 20, 2019 5:07:10 AM
To: wix-users at lists.wixtoolset.org <wix-users at lists.wixtoolset.org>
Cc: Valentijn Makkenze <V.Makkenze at vicrea.nl>
Subject: [wix-users] MultiInstance upgrade tries to remove the wrong (default) windows service
We have a MultiInstance setup which seemed to work fine for many years, but now we have a newer version where a windows services has been removed. (in the past we only added stuff)
During an upgrade all files are removed but not the windows service, the setup does try to remove a windows service but that is the default one not the instance one.
I stripped the setup to a bare minimum and created two version V1 and V2 where V2 doesn't have the serviceinstall
msiexec /I NSRServerComponenten.msi MSINEWINSTANCE=1 TRANSFORMS=:Instance1 MYINSTANCE="NSR" INSTALLDIR="D:\Temp\UpgradeSequence" /l*v install.log
Upgrade to V2
msiexec /I NSRServerComponenten.msi MSINEWINSTANCE=1 TRANSFORMS=:Instance1 MYINSTANCE="NSR" INSTALLDIR="D:\Temp\UpgradeSequence" /l*v upgrade.log
I included the upgrade log but it's a bit overwhelming for me.
After a lot of searching it seems that I'm not the only one but I found no solution.
Any tips are welcome,
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users