Two questions that both seem to relate to custom actions.

1) From the Wiki I see:

        ...
          <binary name="MSVBDPCADLL" value="${builds.dir}\MSVBDPCA.DLL" />
        </binaries>

         ...
          <customaction action="WEBCA_CreateURLs" type="1" source="MSVBDPCADLL" 
target="CreateURLs" />
        </launchconditions>

        <sequences>
          <sequence type="installexecute" action="WEBCA_CreateURLs" value="750" 
condition="NOT Installed" />
        </sequences>

Is this a typo or do I really put customaction in <launchconditions>? Right now I have 
a class that has properties and a method that I want to run at install time. This 
method with the properties set will run some scripts to configure the database when 
the application is installled. Which of the arguments specify the method that should 
invoke? Is CreateURLs in the above example a method? How do I either specify arguments 
or set properties for this custom action?

2) I would like to install two services as part of the installation. But I want to 
have these services run under a certain account (own process). Is this just a Win32 
programming problem now. I basically see this as prompting the user for user/password 
using the user/password to change the configuration of the service (I believe that the 
Win32 call is ChangeServiceConfiguration or something like that). I am guessing that I 
will first have to open the newly installed service to get a handle to this service. 
Does anyone have some code that would save me some time doing something like this?

Thank you.

Kevin


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id808&op=click
_______________________________________________
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer

Reply via email to