View Full Version : Service creation using a dll in setup.exe

11-20-2012, 01:12 AM
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.


11-20-2012, 06:41 PM
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.