I am preparing a patch for my main version which was already released.
Several of the components contain files that were dynamically linked.
Some of these files are now obsolete and must be removed from the target machine, when the patch is applied.
However - in the RemoveFile Table I need to enter the FileKey, the Component, the DirProperty of each of these files.
However, after observing the msi package of the original main-version release, I have noted that each of these dynamically-linked files has a unique value for each of the fields I have just mentioned.
The files I am interested have the same name (but were installed into different location).
For example, I found that a file has a DirProperty of _3D3474C2B70C4D2AAE176CA794A0F3B5
and a component name of
_9E5B18850EF945C4A92BF5D2321E1EE3
Also, I have noted that the DirProperty value may change for the same component in different builds of the Media (as for media build for a patch).
So I afraid that if a previous patch to my application will be applied (this is the 5th patch I am preparing to this application), the DirProperty will be changed in the cached msi on the target machine.
Isn't there a more-easy was to delete these files ?
Please advice.
Thank you
Igal

