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] "jens.uffhaus@gmail.com" wrote:
> 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
>