PDA

View Full Version : What are the native Service Control manager functions?



vattipalli
12-06-2004, 01:45 AM
Hi,
What are the InstallScript SCM (ServiceControlMananger) native functions for
Advapi32.OpenServiceA
Advapi32.QueryServiceStatus
Advapi32.OpenSCManagerA
Advapi32.StartServiceA

Previous project is in 5.5 version. iam upgrading it to 10.5. I want to replace the existing function code with native functions. Please let me know the native funtions for the above functions...

RobertDickau
12-06-2004, 07:30 AM
The InstallScript functions all begin with the word "Service", as in ServiceAddService, ServiceExistsService, ServiceGetServiceState, and others...

Christopher Painter
12-06-2004, 07:34 AM
I answered this 4 days ago for you:

"Read the help file and find the ServiceStopService, ServiceStartService, ectera functions that already exist in InstallScript."

http://community.installshield.com/showthread.php?t=141791