Groups | Blog | Home
all groups > visual studio .net setup > december 2005 >

visual studio .net setup : VS 2005 Setup Project



jens.uffhaus NO[at]SPAM gmail.com
12/21/2005 7:53:28 AM
Hi All

I have a Solution wich has many parts/projects to it.

1. WebSite Interface
2. Desktop App.
3. Windows Service.
4. SQL 2005 Database.

I been able to create a Setup project to install the Website, but would
ultimatly like to create on Setup that will check if SQL is intalled
and install it if not. It should then ask for a Database name and
create the DB using scripts I give it. The WebConfig and App.Config
should be modified to point to the correct server and database using
the supplied username and password.

Basicly a Full install if the user has only a plain Windows Box.

Is this possible with VS ? Or should I be looking at options like WISE
or so.

Thanks
Shez
1/5/2006 1:39:02 PM
I have done much of what you are trying to do (work still in progress). I
would suggest reading an MSDN article written by Alek Davis
titled:"Streamline Your Database Setup Process with a Custom Installer". I
have written an installer class library that spawns a WSH and executes his
"dbsetup.vbs", and then used that dll as a deferred custom action in my setup
and deploy project. You could skip the spawning process step if you wanted to
modify his code.
Best of luck.

[quoted text, click to view]
AddThis Social Bookmark Button