1

I have a problem with installing a service via installutil. I've installed / uninstalled a service several times via "installutil (\u) service.exe" without problems. Now I wanted to try some modified code and uninstalled the service again. But if I want to install the service again (via installutil service.exe) it gets stuck on "Installing service SERVICENAME..." (Normally it's installed in an instant but right now it runs for 10 minutes). I tried to install the same service on another PC - it installs without problems there.

Does anyone have a solution for this problem? (The service is uninstalled and doesn't appear in the services.msc).

mungflesh
  • 776
  • 11
  • 22
cb_dev
  • 379
  • 1
  • 3
  • 16
  • 1
    I hate to say this but have you tried rebooting? – acfrancis Oct 28 '13 at 10:42
  • 3
    Unless you're changing the actual installation code in the service, there's no need to uninstall/reinstall whenever you change the code. The registration information is the same whatever the actual binary is. – Damien_The_Unbeliever Oct 28 '13 at 10:44
  • Yes I've tried to reboot ;) – cb_dev Oct 28 '13 at 10:44
  • It seems like, I can't install any service with installutil right now.. I've tried to setup a new simple service, which stucks installing too. Is there a tempfolder or something like that for the installutil which can be cleared/reseted? – cb_dev Oct 28 '13 at 10:53

0 Answers0