I have a Bootstrapper with WPF Custom UI. It contains NET Framework 4.5 package and my product msi package. I'd like to provide folder selection dialog in my UI and then replace default installation folder with selected by user. For it I need to read the value from msi, show dialog and then replace.
How I can do it in WPF UI? This way I cannot get value:
if (engine.StringVariables.Contains("INSTALLFOLDER"))
installdir2 = engine.StringVariables["INSTALLFOLDER"];
Is it possible to do?