installing windows service with SC.exe or InstallUtil.exe - there is difference but which?
Posted
by
LosManos
on Stack Overflow
See other posts from Stack Overflow
or by LosManos
Published on 2011-01-14T14:46:31Z
Indexed on
2011/01/14
17:53 UTC
Read the original article
Hit count: 294
hejdig.
SC.exe and InstallUtil both install/uninstall windows services. But they don't seem to work the same way.
What is the difference?
For instance InstallUtil fails (some file or dependency not found error) while Sc create happily installs the service. Too add to the strangeness; the service doesn't show up if I run net start in the console. But it does show up in the services GUI. Variants of this happen when I try to uninstall.
I have written the service myself and earlier versions work. Dotnet3.5.
/OF
© Stack Overflow or respective owner