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

ini file for silent installation

Hello,

I am building a single EXE setup (resources inside) and I would like to create an ini file for SILENT (NO UI) installations.

So I can do something like :

myInstaller.exe /q /iniFile="settings.ini"


First of all, can this be done?

If so, what is the syntax / format of the ini file contents?

What are the command line parameters that tell the installer to use the ini file.

Additionally:
I have a prerequisite on SQL_Server that will also need to have Silent (no UI) parameters passed to it
( eg: /q /IACCEPTSQLSERVERLICENSETERMS /ACTION=Install /FEATURES=SQLEngine /INSTANCENAME=SQLEXPRESS /UpdateEnabled=False )

I would also like to specify a log file to put all of the installation output.

Thanks
Mie
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: ini file for silent installation

Hello,

Unfortunately, we don't have built-in command line support to use an INI file containing command line switches.

The silent SQL Server command line parameters you can specify in the "Install Command Line" fields from "Prerequisite Setup Files" tab of your SQL prerequisite, of course after adding the SQL Server as a prerequisite to your main setup project.

To create a log file please have a look over our "Create a log" 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: ini file for silent installation

Thank you for the information.

Then how do I pass command line arguments to the installer?

Thanks
Mike
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: ini file for silent installation

Hello Mike,

To do so you can use installer properties. Please take a look on the "Msiexec.exe Command Line" and "EXE Setup Command Line" articles to see how you can set a property from command line.

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: ini file for silent installation

Thanks Daniel... I will check those out !
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: ini file for silent installation

You're welcome.

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

Return to “Building Installers”