Hi, I've been working on a bootstrapper with a customized UI and I cannot
figure out a way on how to "translate" the burn built-in variables from the
engine to the UI.

You can see the list of the variables here:
http://wix.sourceforge.net/manual-wix3/bundle_built_in_variables.htm


I'll try to explain the situation here:
(Before you make remarks, note that this isn't the actual code I'm using)


1. I have a variable defined in the Bundle.wxs like:
<Variable Name="FooVariable" Type="string" Value="[DesktopFolder]\Foo\Bar"
bal:Overridable="yes"/>


2. I read the variable in the C# customized UI from the engine in the UI
like this:
String fooString = Bootstrapper.Engine.StringVariables["FooVariable"];


3. Then I show the install path variable, let's say in a message box
MessageBox.Show(fooString);


4. The messagebox says:
[DesktopFolder]\Foo\Bar

But I wish it showed:
C:\Users\Example\Desktop\Foo\Bar


To put it verbally, I would like to make the UI not to say the name of the
burn built-in variable, but the actual path to the e.g. desktop folder.

Is there any possible way I could do this? Is there any workaround? I
would't like to programmatically fetch these folders in the UI.
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to