Within your WiX code, you can use preprocessor conditions based on the 
var.Debug property:

    <?ifdef var.Debug ?>
    <!-- Reference debug-only components or actions here -->
    <?endif?>

This variable comes from the "Define 'Debug' preprocessor variable" checkbox, 
which is checked by default for the Debug configuration of a VS WiX project.


Every build of WiX includes the latest documentation in the form of WiX.chm. If 
you install the MSI, there is a link to it on the start menu.

-Jason-

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roberto Almanza
Sent: Friday, May 30, 2008 1:44 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Conditional - Debug Mode

How can I have particular SqlScript files executed conditionally based on
debug mode? Basically I would like to install certain tables and stored
procedures when the install is built in debug mode (via visual studio).

Also, where can I find the latest documentation for the unstable releases?
Is the code the documentation until the next official release?
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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 2008.
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