Hi Justin... Still doesn't seem to work... At least not when the dependent project is another Wix project. $(var.<project>.TargetPath) is on both lists as *supposedly* supported, but when I have one wix projects merging the output msms of other projects, I just get variable-undefined errors.
Would be a nice feature... Thanks Mark -----Original Message----- From: Justin Rockwood [mailto:[EMAIL PROTECTED] Sent: Friday, February 01, 2008 2:22 PM To: mark.modrall; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] pre-defined variables? Thanks for the note. Here's what I responded to your comment on the blog: Mark, This should also work in Votive 2.0, although the preprocessor definitions may be slightly different than the ones I presented here. Take a look at Rob's MSDN article here (http://msdn2.microsoft.com/en-us/aa302186.aspx#wixsetup_topic9) for more information on how to do this in Votive 2.0. Sorry about the confusion. I should have pointed this out in the blog entry. Thanks, Justin -----Original Message----- From: mark.modrall [mailto:[EMAIL PROTECTED] Sent: Thursday, January 31, 2008 6:30 AM To: Justin Rockwood; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] pre-defined variables? Thanks, Justin. I just commented on the blog, but I'll say the same here: If I follow the add-reference instructions above, I get a dialog saying "Sorry, project references are not yet supported in Votive. If you want to add the code, by all means! :)" Votive 2.0.5325 If I right-click the project itself and choose Project Dependencies, all of the right dependencies are already listed; unfortunately, that doesn't seem to connect to these variable definitions. I presume this is a 3.0-only thing? Thanks Mark -----Original Message----- From: Justin Rockwood [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 30, 2008 6:03 PM To: mark.modrall; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] pre-defined variables? I also just blogged about this, so you can check out http://blogs.msdn.com/jrock/archive/2008/01/29/complete-list-of-candle-p repr ocessor-variables.aspx. Justin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mark.modrall Sent: Wednesday, January 30, 2008 12:53 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] pre-defined variables? Okay, are the preprocessor variables listed in http://msdn2.microsoft.com/en-us/library/aa302186.aspx only applicable to source projects? We have some Wix projects that bundle a bunch of msms into an msi. The main project has project dependencies on all of the othe Wix projects but when I put in something like <Merge Id="Module1" Language="1033" src="$(var.Module1.TargetPath)" DiskId="1" /> (where Module1 is the name of a dependency Wix project) I get an error that $(var.Module1.TargetPath) is undefined. We're using Votive 2.0.5325 Thanks Mark ------------------------------------------------------------------------ - 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