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: lt;PropertyGroupgt; lt;DefineConstants Condition='$(Configuration)'=='Debug'gt;$(DefineConstants);MyConfig=MyDebugValuelt;/DefineConstantsgt; lt;DefineConstants

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: lt;Variable Name=MyVariable Value=MyValue / I set bal:Overridable='yes' on any variable I create in the Bundle and interact with in the bafunctions.dll or mba. lt;Variable Name=MyVariable Value=MyValue bal:Overridable='yes'/ And since I also read threads about Burn's functionality to

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 Variable’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

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: lt;PropertyGroupgt; lt;DefineConstants Condition='$(Configuration)'=='Debug'gt;$(DefineConstants);MyConfig=MyDebugValuelt;/DefineConstantsgt; lt;DefineConstants

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

2015-04-15 Thread Nir Bar
Sure there is: ?if $(var.Configuration)==Debug? ?define MyVar=MyDebugVal? ?else? ?define MyVar=MyReleaseVal? ?endif? See Using Project References and Variables http://wixtoolset.org/documentation/manual/v3/votive/votive_project_references.html for more preprocessor variables, and

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:

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 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Resume-Installation-Plan-td7579146.html#a7579182 , and posibly others that I may have stumbled across. I transitioned from using a bafunctions.dll (with Wix 3.7

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

2015-04-15 Thread Joseph L. Casale
Sure there is: ?if $(var.Configuration)==Debug? ?define MyVar=MyDebugVal? ?else? ?define MyVar=MyReleaseVal? ?endif? See Using Project References and Variables http://wixtoolset.org/documentation/manual/v3/votive/votive_project_references.html for more preprocessor variables, and