-
Notifications
You must be signed in to change notification settings - Fork 905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AutoUninstaller - Captures registry snapshot escaping quotes - unable to find path for uninstall #1540
Comments
Full log please. |
@gep13 do you think this might have something to do with our changes for 0.10.9 where we are converting values with escaping bad XML? |
@ferventcoder Do you still require a full output of an uninstall? |
@ferventcoder I was able to reproduce this on the choco environment with 0.10.10. I added a gist with both install and uninstall log, as well as the detected registry xml (which I believe is the source of the problem here). https://gist.github.com/AdmiringWorm/61e34d79306b81c7d8b60bffadf6d9cd |
Basically it seems the detection is escaping quotes when it shouldn't. |
We think this was caused by #1505. |
This same thing is happening to me for just about every package using an auto uninstaller. Perhaps this is a red herring: I'm using JPN locale. |
It's not that, it's happening likely for everyone - so we're bumping the priority of this up. |
The change made for GH-1505 caused the registry information to escape a little too well, so some of the quotes and apostrophes were being saved as `'` and `"`. When it came time for automatic uninstaller to remove the software that was found in the snapshot, it didn't know how to work with those escaped double quotes and gave up very quickly. To fix this, don't escape those two items, but handle any that may have already had this adjustment.
* stable: (version) 0.10.11 (doc) update release notes for 0.10.11 (GH-1540) Fix - AutoUninstaller can't find escaped quotes (GH-1543) Fix - log format error on install location with GUID (GH-1500) Fix - Wrap Write-Host if used in setup (GH-991) Install - Modify profile if file exists & empty (GH-1443) Set original config before loop (maint) add a note for GH-1548 (GH-1557) Upgrade 7z to 18.5
What You Are Seeing?
git.install
auto uninstaller can't find the git uninstaller even though it exists. The path seems to have bogus quotes.What is Expected?
The git uninstall should run and git should be uninstalled.
How Did You Get This To Happen? (Steps to Reproduce)
Output Log
However, the file actually exists.
The text was updated successfully, but these errors were encountered: