There are a couple of ways to do this: 1. Write a custom action that connects to the database and runs a basic SELECT query. Schedule the CA before LaunchConditions or when the Test button is clicked.
2. Use SqlDatabase and SqlString elements to connect to the database and run a basic SELECT query. Of course the check will occur when the component is being installed. Hope this helps. -farooq -----Original Message----- From: Selvakumar B [mailto:selvakuma...@realimage.com] Sent: Wednesday, October 07, 2009 12:47 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Test sql connection how can I test sql server connection before installation? ================================= server :_______ O win mode O sql mode user :______ pass:______ ------------------- | Test Button | ------------------- ================================= Regards, Selvakumar B ---------------------------------------------------------------------------- -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users