Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem using SERVICE_IS_PARAMS in InstallScript

36 views
Skip to first unread message

Al Wilkerson

unread,
Jun 8, 2006, 11:47:43 PM6/8/06
to

Hey,

Having problems in InstallScript using SERVICE_IS_PARAMS with the following
to add a window service (.net app) with Interact with Desktop option
enabled.
Just running the 'ServiceAddService' method alone installs the service, but
when use with the two lines above it, the service never installs. Something
must be wrong with the way I'm setting the PARAMS.

ServiceInitParams();
SERVICE_IS_PARAMS.dwServiceType = SERVICE_IS_INTERACTIVE;

ServiceAddService("Service1","Service1","Service1",service1.exe,FALSE,"");


Does anyone have any ideas of what I could be doing wrong here?

Thanks,

Al


0 new messages