/build/static/layout/Breadcrumb_cap_w.png

AdminStudio Help: Adding a Service

I need some beginner help that doesnt seem to be covered via searching the forums or through the Help File.
I recreated the msi making sure the Service is in place and started and all looks good. However, when I run the newly created msi on a clean machine the service not only fails to start but its not even listed among the list of Services. Looks like this data is kept some other place than HKLM\System\CurrentControlSet\Services\ or at least there is additional data elsewhere...

Next I tried to manually add the keys under HKLM\System\CurrentControlSet\Services\Root\Enum but it still does not work.

Any ideas? ...by the way, using InstallShield 2008 Pro, AdminStudio Edition 14

Thanks,

0 Comments   [ + ] Show comments

Answers (9)

Posted by: anonymous_9363 16 years ago
Red Belt
0
ORIGINAL: pumagaju
I recreated the msi
Which service and what application (i.e. the one requiring the service, not InstallShield) are we talking about? Have you re-packaged a vendor MSI? If so, why?
Posted by: pumagaju 16 years ago
Senior Yellow Belt
0
I've tried creating an msi twice. Not re-creating a vendor msi. Sorry to confuse. The app is called Snare and the service it creates is also called snare. This is monitoring software that is intended for all our servers. Currently, as I have my msi, everything gets put into place but then it requires a reboot to start the service. ideally I'd like to bypass the server reboot. When I install the app manually it doesnt require a reboot.

Thanks,
Posted by: AngelD 16 years ago
Red Belt
0
Try using the ServiceControl table to start the service.
Posted by: pumagaju 16 years ago
Senior Yellow Belt
0
Thanks AngelD... I'm heading down the right path now. Now that I've added a ServiceControl, I get the 1920 error...
Service '[2]' ([3]) failed to start. Verify that you have sufficient privileges to start system services.
I am running this with an account that has domain and local admin privledges. Does this have anything to do with needing to run under a SYSTEM account?

Thanks,
Posted by: AngelD 16 years ago
Red Belt
0
Did you use the ServiceInstall table to install the service?
Sorry don't know much about AdminStudio but I'm sure there is a gui for installing and controling services which may be easier to use.
This isn't a kernel driver service right?
Posted by: anonymous_9363 16 years ago
Red Belt
0
ORIGINAL: pumagaju

Thanks AngelD... I'm heading down the right path now. Now that I've added a ServiceControl, I get the 1920 error...
Service '[2]' ([3]) failed to start. Verify that you have sufficient privileges to start system services.
I am running this with an account that has domain and local admin privledges. Does this have anything to do with needing to run under a SYSTEM account?
After manual installation, can you start the service from the command line with that account (NET START [SERVICENAME])?
Posted by: Inabus 16 years ago
Second Degree Green Belt
0
It isnt just about using the ServiceControl table its also about ensuring that all the correct service information is in the ServiceInstall table as chucking it all in the registry wont work, this also involves removing a ton of stuff about the service from the registry as well as it will be in the table.

P
Posted by: pumagaju 16 years ago
Senior Yellow Belt
0
I have solved my problem. Here is what I did. Thanks to the posts above the items I was missing were the ServiceInstall and ServiceControl tables. Once I set those properly I then needed to change the ServiceControl wait type from 'wait for SCM' to 'wait for event to complete'. Now the service fires up each and everytime like it should.
Thanks again for all the input and questions... I'm now a step further away from a novice user. [:)]
Posted by: AngelD 16 years ago
Red Belt
0
Nice done pumagaju [:D]
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