Command Line Build Of A Merge Module - 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!

sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Command Line Build Of A Merge Module

Hello,

I'm a new user. What is the best way to do a command line build of an Advanced Installer Merge Module and have it include either debug exectuables or release executables?

I was reading about /SetProperty but that I think that requires 2 sets of ("mirror") file groups are created in the MSM?

I was curious if -buildname would be useful but I'm unclear on it's usage.

Thanks,
Scott
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Command Line Build Of A Merge Module

Hi Scott and welcome to our forums,
I was reading about /SetProperty but that I think that requires 2 sets of ("mirror") file groups are created in the MSM?
No, using properties is not the solution. What you can try is path variables. Here you can find some CLI commands that allow you to handle them from the command line:
http://www.advancedinstaller.com/user-g ... iable.html
http://www.advancedinstaller.com/user-g ... iable.html

Using multiple builds is not possible for merge modules either, this is possible only for MSI/EXE packages.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Command Line Build Of A Merge Module

So these can be redefined in a /edit command line mode as your example shows. Can these also be passed/redefined then when doing a /build?
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Command Line Build Of A Merge Module

I'm assuming I could use /loadpathvars <path_variables_file_path> when I /build and point either to a debug version of this path variable or release version.
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Command Line Build Of A Merge Module

Hi,
So these can be redefined in a /edit command line mode as your example shows. Can these also be passed/redefined then when doing a /build?
As described in the user guide this command option is only available using /edit.
I'm assuming I could use /loadpathvars <path_variables_file_path> when I /build and point either to a debug version of this path variable or release version.
The recommended way would be to execute a file of commands like described in associated section from the following article:
http://www.advancedinstaller.com/user-g ... -line.html

This way you can use as many /edit command options as you need concluded by a build.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”