cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ErichZ
Level 2

Patch Issue: Force Overwrite of Exact Same File?

Background: I have an executable with logic built around it's Modify Date.

Problem: despite setting the "Always Overwrite" flag on the file, the Patch does not over write it. It will install correctly, but verification of the date stamp on the file proves it has not actually changed.

I've played with the MSI paramaters ('emus' instead of 'omus') but that didnt' seem to help.

I hope this has a simple solution. I appreciate all your feedback.

Thanks,
Erich
Labels (1)
0 Kudos
(1) Reply
ErichZ
Level 2

I've also set the EXE I need to overwrite in the RemoveFile setting to InstallMode = 3:

Constant Description
msidbRemoveFileInstallModeOnInstall 1 Remove only when the associated component is being installed (msiInstallStateLocal or msiInstallStateSource).
msidbRemoveFileInstallModeOnRemove 2 Remove only when the associated component is being removed (msiInstallStateAbsent).
msidbRemoveFileInstallModeOnBoth 3 Remove in either of the above cases.

Rummaging through a variety of internet sources indicates this is a common problem, and I can find software that seems to be designed to do exactly this, but I suspect IS should be able to as well.

Any thoughts?
0 Kudos