Save SQL Server Express installation settings - Advanced Installer Community
danmbuen
Posts: 3
Joined: Tue Feb 19, 2019 10:24 am

Save SQL Server Express installation settings

hello everyone!

how do i save the settings (instance, authentication type, user account, password) and use it later on (maybe save in config file)?

thanks!
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Save SQL Server Express installation settings

Hello and welcome to our forums,

In order to achieve this, you can have a look on our "How to save the SQL ODBC connection string in my application config file?" article which I think you may find useful.

Hope this helps.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
danmbuen
Posts: 3
Joined: Tue Feb 19, 2019 10:24 am

Re: Save SQL Server Express installation settings

thank you catalin. i will try this and keep you posted.

btw, would it work if i add my own new package prerequisite sql server 2016 express advanced) instead of selecting one of the predefined prereqs?
Last edited by danmbuen on Thu Apr 18, 2019 7:47 am, edited 1 time in total.
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Save SQL Server Express installation settings

You are always welcome.

Sure, please let me know if that helped.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
danmbuen
Posts: 3
Joined: Tue Feb 19, 2019 10:24 am

Re: Save SQL Server Express installation settings

i cant edit the Default Value field, it wont get focus
https://imgur.com/a/ah7ZTjE
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Save SQL Server Express installation settings

Hello,

Indeed, the tutorial seems to be a bit outdated. However, you can proceed as it follows:

1. go to "Install Parameters" page

2. under the "Properties" section, please check the "Show properties with empty value or used in dialog controls" option

3. after doing so, double click on the "SERVER_PROP" property and, in the "Value" field, insert the default value that you want for this property

Hope this helps.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Save SQL Server Express installation settings

Hello,

As a followup to my last thread: After further investigating this and talking with the developer in charge for this, I have came to the conclusion that this is not the expected behavior, meaning that you should be able set the default value as explained in the tutorial.

Hopefully, this will be fixed in a future version of Advanced Installer. Unfortunately, I can not give you any estimation on when this will be fixed, but I will update this thread as soon as this will be fixed.

Until then, you can proceed with the workaround I have give you above and that should work just fine.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”