Hi Casper,

The target is the name of the method to call.  According to MSDN, an
assembly can only have one entry point (DllMain, WinMain, or Main).  This
information was found at:
http://msdn.microsoft.com/library/en-us/cpguide/html/cpconassembliesoverview
.asp.  

Hope that helps

Jim


-----Original Message-----
From: Casper Hornstrup [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 19, 2004 3:57 PM
To: 'James Geurts'; [EMAIL PROTECTED]
Subject: RE: [NAntC-Dev] Custom action registration

Thanks, I'll try that as it seems a lot easier.

<customactions>
  <customaction action="FILECA_MyAssembly" type="65" source="MyAssemblyDll"
target="MyEntryPoint" />        
</customactions>

For assemblies, is target a class or method or both?

Casper

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of James Geurts
> Sent: 19. april 2004 04:56
> To: 'Casper Hornstrup'; [EMAIL PROTECTED]
> Subject: RE: [NAntC-Dev] Custom action registration
> 
> 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.



-------------------------------------------------------
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