Windows Server 2008 R2 uninstall method permission denied
Hello,
first of all thank you very much for such a useful extension! The installation process works fine, but I receive an error during the uninstall process.
I am running the script having administration rights and every file except for the "nodejswrapperforsolr.exe" file is removed. I also do not know if it is caused by the error, but the actual windows service also remains in the list of all windows services. I believe, that it has something to do with my operating system (Windows Server 2008 R2), because only the executable file stays untouched and causes the permission error.
Thank you in advice, vrugaiti
Try running the uninstaller twice. There is a nasty little timing issue with winsw.exe, and this may be the root of your issue. Let me know if that works for you.
Hi,
I'm experiencing the same problem at Windows 7 Pro 64 bit.
If I try to execute the uninstaller two times, the second (and the followings) doesn't complete the uninstallation process, reporting:
"Uninstall was skipped because process does not exist or could not be found."
Nevertheless, the service is still listed in the Service Management Console.
Thanks
@carlosbello - Thanks. This is a known issue. I am hoping the updates to winsw have resolved the issue (which is the version that will be included in the next version).
Increasing the wait time to 10 seconds still does not resolve this, (using #52). I believe that is known. For the record, I'm using Vagrant so there is some folder sync going on next to the daemon, that may be affecting it.
I'm using the latest commit to master at the time of commenting: https://github.com/coreybutler/node-windows/commit/ddaf145504186a783571f76783c2eb4e66ce8775 so if winsw was changed, it has not resolved this issue.