Reputation: 11
I have created a textbox in WIX Dialog box and now I want to get what ever the value enterted in the text box should assign to one wix variable. can you please let me know how can I achive it.
Upvotes: 1
Views: 3841
Reputation: 11838
Maybe you want to assign the value entered in the edit box to a property?
<Control Id="NameEdit" Type="Edit"
X="45" Y="85" Width="220" Height="18"
Property="USERNAME" Text="{80}" />
In this example, the edit box will be initialized with the value of the property USERNAME
, and the entered text will be stored to USERNAME
property which you can use later.
I took this code from WiX Tutorial page.
WiX variables are used only by WiX preprocessor, they're just like define
s in C/C++; they do not exist in the resulting MSI package.
Upvotes: 3