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
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Installing from Merge Modules and Custom Code
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Apr 30, 2013
01:51 PM
Installing from Merge Modules and Custom Code
Does anyone use Install Merge Module actions and can you do that using custom code? We have a plan to install from potentially 20 merge modules. The idea is a user would download the merge modules and run a suite installer that would detect the MMs and run them. I can get this to work by hard-coding all 20 of the the Install MM(Install time) actions, each with a file-exists rule. I would like to write some custom code to loop through a list of detected MMs and install them but I can't find any API to do that. The only API references to MergeModule is in BuildDistributionSettings and PropertyFileEncodedLoader. Does anyone have any idea how I can do this?
-Jeff
-Jeff
(2) Replies
‎May 09, 2013
01:19 AM
Hi,
Merge Modules can only be imported (bundled into the installer) by the Advanced Designer, not by the API.
There is no such API references present in present in MergeModule class to install MM through custom code.
Thanks,
Kshirabdhi
Merge Modules can only be imported (bundled into the installer) by the Advanced Designer, not by the API.
There is no such API references present in present in MergeModule class to install MM through custom code.
Thanks,
Kshirabdhi
‎May 10, 2013
10:54 AM
Thanks for the reply but I am not importing the merge modules. I am installing from the merge modules at install time. And you are right, there is no API to do what I want.
This is not the solution I was looking for but it may work for someone: You can specify a directory to the Install Merge Module action and it will install ALL MMs in that directory. So you could copy the user-selected MMs into a temp directory and install them from there.
This is not the solution I was looking for but it may work for someone: You can specify a directory to the Install Merge Module action and it will install ALL MMs in that directory. So you could copy the user-selected MMs into a temp directory and install them from there.