When you want to use "InstallUtil.exe" for installing a windows service, make sure that you use the correct version. You can only uninstall a .NET 2.0 windows service with the "InstallUtil.exe" in the folder "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe"
like:
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe" /u "C:\Program Files\ADA ICT\WindowsService1.exe"

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.