I’m seeing some strange behavior with a minor upgrade.
1. I added around 15 new files in a minor update to existing features.
2. When I do install all new files are installed and when I remove all the new files are removed properly, as expected.
3. But, when I am doing re-install, in few directories new files are not getting installed. Reinstall is copying new files only in few locations but not all files.
I checked the install logs from reinstall, SELMGR is detecting new files properly, no error reported.
Log traces for one of such file.
MSI © (6C:6C) [15:25:10:102]: SELMGR: New components have been added to feature 'CLIENT'
MSI © (6C:6C) [15:25:10:102]: SELMGR: Component 'DWFPreviewHandler1.dll.171FE5FE_1840_4392_99F5_2A2AC68D829B' is a new component added to feature 'CLIENT'
.
.
MSI (s) (3C:34) [15:25:16:649]: File = DWFPreviewHandler1.dll.171FE5FE_1840_4392_99F5_2A2AC68D829B: Final State = Install
.
MSI (s) (3C:34) [15:25:16:962]: {E332DF6E-FD87-4477-971B-7C6145333F1E} File: DWFPreviewHandler1.dll.171FE5FE_1840_4392_99F5_2A2AC68D829B ValData: 1.1.0.0 0 33280
.
.
MSI (s) (3C:34) [15:25:32:618]: The file represented by File table key 'DWFPreviewHandler1.dll.171FE5FE_1840_4392_99F5_2A2AC68D829B' has no eligible binary patches
Till now everything is fine, there should be installfiles entry to overwrite this file which is not present.
However, in the first install log the file entry is present under function InstallFiles but during reinstall there is nothing
Below is Log entry from first install
MSI (s) (3C:58) [15:11:34:398]: Executing op:
FileCopy(SourceName=DWFPH1.dll|DWFPreviewHandler.dll,SourceCabKey=DWFPreviewHandler1.dll.171FE5FE_1840_4392_99F5_2A2AC68D829B,DestName=DWFPreviewHandler.dll,Attributes=4608,FileSize=33280,PerTick=65536,,VerifyMedia=1,,,,,CheckCRC=0,Version=1.1.0.0,Language=0,InstallMode=59768832,,,,,,,)
InstallFiles: File: DWFPreviewHandler.dll
I’ve searched complete registry for files and components under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components and other places but no footprint left after removal.
Any help would be appreciated.
Thanks,
Mayank