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
- :
- Still unable to overwrite same file
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
Jul 02, 2009
11:17 AM
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
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
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 06, 2009
02:21 PM
I've also set the EXE I need to overwrite in the RemoveFile setting to InstallMode = 3:
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?
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?