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

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.

Answers

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?
Answered 02/21/2008 by: VBScab
Red Belt

Please log in to comment
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,
Answered 02/21/2008 by: pumagaju
Senior Yellow Belt

Please log in to comment
0
Try using the ServiceControl table to start the service.
Answered 02/21/2008 by: AngelD
Red Belt

Please log in to comment
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,
Answered 02/21/2008 by: pumagaju
Senior Yellow Belt

Please log in to comment
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?
Answered 02/21/2008 by: AngelD
Red Belt

Please log in to comment
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])?
Answered 02/22/2008 by: VBScab
Red Belt

Please log in to comment
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
Answered 02/22/2008 by: Inabus
Second Degree Green Belt

Please log in to comment
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. [:)]
Answered 02/22/2008 by: pumagaju
Senior Yellow Belt

Please log in to comment
0
Nice done pumagaju [:D]
Answered 02/22/2008 by: AngelD
Red Belt

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