I would guess you'd have to write a custom action to investigate what they
had installed and set it to a variable (like you suggested).

However, just because someone has Sql Server or Sql Express doesn't
guarantee that it will just be [COMPUTERNAME] or [COMPUTERNAME]\SQLEXPRESS.
You can install either of those products to any name you want.

On Nov 24, 2007 4:15 PM, Frank Eden <[EMAIL PROTECTED]> wrote:

>
> I am installing a database on the target machine using SqlDatabase
> My difficulty is that I do not know whether the end-user
> has SQLExpress or SQL installed, so I dont know whether to use
>
> Server='[%COMPUTERNAME]\SQLEXPRESS'
> or
> Server='[%COMPUTERNAME]'
>
> Im thinking I should be able to detect which is installed, set a variable,
> then use that variable, something like
>
> Server='[%COMPUTERNAME][SQL]'
>
> Any ideas on how to do this?
>
>
> --
> View this message in context:
> http://www.nabble.com/Detecting-Which-version-of-SQL-is-installed-tf4867935.html#a13929956
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to