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

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
Labels (1)
0 Kudos
(2) Replies
schmoli
Level 6

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.
0 Kudos
schmoli
Level 6

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.
0 Kudos