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!

MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Invalid command line

Daniel,

I received notice that a newer verison of the manager is available for download.
When i selected download now, the manager update began. During the update a "Invailed compand line" error occured.

I have attached the Updater.aip for inspection.

Why would I get this error?
InvalidCommandline.png
InvalidCommandline.png (60.43 KiB) Viewed 8251 times
Attachments
Manager_Updater.aip
(1.63 KiB) Downloaded 439 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Invalid command line

Hello Mike,

Did you build the "Manager.3.0.223.0.api.1.0.Setup.258.exe" updates setup with Advanced Installer? If so, then please note that the command line you are trying to pass to it is not correct.

Code: Select all

/q /IACCEPTSQLSERVERLICENSETERMS /ACTION=Install /FEATURES=SQLEngine /INSTANCENAME=SQL_EXPRESS /UpdateEnabled=False
This looks like a SQL Server setup command line type.

You can find all the supported command line options of our EXE bootstrapper in our "EXE setup file" article.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Invalid command line

Daniel,

Yes I did build the Manager setup with AdvancedInstaller ( I love your product btw )

And yes that is a SQL server command line...

My question is how does that command line get called from your setup? ( it's in the manager setup - see attached )
SQL Prerequisite command line
SQL Prerequisite command line
SQL_CommandLine.PNG (46.58 KiB) Viewed 8242 times
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Invalid command line

In addition, I already have an MSI command line... how does that affect the install?

see this:
msi_CommandLine.PNG
msi_CommandLine.PNG (72.46 KiB) Viewed 8242 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Invalid command line

Hello Mike,
My question is how does that command line get called from your setup? ( it's in the manager setup - see attached )
Yes, the command line which the SQL Server prerequisite will be called with is stored in the main installation setup. There is no need for you to pass this command line at install time to the main installation setup file.
In addition, I already have an MSI command line... how does that affect the install?
Our EXE boostrapper is a wrapper over an MSI installation database. So when you build an EXE package type the EXE bootstrapper will contain embedded (or next to it) an MSI installation database. At runtime the EXE setup launches its MSI. The option from our "Builds page -> Configuration tab" allows you to specify a default command line which the MSI will be launched with by the EXE wrapper setup.

If you have any questions or doubts just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Invalid command line

Thank you so much !
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Invalid command line

You're always welcome Mike.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”