Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

services manipulation


2 replies to this topic

guyjoules

guyjoules
  • Full Members
  • 18 posts

Posted 24 March 2008 - 09:38

hey guys.

how do I, in pure InstallScript project, manipulate services?
I would like to add service and start it(that's easy to do), but I would also like to set the startup type, the recovery option, the dependencies, etc.

How do I do that?

Thanks,

Guy.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 01 April 2008 - 14:59

Does your InstallShield version have the ServiceAddService function and the SERVICE_IS_PARAMS structure? If not, then you could use the NTService105.zip etc. scripts from http://www.installsi.../en/isp_svc.htm

guyjoules

guyjoules
  • Full Members
  • 18 posts

Posted 03 April 2008 - 15:33

Yes, I have the Service___Service functions.

so, in order to use the SERVICE_IS_PARAMS, I just set the value in this structure and then call the ServiceAddService?