Add error handling to Windows package management; use installer if uninstaller is missing
Replace tabs with spaces
Merge pull request #5405 from djs52/develop

Add error handling to Windows package management