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

ServiceAddService - no effect


1 reply to this topic

GerritEdzards

GerritEdzards
  • Members
  • 3 posts

Posted 22 June 2006 - 10:00

Hi @ all

CODE
ServiceInitParams ();
SERVICE_IS_PARAMS.dwServiceType = SERVICE_INTERACTIVE_PROCESS;
SERVICE_IS_PARAMS.dwStartType = SERVICE_DEMAND_START;

ServiceAddService ( serviceName, serviceDisplay, serviceDescription, TARGETDIR + "\\programm.exe", FALSE, SERVICE_IS_PARAMS );


The setup dont create a new service! Why?

I looked in the docu... everything looks okay with my script. or not?

Greetings,
GerritEdzards

@ mod: can you please edit the threadname in "Serviceaddservice - no effect"?

Edited by GerritEdzards, 22 June 2006 - 12:40.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 23 June 2006 - 17:33

QUOTE (GerritEdzards @ 2006-06-22 11:00)
@ mod: can you please edit the threadname in "Serviceaddservice - no effect"?

Done. (I also replied to your question in the German section of the forum)