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!

demaker
Posts: 1
Joined: Tue Jun 21, 2016 2:35 pm

SQL problems

Hello. I want to create a custom named instance,attack 2xdatabases(mdf files) open network protocols on the installed pc and create a new login on the sql with custom settings (no enforece p/w policy and sysadmin).i would also like to run some sql scripts depending on a dropdown window selected at the initial installation. is any of this possible?

thanks in advance
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: SQL problems

Hello and welcome to our forums,

Yes, your installation requirements are doable using the "Enterprise" edition of Advanced Installer.

To install a custom named instance you can use our "Prerequisites" support. Just go to "Prerequisites" page and add one of the predefined SQL Server prerequisites to your project. Then from "Setup Files" tab you can configure in the "Install Command Lines" fields a proper command line which will install a named instance of the SQL server.

To attach the database files you can add them in "Files and Folders" page and then just add and configure an SQL Script like it is exposed in our "Use a property in an SQL script" user guide article.

To add exceptions to the network ports you can use our "Windows Firewall" page support.

To create a new SQL login you can create your own SQL script and run it using our "SQL Script" support. You also have the option to condition each SQL Script execution using its "Condition" field.

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

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

Return to “Building Installers”