Using Windows Installer UI you cannot. Sorry. Windows Installer does not publish any events when a combobox's selection changes. As a result, you have to use something else (a button click, anything) to test the value of the selection of the combobox and make your related changes then.
You can drop Windows Installer UI and go with something else (external, embedded) or you can separate your combo box and whatever you need to show/hide related to its selection to separate dialogs. -Blair -----Original Message----- From: Vijay Agarwal [mailto:vijay.agar...@matrikon.com] Sent: Sunday, January 23, 2011 11:30 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Want to trap combo box event Hi, I am using wix installer for one of my product and want to implement something in which I have a screen having a combo box. What I want to do is that on selection of an item in the combo box another control on the same screen should be displayed or hidden. How can I achieve that? To be clear let's take an example: Suppose I have a screen with a combo having two options Standard and Enterprise. Now there is another control (text box) on the screen for Product Key. If the user selects Standard in the Combo, the text box should get hidden as it doesn't require the product key but if the user selects Enterprise the text box should be visible to enter the product key. How could I achieve that? Any help is highly appreciated. Thanks, Vijay ________________________________ READER BEWARE: Unencrypted, unsigned Internet e-mail is inherently insecure. Internet messages may be corrupted, incomplete, misdirected or may incorrectly identify the sender. Therefore, nothing in this message or attachments may be considered legally binding. THIS MESSAGE IS ONLY INTENDED FOR THE USE OF THE INDIVIDUAL OR ENTITY TO WHICH IT IS ADDRESSED AND MAY BE PRIVILEGED. If you are not the intended recipient or their authorized agent, you may not forward or copy this information and must delete or destroy all copies of this message and attachments received. If you have received this communication in error, please notify Matrikon Inc. by telephone at (780) 448-1010 or emailing ad...@matrikon.com. ---------------------------------------------------------------------------- -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users