You can do a property/regsearch for IIS v5/6/7:

Key="SYSTEM\CurrentControlSet\Services\W3SVC\Parameters" Name="MajorVersion"
Root="HKLM"
Same for MySQL:


Key="SOFTWARE\MySQL" Name="MajorVersion" Root="HKLM"
Same for .NET 20


Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727"

I would say use those regsearches nested in properties then provide launch
conditions so the install will fail if none of the req's are satisfied.
(I don't know how well a nested install would work if IIS isn't installed by
the way.  Never done a nested install, but have been told to avoid them like
the plague.)

To install services, WiX supports w/ <ServiceInstall>/<ServiceConfig>

If you want to edit the XML config files on the fly, like say the user
enters in info in the UI sequence, you can always use <util:xmlconfig> to
accomplish that

And as far as creating tables and sprocs, you'd have to probably write up
the scripts to do so, then use <sql:SqlDatabase>/<sql:SqlScript>

Sounds like WiX has everything you need.

I did an install once very similar to this.
On Thu, Oct 16, 2008 at 1:49 PM, solata <[EMAIL PROTECTED]> wrote:

> hi.
>
> i need to make installer for my project, and i'm wondering if wix is the
> right solution for me.
>
> i read the tutorial, but i'm not sure if wix will be able to do all i need,
> so i decided to ask here.
>
> my project consists of two parts.
> 1) service
> 2) web service [for configuration, monitoring ...]
>
> its written in c# (visual studio 2005), and its dependend upon folowing :
> - mysql (for my database)
> - IIS (webservice ....)
> - .NET 2.0
>
> i would like to make my isntaller suitable for every user, so this is how
> i would like it to go :
>
> -- check if IIS is installed, if not install it [start installing, ask for
> windows cd ...]
> -- check if .NET 2 framework is installed, if not install it [run .NET
> setup]
> -- check if mysql 4 or 5 is isntalled, if not install it [run mysql setup]
>
> -- install my service and webservice
> -- edit configuration files for both of them (connection string)
> -- create tables and pšrocedures in mysql
> -- start service
>
> so .... i know i can install service and webservice, run the service,
> edit config files (they are xml), i also know that i can check for .net,
> and install it .... but how about the other things ?
> how to check if mysql is isntalled, how to create tables ? how to install
> IIS ?
>
> is this only possible with writting custom dll actions ?
>
> one idea is that i use the visual studios WEB SETUP and normal setup,
> as normal setup auto checks and installs .NET , and web setup auto
> installs webservice, and checks for iis, then i could write helper app
> to edit config files and create tables. but 1) its not realy nice way, and
> 2) how could i get properties as [INSTALLDIR] from my wix to the helper
> utility, and "subinstallers"?
> how can i run installation of mysql in the middle of my wix install ?
>
>
> ok i know i sound confused, and that there are a lot of questions ...
> well .... i still hope somebody can give me some answers and point
> me into the right direction
>
> thank you very much
>
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to