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 removed but not reinstalled on Major upgrade
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
‎Mar 11, 2008
03:58 AM
File removed but not reinstalled on Major upgrade
I'm doing a major upgrade on a previous installation.
Some of the files are new, others are the same as before.
I have added a key path to some component that were present in the previous version.
I have one problem with this. It seems that files that are the same in both installations are removed, but not reinstalled!
If I remove the key path the upgrade works fine.
Can you explain this behavior? Have a look at the component pcdiaspe.exe1
Below is an excerpt of the installer logs:
-------install OK ----
00575: (Server): MSI (s) (A4:EC) [15:45:55:774]: Component: pcdiaspe.exe1; Installed: Absent; Request: Local; Action: Local
01329: (Server): MSI (s) (A4:EC) [15:45:56:400]: Executing op: FileCopy(SourceName=PCDIASPE.EXE,SourceCabKey=pcdiaspe.exe1,DestName=PCDIASPE.EXE,Attributes=16384,FileSize=218171,PerTick=32768,,VerifyMedia=1,,,,,CheckCRC=0,,,InstallMode=58982400,HashOptions=0,HashPart1=-616611509,HashPart2=520328214,HashPart3=893134644,HashPart4=-488401758,,)
01330: (Server): MSI (s) (A4:EC) [15:45:56:400]: File: D:\Data\GEM\PCDIASPE.EXE; Won't Overwrite; Won't patch; Existing file is unversioned and unmodified - hash matches source file
01331: (Server): MSI (s) (A4:EC) [15:45:56:416]: Executing op: FileCopy
02618: (Server): MSI (s) (A4:BC) [15:46:02:385]: Component: pcdiaspe.exe1; Installed: Local; Request: Absent; Action: Null
------- install Not OK -----
00575: (Server): MSI (s) (54:A0) [15:16:23:254]: Component: pcdiaspe.exe1; Installed: Absent; Request: Local; Action: Local
01329: (Server): MSI (s) (54:A0) [15:16:24:050]: Executing op: FileCopy(SourceName=PCDIASPE.EXE,SourceCabKey=pcdiaspe.exe1,DestName=PCDIASPE.EXE,Attributes=16384,FileSize=218171,PerTick=32768,,VerifyMedia=1,,,,,CheckCRC=0,,,InstallMode=58982400,HashOptions=0,HashPart1=-616611509,HashPart2=520328214,HashPart3=893134644,HashPart4=-488401758,,)
01330: (Server): MSI (s) (54:A0) [15:16:24:050]: File: D:\Data\GEM\PCDIASPE.EXE; Won't Overwrite; Won't patch; Existing file is unversioned and unmodified - hash matches source file
01331: (Server): MSI (s) (54:A0) [15:16:24:050]: Executing op: FileCopy
02617: (Server): MSI (s) (54:7C) [15:16:30:805]: Component: pcdiaspe.exe1; Installed: Local; Request: Absent; Action: FileAbsent
Regards,
Michel
Some of the files are new, others are the same as before.
I have added a key path to some component that were present in the previous version.
I have one problem with this. It seems that files that are the same in both installations are removed, but not reinstalled!
If I remove the key path the upgrade works fine.
Can you explain this behavior? Have a look at the component pcdiaspe.exe1
Below is an excerpt of the installer logs:
-------install OK ----
00575: (Server): MSI (s) (A4:EC) [15:45:55:774]: Component: pcdiaspe.exe1; Installed: Absent; Request: Local; Action: Local
01329: (Server): MSI (s) (A4:EC) [15:45:56:400]: Executing op: FileCopy(SourceName=PCDIASPE.EXE,SourceCabKey=pcdiaspe.exe1,DestName=PCDIASPE.EXE,Attributes=16384,FileSize=218171,PerTick=32768,,VerifyMedia=1,,,,,CheckCRC=0,,,InstallMode=58982400,HashOptions=0,HashPart1=-616611509,HashPart2=520328214,HashPart3=893134644,HashPart4=-488401758,,)
01330: (Server): MSI (s) (A4:EC) [15:45:56:400]: File: D:\Data\GEM\PCDIASPE.EXE; Won't Overwrite; Won't patch; Existing file is unversioned and unmodified - hash matches source file
01331: (Server): MSI (s) (A4:EC) [15:45:56:416]: Executing op: FileCopy
02618: (Server): MSI (s) (A4:BC) [15:46:02:385]: Component: pcdiaspe.exe1; Installed: Local; Request: Absent; Action: Null
------- install Not OK -----
00575: (Server): MSI (s) (54:A0) [15:16:23:254]: Component: pcdiaspe.exe1; Installed: Absent; Request: Local; Action: Local
01329: (Server): MSI (s) (54:A0) [15:16:24:050]: Executing op: FileCopy(SourceName=PCDIASPE.EXE,SourceCabKey=pcdiaspe.exe1,DestName=PCDIASPE.EXE,Attributes=16384,FileSize=218171,PerTick=32768,,VerifyMedia=1,,,,,CheckCRC=0,,,InstallMode=58982400,HashOptions=0,HashPart1=-616611509,HashPart2=520328214,HashPart3=893134644,HashPart4=-488401758,,)
01330: (Server): MSI (s) (54:A0) [15:16:24:050]: File: D:\Data\GEM\PCDIASPE.EXE; Won't Overwrite; Won't patch; Existing file is unversioned and unmodified - hash matches source file
01331: (Server): MSI (s) (54:A0) [15:16:24:050]: Executing op: FileCopy
02617: (Server): MSI (s) (54:7C) [15:16:30:805]: Component: pcdiaspe.exe1; Installed: Local; Request: Absent; Action: FileAbsent
Regards,
Michel
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 28, 2008
02:36 PM
Was this ever resolved? I'm having the same issue right now as well. As a note, if I move the location of the file, it will be installed.
It's not set as a "Shared" DLL, btw.
It's not set as a "Shared" DLL, btw.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 28, 2008
03:10 PM
Disregard -- my problem was with my build system!
Dll in product 1.0 was versioned "1.0.802.3"
DLL in product 1.5 (major upgrade) was incorrectly versioned "1.0.0.0"
so the major upgrade removed the old version, but didn't lay down the new version, because it was a lesser version than the old version (which was removed)... very confusing.
Dll in product 1.0 was versioned "1.0.802.3"
DLL in product 1.5 (major upgrade) was incorrectly versioned "1.0.0.0"
so the major upgrade removed the old version, but didn't lay down the new version, because it was a lesser version than the old version (which was removed)... very confusing.