custom exe startup args removes command line value set in UI - Advanced Installer Community
smljoju
Posts: 41
Joined: Fri Jun 27, 2014 1:36 pm

custom exe startup args removes command line value set in UI

I'm having an issue whenever I add arguments to my installer, for example I add /qb argument, this will mess my MSI Command Line value (Media -> Configuration tab), is there a way to add custom exe startup args but at the same time retain the MSI Command Line set in the AI UI?

edit: I see now as mentioned here (http://www.advancedinstaller.com/user-g ... -file.html)
This command line overrides the one specified in the "Install Options" from the Configuration Settings Tab.
Is there a way to combine the two?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: custom exe startup args removes command line value set i

Hello and welcome to Advanced Installer forums,

When passing proprietary command line parameters to an EXE setup you cannot mix them with the standard MSI ones.
The correct order is to first specify the proprietary EXE switches and then the standard MSI switches.

For example, a correct command line would be:

Code: Select all

Setup.exe /exenoui /qn 
Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”