Installing SQL Server and .NET Framework from a visual studio setup project

jawath picture jawath · Jan 1, 2010 · Viewed 7.6k times · Source

I have to do four things install .net framework 3.5 ,install SQL Server 2005 and run my sql script on the server and create the database and install my application how to do it in a single setup project using visual studio 2005/2008

Answer

nganju picture nganju · Jan 2, 2010

Use NSIS instead of the Visual Studio installer project:

http://nsis.sourceforge.net/Main_Page

It's much more powerful, but still pretty straightforward to use. Also there's lots of sample code for common tasks like installing .NET or SQL Server.