Re: [WiX-users] Setting property values based on Visual Studio build configurations.

2015-04-15 Thread Joseph L. Casale
> Sure there is: > > > > > > > See Using Project References and Variables > > > for more preprocessor variables, and Preprocessor >

Re: [WiX-users] how to define a custom variable in bundle.wxs, and get its value in BAFunctions.dll?

2015-04-15 Thread Phill Hogland
My comment about using persisted variables is based on this thread , and posibly others that I may have stumbled across. I transitioned from using a bafunctions.dll (with Wix 3.

Re: [WiX-users] Setting property values based on Visual Studio build configurations.

2015-04-15 Thread Nir Bar
Sure there is: See Using Project References and Variables for more preprocessor variables, and Preprocessor on how to use the

Re: [WiX-users] Wix preprocessor extension: multiple prefixes

2015-04-15 Thread Nir Bar
Can you post the complete code for the extension? - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in context: http://windows-installer-xml-wix-toolset.687559.

Re: [WiX-users] Setting property values based on Visual Studio build configurations.

2015-04-15 Thread Joseph L. Casale
> In your project file add property value: > > Condition="'$(Configuration)'=='Debug'">$(DefineConstants);MyConfig=MyDebugValue > Condition="'$(Configuration)'=='Release'">$(DefineConstants);MyConfig=MyReleaseValue

Re: [WiX-users] how to define a custom variable in bundle.wxs, and get its value in BAFunctions.dll?

2015-04-15 Thread David Burson
Thanks for the tip, Phil. A couple questions about that: I assume without bal:Overridable=“yes”, my ’s are really constants? In this particular case, I just need constants. I have to declare them in my bundle.wxs so I can use them in my .wxl’s that localize my theme. For example, I declare a

Re: [WiX-users] how to define a custom variable in bundle.wxs, and get its value in BAFunctions.dll?

2015-04-15 Thread Phill Hogland
You posted: I set bal:Overridable='yes' on any variable I create in the Bundle and interact with in the bafunctions.dll or mba. And since I also read threads about Burn's functionali

Re: [WiX-users] Setting property values based on Visual Studio build configurations.

2015-04-15 Thread Nir Bar
In your project file add property value: $(DefineConstants);MyConfig=MyDebugValue $(DefineConstants);MyConfig=MyReleaseValue