[wix-users] Minor Upgrade not copying newer files

Hoover, Jacob Jacob.Hoover at greenheck.com
Mon Sep 16 13:30:42 PDT 2019


https://docs.microsoft.com/en-us/windows/win32/msi/changing-the-product-code?redirectedfrom=MSDN

The GUIDs generated should be stable. Though I personally only use * and let wix handle the stable GUID generation.

>From what limited info you have included, it seems to me that you didn't change the product code so Windows Installer isn't seeing this as a major upgrade.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Vanniekerk, Tyrel (GE Healthcare) via wix-users
Sent: Monday, September 16, 2019 2:11 PM
To: Rob Mensching <rob at firegiant.com>; WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Vanniekerk, Tyrel (GE Healthcare) <tyrel.vanniekerk at ge.com>
Subject: Re: [wix-users] Minor Upgrade not copying newer files

The bundle log file shows that it's a MajorUpgrade (in OnPlanRelatedBundle), but then later it shows MinorUpgrade, so I assume that's an issue.  The MSI log file shows that it's running elevated.

Planned package: MuseSetup, state: Present, default requested: Present, ba requested: Present, execute: MinorUpgrade, rollback: None, cache: Yes, uncache: No, dependency: Register Planned related bundle: {70a9375e-e37f-43c4-896f-7a49933980b7}, type: Upgrade, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, dependency: None

Just before it starts to list all the components and what actions it's going to take, it has:
MSI (s) (40:7C) [12:50:08:659]: Feature: MuseServer; Installed: Advertise;   Request: Reinstall;   Action: Reinstall

Not sure why it says "Advertise", but the action looks like it's going to reinstall.  It then skips updating any files, but runs all the custom actions like normal.

I assume the GUID for each component only gets used for repair and modify, right?  Because those get updated every time you run Heat.

It's also not really an options to uninstall the product manually because if they click cancel, then the product was uninstalled already.

Thanks,
Tyrel

-----Original Message-----
From: Rob Mensching <rob at firegiant.com>
Sent: Monday, September 16, 2019 11:45 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Vanniekerk, Tyrel (GE Healthcare) <tyrel.vanniekerk at ge.com>
Subject: EXT: RE: Minor Upgrade not copying newer files

This isn't WiX behavior. It's Windows Installer behavior. That log file should provide more information (higher in the log file) why your Components were being disabled.

_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Vanniekerk, Tyrel (GE Healthcare) via wix-users
Sent: Monday, September 16, 2019 7:23 AM
To: wix-users at lists.wixtoolset.org
Cc: Vanniekerk, Tyrel (GE Healthcare) <tyrel.vanniekerk at ge.com>
Subject: [wix-users] Minor Upgrade not copying newer files

Hi,

We recently switched from InstalleShield to WiX Toolset and released our product a while ago.  Now it's time for service pack one, so the version number went from 10.1.0.0 to 10.1.1.28382, something like that.  The upgrade succeeds, but it appears that none of the files got updated.  I just see messages like the one bellow for each file, it seems like it 's deciding to do nothing?  The DLL version numbers are larger.

Do I have to manually do something to convince WiX to update the files?

MSI (s) (10:4C) [08:49:41:503]: Component: Core.Utilities.dll; Installed: Local;   Request: Null;   Action: Null

Thanks,
Tyrel

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.



More information about the wix-users mailing list