/SetPackageName for merge modules - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: /SetPackageName for merge modules

Hello,

Please note that a merge module does not have a Package Name. It has a Module Name. You can use the SetMsmName command to set it.

For a full list of commands line options for manipulating a merge module you can consult our Merge Module Commands reference guide.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: /SetPackageName for merge modules

Hi Andrew,
I was hoping to change the filename
This is possible by following these steps:
- go to the Module Details page
- add a new property, for example MMNAME and set it to a default name for your merge module
- on the Media Page set the File name filed to:

Code: Select all

[|MMNAME]
Now using the command line option /SetProperty you can set the MMNAME to whatever filename you like for your merge module.

I am afraid the same approach can not be used to set the path. You can however use the move cmdlet to move it to the proper location.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: /SetPackageName for merge modules

Hi Andrew,
Shame I can't set the folder in a similar way... feature request, perhaps?
I have added this improvement on our TODO list and it will be available in a future version of Advanced Installer. Thank you for your suggestion.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”