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


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


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.
Answered 05/14/2008 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity