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,
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)
Please log in to answer
Posted by:
anonymous_9363
16 years ago
Posted by:
pumagaju
16 years ago
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,
Thanks,
Posted by:
pumagaju
16 years ago
Thanks AngelD... I'm heading down the right path now. Now that I've added a ServiceControl, I get the 1920 error...
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,
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
Posted by:
anonymous_9363
16 years ago
ORIGINAL: pumagajuAfter manual installation, can you start the service from the command line with that account (NET START [SERVICENAME])?
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?
Posted by:
Inabus
16 years ago
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
P
Posted by:
pumagaju
16 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.