[wix-users] Not able to populate value in Combobox

Paul Mumford paul.mumford at gmail.com
Wed Jan 17 04:50:19 PST 2018


Unsubscribe please,

Regards,

Paul.



On 17 January 2018 at 12:15, pallavi radha via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> Hi Team,
>
> Requirement :
>
> Display list of drives on the system.So that the user can install the
> application on that drive.
>
> Software:Wix tool set 3.11
>
> Solution 1:Using Combobox
> ---------------------------
>  Tried to display using combo box. Combo box values are not getting
> populated. Empty combo box is being displayed
>
> Code Snippet:
> -------------
> <Text X="25" Y="310" Width="-11" Height="30" FontId="8"
> DisablePrefix="yes">Select the Drive to Install </Text>
> <Combobox  Name="Drives"  X="25" Y="340" Width="260" Height="17"
> TabStop="no" FontId="7" >
>     <ListItem Text="CDrive" Value="C" />
>     <ListItem Text="DDrive"Value="D" />
>     <ListItem Text="EDrive" Value="E" />
> </Combobox>
>
>
> Solution 2: Using Radio buttons
> --------------
> Tried using radio buttons .Here the issue is already i have one set of
> radio buttons for the selecting the installer type. Now if Im adding
> another set of radio buttons for selecting the drive. The application is
> thinking all the radio buttons as one set.  So it is allowing to select
> either MSI1 or MSI2 or Drive1 or Drive2. Is there any way to differentiate
> the radio button group as two different sets.
>
> Please Select the MSI to Install
> o MSI1
> o MSI2
> Please Select the Drive to Install
> o C:Drive
> o D:Drive
>
> <Text X="25" Y="170" Width="-11" Height="30" FontId="8"
> DisablePrefix="yes">Select the MSI </Text>
>   <Button Name="MSI1" X="25" Y="290" Width="260" Height="17" TabStop="yes"
> FontId="7"  HexStyle="0x000009" >
>   MSI1</Button>
>     <Button Name="MSI2" X="25" Y="300" Width="260" Height="17"
> TabStop="yes" FontId="7"  HexStyle="0x000009">MSI2</Button>
> <Text X="25" Y="310" Width="-11" Height="30" FontId="8"
> DisablePrefix="yes">Select the Drive to Install </Text>
> <Button Name="Drive1" X="25" Y="340" Width="260" Height="17" TabStop="yes"
> FontId="7"  HexStyle="0x000009" >
>   C:Drive</Button>
>     <Button Name="Drive2" X="25" Y="360" Width="260" Height="17"
> TabStop="yes" FontId="7"  HexStyle="0x000009">D:Drive</Button>
>
>
> Is any other  way to address the fix?
>
> Thanks,
> Prasanthi
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



More information about the wix-users mailing list