You could use the SqlExpress package that comes with the .Net 2.0 SDK. (program
files\Microsoft Visual stuido 8\sdk\v2.0\BootStrapper\Packages\SqlExpress). But
to use it with your MSI you need to create a bootstrapper (a setup that checks
for and/or install Sqlexpress and then starts your msi). That will guarantee
that Sqlexpress is installed when your MSI runs.
The Package.xml also reveals what registry keys can be queried to see if
sqlexpress is installed.
http://msdn2.microsoft.com/en-us/library/ms229223.aspx
MSBUILD GenerateBootStrapper
http://msdn2.microsoft.com/en-us/library/ms164294.aspx
________________________________
From: [EMAIL PROTECTED] on behalf of Crusty Applesniffer
Sent: Fri 8/24/2007 12:03
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Wix 3.0 and SQLExpress
Hi!
I'm using Wix 3.0 and I need to create a database during installation.
I wonder if it is possible to detect a previous installation of SQLExpress and
to use it if exist else install SQLExpress and use this new instance.
Thanks
Crusty Applesniffer.
This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an intended
recipient then please promptly delete this e-mail and any attachment and all
copies and inform the sender. Thank you.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users