If using WixStdBA, a BAFunctions.dll could be used. A sample project is in the wix source (src\burn\Samples\bafunctions). Add a C# library project to your solution and copy the sample files from the bafunctions sample , and get it compiling. Then in WixBootstrapperBAFunction::OnDetectComplete implement something like like the code at Neal's site: https://wixextba.codeplex.com/SourceControl/latest#bafunctions/WixBootstrapperBAFunction.cpp
BalGetStringVariable(L"SomeVar", &sczValue); BalExitOnFailure(hr, "Failed to get variable."); ...do something to formulate the string someString hr = m_pEngine->SetVariableString(L"ExeParameters", someString); BalExitOnFailure(hr, "Failed to set variable."); Also define the Burn Variable/@Overridable='yes' so that the BA can make these changes. Rob's advice to do a custom BA is the better choice in the long run. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Conditional-variables-in-burn-tp7598132p7598136.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users