Thank you, Blair. - Miaohsi

-----Original Message-----
From: Blair Murri [mailto:os...@live.com] 
Sent: Monday, September 09, 2013 8:07 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WiX 3.6: How to populdate a Combobox based on the 
value another Combobox on the same dialogbox?

Windows Installer is quite limited and refreshing/repopulating controls is one 
of those that all to often doesn't work the way we want.
 
Usually the way this is implemented is to have two paired boxes, where the 
value(s) in the first box are used in a custom action to populate the second 
box's content when the user clicks "Next".
 
> From: miaohsi.w...@invensys.com
> To: wix-users@lists.sourceforge.net
> Date: Mon, 9 Sep 2013 18:03:00 -0400
> Subject: [WiX-users] WiX 3.6: How to populdate a Combobox based on the value 
> another Combobox on the same dialogbox?
> 
> Hello Everyone,
> 
> I am trying to create a dialog box that has two combo boxes and the list 
> items of the second combo box depends on the value of the first one. In other 
> words, if the user changes the selected item in the first combo box, the list 
> items in the second combo box are updated accordingly. Below is the code of 
> the first combo box and the custom action RefreshModelList is intended to 
> update the second combo box. At runtime, the custom action seems to executed 
> multiple times. Is there any way to execute the custom action only once and 
> after the first combo box selection? If this is not a correct way to 
> implement this, could you please point me in the right direction? Your help 
> will be greatly appreciated.
> 
> Thanks a lot,
> Miaohsi
> 
> <Control Id="Device_Maker" Type="ComboBox" ComboList="yes" X="110" Y="130" 
> Width="100" Height="120" Property="DEVICE_MAKER" TabSkip="no" >
>    <ComboBox Property="DEVICE_MAKER">
>       <ListItem Text="Intermec" Value="Intermec" />
>       <ListItem Text="Motorola" Value="Motorola" />
>       <ListItem Text="Dell" Value="Dell" />
>    </ComboBox>
>    <Publish Event="DoAction" Value="RefreshModelList" />
> </Control>
> 
> 
> 
> *** Confidentiality Notice: This e-mail, including any associated or attached 
> files, is intended solely for the individual or entity to which it is 
> addressed. This e-mail is confidential and may well also be legally 
> privileged. If you have received it in error, you are on notice of its 
> status. Please notify the sender immediately by reply e-mail and then delete 
> this message from your system. Please do not copy it or use it for any 
> purposes, or disclose its contents to any other person. This email comes from 
> a division of the Invensys Group, owned by Invensys plc, which is a company 
> registered in England and Wales with its registered office at 3rd Floor, 40 
> Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of 
> European legal entities within the Invensys Group, please select the Legal 
> Entities link at invensys.com.
> 
> 
> You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
> recept...@invensys.com. This e-mail and any attachments thereto may be 
> subject to the terms of any agreements between Invensys (and/or its 
> subsidiaries and affiliates) and the recipient (and/or its subsidiaries and 
> affiliates).
> 
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. Consolidate legacy IT systems to a single system of record for IT
> 2. Standardize and globalize service processes across IT
> 3. Implement zero-touch automation to replace manual, redundant tasks
> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
                                          
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 
7AW (Registered number 166023). For a list of European legal entities within 
the Invensys Group, please select the Legal Entities link at invensys.com.


You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@invensys.com. This e-mail and any attachments thereto may be subject 
to the terms of any agreements between Invensys (and/or its subsidiaries and 
affiliates) and the recipient (and/or its subsidiaries and affiliates).



------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to