<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Complete list of Candle preprocessor variables</title><link>http://blogs.msdn.com/jrock/archive/2008/01/29/complete-list-of-candle-preprocessor-variables.aspx</link><description>Some people have asked about this in the past on the wix-users mailing list, so I thought I'd just put it here so it's on the web searches. (We really need to do an overhaul on our WiX home page ). This is just copied verbatim from the Wix.chm file. [Edit]:</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>MSDN Blog Postings  &amp;raquo; Complete list of Candle preprocessor variables</title><link>http://blogs.msdn.com/jrock/archive/2008/01/29/complete-list-of-candle-preprocessor-variables.aspx#7315819</link><pubDate>Wed, 30 Jan 2008 03:50:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7315819</guid><dc:creator>MSDN Blog Postings  » Complete list of Candle preprocessor variables</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://msdnrss.thecoderblogs.com/2008/01/29/complete-list-of-candle-preprocessor-variables/"&gt;http://msdnrss.thecoderblogs.com/2008/01/29/complete-list-of-candle-preprocessor-variables/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>re: Complete list of Candle preprocessor variables</title><link>http://blogs.msdn.com/jrock/archive/2008/01/29/complete-list-of-candle-preprocessor-variables.aspx#7351405</link><pubDate>Thu, 31 Jan 2008 17:27:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7351405</guid><dc:creator>Mark</dc:creator><description>&lt;p&gt;If I follow the add-reference instructions above, I get a dialog saying &amp;quot;Sorry, project references are not yet supported in Votive. &amp;nbsp;If you want to add the code, by all means! :)&amp;quot;&lt;/p&gt;
&lt;p&gt;Votive 2.0.5325&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;I presume this is a 3.0-only thing?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Mark&lt;/p&gt;</description></item><item><title>re: Complete list of Candle preprocessor variables</title><link>http://blogs.msdn.com/jrock/archive/2008/01/29/complete-list-of-candle-preprocessor-variables.aspx#7352808</link><pubDate>Thu, 31 Jan 2008 18:52:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7352808</guid><dc:creator>jrock</dc:creator><description>&lt;p&gt;Mark,&lt;/p&gt;
&lt;p&gt;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 (&lt;a rel="nofollow" target="_new" href="http://msdn2.microsoft.com/en-us/aa302186.aspx#wixsetup_topic9"&gt;http://msdn2.microsoft.com/en-us/aa302186.aspx#wixsetup_topic9&lt;/a&gt;) for more information on how to do this in Votive 2.0.&lt;/p&gt;
&lt;p&gt;Sorry about the confusion. I should have pointed this out in the blog entry.&lt;/p&gt;
</description></item><item><title>Project References</title><link>http://blogs.msdn.com/jrock/archive/2008/01/29/complete-list-of-candle-preprocessor-variables.aspx#7676337</link><pubDate>Wed, 13 Feb 2008 18:32:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7676337</guid><dc:creator>Cliff</dc:creator><description>&lt;p&gt;We have a problem with adding Project References when the project resides in a Visual Studio 2008 solution folder.&lt;/p&gt;
&lt;p&gt;The FullPath return &amp;quot;objecr ref not instance of an object&amp;quot; and we can't access the project vars in any scripts.&lt;/p&gt;
&lt;p&gt;Moving project to the solution root fixes the problem. Moving it back breaks it again&lt;/p&gt;
&lt;p&gt;Cliff&lt;/p&gt;</description></item><item><title>re: Complete list of Candle preprocessor variables</title><link>http://blogs.msdn.com/jrock/archive/2008/01/29/complete-list-of-candle-preprocessor-variables.aspx#7895956</link><pubDate>Mon, 25 Feb 2008 23:21:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7895956</guid><dc:creator>Eugene</dc:creator><description>&lt;p&gt;What does &amp;quot;MyProject&amp;quot; mean in this example: &amp;quot;$(var.MyProject.Configuration)&lt;/p&gt;
&lt;p&gt;&amp;quot;?&lt;/p&gt;
&lt;p&gt;I have &amp;quot;Infrastructure.Module&amp;quot; project (created by SCSF, CAB franework). When I use it like this -&lt;/p&gt;
&lt;p&gt;$(var.Infrastructure.Module.Configuration)&lt;/p&gt;
&lt;p&gt;I got compile error -&lt;/p&gt;
&lt;p&gt;error CNDL0150: Undefined preprocessor variable '$(var.Infrastructure.Module.Configuration)'&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;</description></item><item><title>re: Complete list of Candle preprocessor variables</title><link>http://blogs.msdn.com/jrock/archive/2008/01/29/complete-list-of-candle-preprocessor-variables.aspx#7899480</link><pubDate>Tue, 26 Feb 2008 07:52:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7899480</guid><dc:creator>jrock</dc:creator><description>&lt;p&gt;Eugene,&lt;/p&gt;
&lt;p&gt;Although there could be a bug (there's an embedded period), I think that perhaps you haven't added the other project as a project reference in Votive? This feature won't work unless you have added a project reference.&lt;/p&gt;
</description></item><item><title>re: Complete list of Candle preprocessor variables</title><link>http://blogs.msdn.com/jrock/archive/2008/01/29/complete-list-of-candle-preprocessor-variables.aspx#7903909</link><pubDate>Tue, 26 Feb 2008 16:33:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7903909</guid><dc:creator>Eugene</dc:creator><description>&lt;p&gt;You’re right, I have not. When I did it did not improve anything. Please allow me to explain.&lt;/p&gt;
&lt;p&gt;I’m using that variable in the following statement –&lt;/p&gt;
&lt;p&gt;&amp;lt;File Id=&amp;quot;InfrastructureModuleDll&amp;quot; Name=&amp;quot;CABProject.Infrastructure.Module.dll&amp;quot; Source=&amp;quot;$(var.SolutionDir)bin\$(var.Infrastructure.Module.Configuration)\CABProject.Infrastructure.Module.dll&amp;quot; KeyPath=&amp;quot;yes&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;Once I added “Infrastructure.Module” project to the references as you have suggested I got this error –&lt;/p&gt;
&lt;p&gt;error LGHT0083: The file with id 'InfrastructureModuleDll.0E7552A8_88FC_459F_9E5B_7656A0B674E4' and name 'xx2h3fka.dll|CABProject.Infrastructure.Module.dll' could not be found with source path: 'C:\My Projects\CABProject\\bin\\CABProject.Infrastructure.Module.dll'.&lt;/p&gt;
&lt;p&gt;This error exhibits two problems at the least:&lt;/p&gt;
&lt;p&gt;1) the “$(var.SolutionDir)” expands into “C:\My Projects\CABProject\\” (two back slashes at the end) or the error message is incorrectly formatted.&lt;/p&gt;
&lt;p&gt;2) the “$(var.Infrastructure.Module.Configuration)” expands into a null or empty string since the file “CABProject.Infrastructure.Module.dll” exists in the “C:\My Projects\CABProject\bin\Debug” folder.&lt;/p&gt;
&lt;p&gt;Lastly, using particular project’s configuration does not make sense since the configuration is a solution-wide concept; why should I use “Infrastructure.Module” project to get “Debug” while “Infrastructure.Library”, “Infrastructure.Interface”, and 20+ other projects have the same configuration? If you open any “.wixproj” file in Notepad you’ll see this line –&lt;/p&gt;
&lt;p&gt;&amp;lt;PropertyGroup Condition=&amp;quot; '$(Configuration)' == 'Debug' &amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;where “$(Configuration)” used irrelevantly to any project at all. (The “$(var.Configuration)” produces the same CNDL0150 error)&lt;/p&gt;
&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;Eugene&lt;/p&gt;
</description></item><item><title>re: Complete list of Candle preprocessor variables</title><link>http://blogs.msdn.com/jrock/archive/2008/01/29/complete-list-of-candle-preprocessor-variables.aspx#7906106</link><pubDate>Tue, 26 Feb 2008 18:56:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7906106</guid><dc:creator>Eugene</dc:creator><description>&lt;p&gt;I installed 3.0.3815.0 and &amp;quot;$(var.Infrastructure.Module.Configuration)” works (although when I select &amp;quot;Infrastructure.Module&amp;quot; in Solution Explorer, the &amp;quot;Full Path&amp;quot; field in Properties says: &amp;quot;Object reference not set to an instance of an object.&amp;quot;)&lt;/p&gt;
</description></item></channel></rss>