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!

elou
Posts: 96
Joined: Tue Apr 14, 2015 9:12 am

How to customize command line parameters

Hello guys,
my installer will be called from an already deployed programme. That deployed programme is calling the setup.exe (made with Advanced Installer) to install a new application (or upgrade it).
Now, the deployed application is calling the setup.exe file with some command line options like "/D:filename" which should be intepreted by setup.exe and I could not modify the deployed programme.
Is there a way to make the bootstraped installer to accept any command line options (as a property for example)?
Regards,
Éric.
Irina
Posts: 113
Joined: Mon Apr 27, 2015 11:42 am

Re: How to customize command line parameters

Hello Éric,

Unfortunately, we do not have support for accepting such command line options in our bootstrapper.

A suggestion would be to make you own wrapper application (over your setup.exe) that will accept a command line parameter like the one mentioned by you and call the embedded setup.exe with a command line which sets an installer property to your original parameter like this:

setup.exe MY_PROP="/D:filename"

Please take a look on our "EXE setup file" article to check the full list of command line parameters accepted by our EXE bootstrapper.

Kind regards,
Irina
Ecaterina Irina Grosu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”