Steve, I am defining them in a WXI file using the <?define?> preprocessor construct. They are then referenced in one or more WXS files (each WiX project are broken into multiple WXS files). Should I be using a different method?
David J. Antoine -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Baker Sent: Thursday, July 17, 2008 5:03 PM To: wix-users@lists.sourceforge.net; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] using preprocessor variables in pre/postbuild stepsin VS2005 Where are you defining the preprocessor variables you would like to have access to in the pre and post build steps? In the wixproj file? in a wxs? Steve Baker ---------------------------------------- From: "Antoine, David" <[EMAIL PROTECTED]> Sent: Thursday, July 17, 2008 4:22 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] using preprocessor variables in pre/postbuild steps in VS2005 Everyone, I am currently using WiX v3.0.2925.0. I have a few projects that use local preprocessor variables. I may need to pass one or more of these on to pre- and post-build steps in Visual Studio 2005. So far I have been unable to do so. From reading the documentation, there are WiX variables that can be passed as far as I can tell. However, it does not seem that user-created preprocessor variables can be passed with the version of WiX v3 that I am using (that or I am not reading the documentation closely enough). Is there a way to do so, and does it require a more recent build of WiX v3? Thank you for your time. ------------------------------------------------------------------------ - 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 WiX-users@lists.sourceforge.net 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 WiX-users@lists.sourceforge.net 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 WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users