Summary
Alternative Method to Changing Merge Module DestinationSynopsis
Currently, in the Redistributables view, it is possible to change the destination of a merge module by accessing the merge module properties and changing the Destination field. This redirects all files within the merge module that were set to install to INSTALLDIR to the new directory you specify.
Some merge modules cannot be redirected using this method because custom actions within those merge modules subsequently fail. This article discusses an alternative method to changing the merge module destination that allows these custom actions to work correctly.
Discussion
The standard method of changing a merge module's destination is to follow these steps:
- Select the Redistributables view.
- Select a merge module from the list by checking the check box to the left of the module.
- Once selected, right-click the merge module and select Properties.
- In the Destination field of the Merge Module Properties dialog, select another location from the drop-down box.
- Rebuild the project.
The above method works for the majority of merge modules and is the most commonly used method of redirecting the destination of merge modules.
Certain merge modules, such as a specific version of Microsoft's Speech SDK Merge Module, contain custom actions that have been known to fail when the above method is used to change the destination location. In these instances, the following steps should be followed to change the destination location instead of the steps mentioned above:
- Select the Custom Actions view.
- Create a new custom action with the following properties:
Type: Set a property (Type 51)
Source: TARGETDIR
Target: <Path of your choice>
- Insert this custom action after CostInitialize in the User Interface sequence.
- Insert this custom action after CostInitialize in the Execute sequence.
The above steps set TARGETDIR equivalent to INSTALLDIR, thereby resolving this problem with certain merge modules.
Additional Information
Additional information on the User Interface and Execute sequences can be found in Help Library topic Installation Sequence.
Additional information on creating custom actions can be found in Help Library topic Creating Custom Actions in the Custom Actions and Sequences View (or the Custom Actions View).
Related Articles
Add a Custom Merge Module to an InstallShield Project 16Number of Views Where can I get Merge Module updates? 8Number of Views MDAC 2.8 Merge Module 4Number of Views MDAC 2.5 Merge Module 3Number of Views Information on Merge Module 4Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago