This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- File not getting overwritten on Upgrade, but log file says it IS
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 29, 2010
01:52 PM
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
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
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 29, 2010
02:09 PM
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.