Hi Casper,

The technique that I've taken in the past for a database configuration
screen is just creating a dialog from the custom action dll/exe.  That way,
you can modify the gui elements easily.  Otherwise, I'm sorry, but I don't
have a good answer for populating an msi dialog control with values.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Casper Hornstrup
Sent: Saturday, April 17, 2004 12:18 PM
To: [EMAIL PROTECTED]
Subject: RE: [NAntC-Dev] Custom action registration


This is not possible?

Casper

> -----Original Message-----
> From: Casper Hornstrup [mailto:[EMAIL PROTECTED] 
> Sent: 10. april 2004 12:18
> To: 'James Geurts'; '[EMAIL PROTECTED]'
> Subject: RE: [NAntC-Dev] Custom action registration
> 
> Hi James.
> 
> Thanks. I have a few more questions. I would like to create 
> some dialogs, how do you normally create these? With orca, 
> VS.NET, nant xml or other software? I guess there exists no 
> Visio -> MSI dialog converter. Basicly I need to retrieve 
> information from the user and write some .config files.
> I use MySQL for the database and would like for the installer 
> to query MySQL for existing databases and allow the user to 
> select one of these or create a new one. This means I need to 
> fill a drop-down box with the available databases from my 
> custom action. How do I do this?
> 
> I know I can get the parameters in the custom action using:
> 
>               public override void 
> Install(System.Collections.IDictionary stateSaver)
>               {
>                       base.Install(stateSaver);
>                       string ParamA = 
> this.Context.Parameters["ParamA"];
>               }
> 
> but not how to manipulate GUI elements from the custom action.
> 
> Casper 



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer

Reply via email to