[wix-users] EditBox value was passing as null to MSIProperty in Burn Bootstrapper with Browse button

pallavi radha prasanthi.paidi at gmail.com
Sun Jan 21 18:09:00 PST 2018


Hi Team,

I have an EditBox controls in the options dialog of the bootstrapper
application.


*<Editbox Name="FolderEditbox" X="11" Y="143" Width="-91" Height="21"
TabStop="yes" FontId="3" FileSystemAutoComplete="yes" /><Button
Name="BrowseButton" X="-11" Y="142" Width="75" Height="23" TabStop="yes"
FontId="3">#(loc.OptionsBrowseButton)</Button>*

in the bundle.wxs file, I have:
*<Variable Name="FolderEditbox" Type="string" bal:Overridable="yes"/>*
Under the element for the MSI to which I want to pass the value entered by
the user in the EditBox control, I have:


*<MsiPakage><MsiProperty Name="FIRE" Value="[FolderEditbox]"/></MsiPackage>*

*However, the FolderEditbox is not being set and FIRE is being passed to
the MSI as a null string.*

*Am I Missing any thing in this scenario(Edit Box with Browse Button).*

*Same Senario was working with  Edit Box with out Browse button:*
*<Editbox Name="UserName" X="11" Y="143" Width="-91" Height="21"
TabStop="yes" FontId="3" FileSystemAutoComplete="yes" />*

*<Variable Name="UserName" Type="string" bal:Overridable="yes"/>*



*<MsiPakage><MsiProperty Name="FIRE" Value="[UserName]"/></MsiPackage>*

Here we are able to pass the user inputs in edit box(user name)dynamically
to MSI using MSIProperty.


Thank,
Prasanthi


More information about the wix-users mailing list