I’m looking to build a specialized msi installer, preferably with VS2010 to do the following:
-
Be able to configure SQL server connection.
-
Pick the database to be used from the SQl server.
-
Create database table with specified credentials.
-
Assign a new DB user a set of permissions.
-
Also configure the IIS application.
I looked into a default installer project in VS2010 and it has nothing related to dealing with SQL server and IIS. Any idea how can I do all this?
Visual Studio setup projects do not offer support for SQL scripts and IIS. The best you can do is write some custom actions (using custom code) to handle this during install.
Commercial setup authoring tools offer the most control over SQL scripts and IIS elements. You can find a list here: http://en.wikipedia.org/wiki/List_of_installation_software
You can also try WiX. It has a steep learning curve, but it’s free and gets the job done.