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!

yuripodho
Posts: 3
Joined: Tue Feb 11, 2014 6:13 pm

Enable checkbox based on sql server instance

Hello, I am new on this forum and also on Advanced Installer. My problem is that I have a dialog with a checkbox, which I want to enable only if a "(localhost)\instance" does not exists in my SQL Server database.
Any tips? I have no idea how to make it through
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Enable checkbox based on sql server instance

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

In order to achieve what you want you can add, in "Search" page, a registry search (MY_INSTANCE) which will look for the desired instance of SQL Server. Then, you can associate the above search property with your check box control.

Please take a look on the "How can I get a list of installed SQL Server instances?" article which should be useful for you.

If you have any questions just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
yuripodho
Posts: 3
Joined: Tue Feb 11, 2014 6:13 pm

Re: Enable checkbox based on sql server instance

Thank you.... it worked :)
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Enable checkbox based on sql server instance

You're welcome.

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

Return to “Building Installers”