Community Forums
Results 1 to 2 of 2

Thread: Service creation using a dll in setup.exe

  1. #1
    Join Date
    Nov 2012

    Service creation using a dll in setup.exe

    Hi All,

    I have one function serviceInstall(arg1, arg2, ...) in the service.dll file and supported files for args. How do i incorporate this .dll file to get the service install in a InstallScript project.


  2. #2
    Join Date
    Oct 2001
    Here and there
    Please see the help topic "Calling a DLL File Function" for the general idea.

    Before going down that road, though, InstallScript has a family of functions for installing and controlling services (they all start with "Service": ServiceAddService, ServiceStartService, and so on), which might be of use. If you use an external DLL function to handle the service, you'll need to manually handle uninstallation, too.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts