@Phill
It seems I have managed to miss that one during my search.
@John
Maybe I was confused because
BootstrapperApplication.Engine.StringVariables.Contains("MyVariable");
returns true after
BootstrapperApplication.Engine.StringVariables["MyVariable"] = string.Empty;
is executed, but it returns false after
BootstrapperApplication.Engine.StringVariables["MyVariable"] = null;
is executed.
I knew I could test if a variable exists with the variables name alone, but as
I explicitly assigned it to string.Empty and the Contains() method returned
true I thought I had to test for an empty string.
I got it now. In the xml a string variable without content doesn't exist.
Thanks for your help.
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users