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
- :
- Re: Is there a way to force overwrite text/binary file if harsh match
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
Dec 15, 2010
12:53 PM
Is there a way to force overwrite text/binary file if harsh match
I have an installer that needs build to build upgrade.
For fresh install, it install a set of file.
For build to build upgrade (using setup.exe), there are non versioned files.
I have 3 conditions for upgrade install for files with no version:
1. Component 1 Overwrite files with modified timestamp (hash not changed)
Won't Overwrite; Won't patch; Existing file is unversioned and unmodified - hash matches source file
2. Component 2 Overwrite files that are modified (hash changed)
Won't Overwrite; Won't patch; Existing file is unversioned but modified
3. Component 3 do not overwrite files (never overwrite=yes)
Is there a way to have this in msi technology without writing custom action?
Can this be done without custom action?
For fresh install, it install a set of file.
For build to build upgrade (using setup.exe), there are non versioned files.
I have 3 conditions for upgrade install for files with no version:
1. Component 1 Overwrite files with modified timestamp (hash not changed)
Won't Overwrite; Won't patch; Existing file is unversioned and unmodified - hash matches source file
2. Component 2 Overwrite files that are modified (hash changed)
Won't Overwrite; Won't patch; Existing file is unversioned but modified
3. Component 3 do not overwrite files (never overwrite=yes)
Is there a way to have this in msi technology without writing custom action?
Can this be done without custom action?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 16, 2010
12:40 AM
As per the MSI, the version/hash check are applicaple only for the versioned files. Here there will be no need for the custom actions.
Incase of the non-versioned files, without custom actions it is quite difficult.
Incase of the non-versioned files, without custom actions it is quite difficult.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)