/build/static/layout/Breadcrumb_cap_w.png

Create service not installed by package

hi folks, first off, doing this by custom action is not what i want to do.
Can i use the service tables to create and start a service that was installed by another package?
for example c:\test\test.exe is installed by pkgA.
Can i create and start test.exe passing it a parameter also within the tables in pkgB?

so far i am not having any joy with Installshield! It seems that you need to have the exe in your pkg to create a service!

any help would be great

0 Comments   [ + ] Show comments

Answers (1)

Posted by: anonymous_9363 15 years ago
Red Belt
0
So, the other package installs the EXE but DOESN'T create the service?!? Jeez...

I'm pretty sure you could fool IS by using any EXE as the service 'host', simply to create the necessary entries in the ServiceInstall table and then edit the table afterwards. You can certainly control any service using the ServcieControl table.

I'm wondering why you're reticent about doing this via CA, though. You get a fair bit more control, plus no hassles with IS's fussiness. I have a WMI-based service control script, if you'd like it. It'd be simple to edit it to create the service, too, since that just involves a bunch of registry entries.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ