cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
CChong
Level 11 Flexeran
Level 11 Flexeran

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?
Labels (1)
0 Kudos
(1) Reply
GetExp
Level 6

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