You'd have to add temporary rows the the Listbox table or whatever table is
used for dropdowns.

On Tue, Feb 28, 2012 at 9:27 AM, geekzrool <[email protected]> wrote:

> Greetings WiX List users
>
> I have a custom dialog that I use to ask the user for database information
> (basic connection string info).
>
> I've written a C# class library that has two exposed methods: One returns
> a string array of network MS-SQL servers, the other returns a string array
> of non-system databases using arguments of server name (chosen from
> previous string array), user name, and password.
>
> The idea here is that first I populate a drop down list with the server
> names, then the user either picks one from the list or types the server
> name in.  Then they enter the username and password and then I populate a
> drop down list of available databases.
>
> The requirement for this is simply to be able to provide the user with the
> two dropdowns, one for the server, and then one for the databases of that
> server.
>
> The problem is that I'm relatively new to windows installer and WiX, and I
> do not know how (or if it is possible) to include such logic in my .wxs
> file.
>
> I have gotten to the point where I can add the custom action to .wxs, but
> I don't know how to populate the dropdown lists correctly based on the
> requirements and design above.  I also already have a basic custom dialog
> inserted into my dialogs sequence that has textboxes for the above
> information, I just am trying to take it a step further and add the drop
> downs.  I thin perhaps what I am stuck in is how to correctly call my
> methods listed above and populate the controls accordingly.
>
> Do any of you know of any documents, blogs, or articles (or previously
> asked questions) or have any ideas/suggestions that address more advanced
> external custom actions, or if what I am trying to do is even possible?
> Also if I am going about this wrong and there is a better way, please let
> me know.  Surely someone out there has created an installer that does what
> I'm trying to do...I just havent been able to find anything where someone
> talks about how they did it.
>
> TYIA
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to