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!

aho
Posts: 58
Joined: Thu Jul 21, 2016 4:38 pm

Prerequisites - Use Parameters for 'Install Command Lines'

Hi,
I am installing SQL Server as a prerequisite. Since users shall not be able to change settings during SQL Server Setup, silent mode is used. This is working so far.

Only the install directory of SQL Server should be editable.
I thought of placing a parameter inside the 'Install Command Lines'.

Is this possible or are there better solutions?

Thanks in advance,
aho
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Prerequisites - Use Parameters for 'Install Command Lines'

Hi and welcome to the Advanced Installer forums,

There's a user guide article on the limitations and how to install SQL Server Express:
How to install SQL Server Express with your application?

Basically "Install Command Lines" fields only support formatted references when the prerequisite is feature-based. This means you cannot set custom parameters from the command line when installing SQL Express setup, if you add the setup as a pre-install or post-install prerequisite.

For any other SQL Server installations you can take a look at our predefined list of prerequisites. You can see it from the Prerequisites page by selecting Packages item in the "Additional Packages" list.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”