Use the DefineConstants Property. Give the wix.targets file a read for
all the properties you can set for candle.

 

   <PropertyGroup>

       <DefineConstants>Configuration=$(Configuration)</DefineConstants>

   <PropertyGroup>

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
O'Brien
Sent: 04 April 2008 14:09
To: 'wix-users@lists.sourceforge.net'
Subject: [WiX-users] is there a way to pass define preprocessor variable
settings when buliding using tfs msbuild processing

 

In my wixproj settings UI I can define preprocessor variable settings
that are then passed to candle at build time, e.g. "candle.exe
-dSomePreProcessorVariable=Foo"

 

Is there a way when building the wixproj usingtfs msbuild processing,
e.g. "msbuild.exe mySetup.wixproj /??? SomePreProcessorVariable=Foo"?
I tried using the msbuild /p:<setting=value> switch but that didn't
appear to work.

 


----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to