Hi,
I forgot to mention that this needs to be done in the merge module (because you need access to the component(s) of the merge module). For this, you can edit the merge module with Orca (since it is not created by you).
In order to add the search to the MSM file you open it with Orca and add the tables "AppSearch", "Signature" and "DrLocator". In the "AppSearch" table you add this property:
Code: Select all
Property Signature_
RESULT_PROPERTY.GUID FileSearchSign.GUID
where "GUID" is the GUID of the merge module.
In the "Signature" table you add this signature:
where "my_file" is a file which is present only if the merge module is installed.
Also, you need to add the "DrLocator" table and add a signature similar to this:
Code: Select all
Signature Path Depth
FileSearchSign.GUID [CommonFilesFolder] 0
This will search the file in the "Program Files\Common Files" folder with the depth 0. Now you can use "RESULT_PROPERTY.GUID" as a condition for the components of the merge module.
Note that "GUID" must be replaced by the actual GUID of the merge module.
A simpler solution is to use patches to upgrade your installation. This way, the merge module will not be uninstalled. You can read more about patches here:
http://www.advancedinstaller.com/user-g ... patch.html
http://www.advancedinstaller.com/user-g ... tches.html
http://www.advancedinstaller.com/user-g ... oject.html
Regards,
Cosmin
FOLLOW US
Get the latest news in Application Packaging