Setting Bootstrapper filename via command line? - 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!

canhuth
Posts: 241
Joined: Thu Jun 19, 2008 9:03 am

Setting Bootstrapper filename via command line?

Hello everyone.

Is it possible to set the bootstrapper file name via command line?

With best regards

Clemens Anhuth
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Setting Bootstrapper filename via command line?

Hi Clemens,

In Advanced Installer you can set the name of bootstrapper through the command line by using /SetPackageName. First you need to go to the Bootstrapper tab of the Media page and check the Create EXE setup file option. After this you can use a command which looks like this:

Code: Select all

"C:\Program Files\Caphyon\Advanced Installer 6.4\AdvancedInstaller.com" /edit "C:\MyProject.aip" /SetPackageName MyCustomName.exe -buildname DefaultBuild
where you replace "C:\MyProject.aip" with the path to your project.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
canhuth
Posts: 241
Joined: Thu Jun 19, 2008 9:03 am

Re: Setting Bootstrapper filename via command line?

Hello Cosmin,

thanks for the information. The documentation doesn't mention that this command sets the .exe filename when the bootstrapper is enabled. I was afraid it would set the "internal" msi package name only, but not the .exe name. I guess I should have tried here too, but maybe the documentation can be explicit on this.



With best regards

Clemens Anhuth
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Setting Bootstrapper filename via command line?

Hi Clemens,

We have made the necessary modifications in the Help file. Beginning with the 6.5 version the Advanced Installer documentation will specify that the /SetPackageName command can set the bootstrapper name. Thank you for your suggestion.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”