I had a very similar question asked on Stack Overflow the other day:

http://stackoverflow.com/questions/3712185/how-do-i-set-the-selected-item-in-an-msi-combo-box-that-has-been-filled-from-a-cu


This is the same problem but approached from the other directory.  When you 
select a combobox item the associated property is set to the value.   To 
reverse 
the process, set the property to the associated value prior to displaying 
the ComboBox to get the correct row to be selected.

Chris
 
Christopher Painter, Author of Deployment Engineering Blog
Have a hot tip, know a secret or read a really good thread that deserves 
attention? E-Mail Me



----- Original Message ----
From: Michael_A <mcl...@fullarmor.com>
To: wix-users@lists.sourceforge.net
Sent: Wed, September 15, 2010 10:21:32 AM
Subject: [WiX-users] ComboBox question


Sorry for the repeat question as I have seen this question before just never
a complete answer.

I have a CA that executes in the InstallUiSequence that gets a list of SQL
Servers and populates a ComboBox but when the ComboBox is displayed it’s
empty, If I click the dropdown all the SQL Instances are listed. Is there a
way to have the index set to the first SQL Instance. 


-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/ComboBox-question-tp5534796p5534796.html

Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



      

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to