> How, do I set the value of that Property,
Like this.
By the way <WixSharp>/Samples/ManagedSetup/CustomUIDialog shows exactly your scenario except it is a
Unrelated... I see you are battling with CodePlex markup syntax. I know, :), unexplainably they are using two different wiki engines within a single website (discussions and releases). Here you need to use ```C# not {code:c#} tag. And if you mix them together none is working.
On GitHub it's all simple. Single syntax for everything.
Like this.
MsiRuntime.Session["INSTALLDESKTOPSHORTCUT"] = "YES"
Data
is a custom data dictionary that Wix# mainaines so user defined properties (not MSI) properties can be kept all the way till (and including) after-install deferred actions. And it has been developed to overcome that ridiculous MSI design flaw that the MSI properties are all destroyed before MSI runtime launches any after-install deferred action. Though in your case you have no use for MsiRuntime.Data
as your property is going to be consumed by MSI runtime but not by the ueser-defied routine (e.g. another custom action). Thus you have to assign properties the way WiX intended - by using Session indexer.By the way <WixSharp>/Samples/ManagedSetup/CustomUIDialog shows exactly your scenario except it is a
password
string property not boolean as yours. Unrelated... I see you are battling with CodePlex markup syntax. I know, :), unexplainably they are using two different wiki engines within a single website (discussions and releases). Here you need to use ```C# not {code:c#} tag. And if you mix them together none is working.
On GitHub it's all simple. Single syntax for everything.