App Muncher

Issues faced - solutions identified - shared with community.

Unable to install or uninstall a window service, use the following:

Open command prompt.

check path using command

'path'

Specify path to access Installutil without changing the actual path:
Use command:

path=%path%c:\windows\microsoft\Framework\v2.0.xxxx\

now run command 'path' to verify which all paths are available.

Now run command as follows:

For installing the service
>InstallUtil c:\Program files\Program name\ServiceName.exe /i


For uninstalling the service
>InstallUtil c:\Program files\Program name\ServiceName.exe /u

No comments:

Post a Comment

| Designed by AppMuncher