Uninstall-Service script has hard-coded Windows directory ("C:\Windows")

Issue #143 resolved
Anonymous created an issue

See line 47. This blows up on a server with Windows installed on some other drive (for example, every Cloud Service instance in Azure).

Install-Service correctly uses the WinDir environment variable. This script should too.

Thanks for a fantastic toolset, BTW!

Comments (1)

  1. Log in to comment