cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
clhug42
Level 4

File not getting overwritten on Upgrade, but log file says it IS

I've got this file that is supposed to get overwritten with a new version on an upgrade. Basic MSI project. It's a Major upgrade and it's set to uninstall the old version first then install the new version.

It's an unversioned .xml file. It is it's own Component, with the file set as the key file, and is set to Always Overwrite.

It also not because the file has been modified as a user data file (i.e., modified date different than created date). It's a config file, but it's never modified after installing, and I've verified manually that the old file has the created and modified date matching.

Below are the lines associated with this file from the verbose log file during the upgrade install. From these log entries it looks to me like the file SHOULD indeed be getting installed, but it is just not there when the install completes!

Any ideas?

Thank you!!



MSI (s) (44:C4) [10:38:23:046]: Component: installed_products.xml; Installed: Absent; Request: Local; Action: Local


MSI (s) (44:C4) [10:39:35:171]: Executing op: ComponentRegister(ComponentId={130056E3-B66F-4908-B5CE-43E04E1E2887},KeyPath=C:\Program Files\Principal\MktgIllus\FPW\installed_products.xml,State=3,,Disk=1,SharedDllRefCount=2,BinaryType=0)



MSI (s) (44:C4) [10:39:52:015]: Executing op: FileCopy(SourceName=INSTAL~1.XML|installed_products.xml,SourceCabKey=installed_products.xml,DestName=installed_products.xml,Attributes=16384,FileSize=176,PerTick=32768,,VerifyMedia=1,,,,,CheckCRC=0,Version=65535.0.0.0,,InstallMode=58982400,,,,,,,)
MSI (s) (44:C4) [10:39:52:031]: File: C:\Program Files\Principal\MktgIllus\FPW\installed_products.xml; Overwrite; Won't patch; New file versioned - existing file unversioned
MSI (s) (44:C4) [10:39:52:031]: Source for file 'installed_products.xml' is compressed
MSI (s) (44:C4) [10:39:52:031]: Re-applying security from existing file.
MSI (s) (44:C4) [10:39:52:031]: Verifying accessibility of file: installed_products.xml
MSI (s) (44:C4) [10:39:52:062]: Note: 1: 2318 2: C:\Program Files\Principal\MktgIllus\FPW\installed_products.xml
Labels (1)
0 Kudos
(1) Reply
clhug42
Level 4

Never mind! I'm an idiot. I had a custom action that was deleting the file after it got installed on upgrades. I'll save the explanation of what I thought I was doing with that.
0 Kudos