Bug 51436 - [Willow] XVS uninstall deletes all of HKCU\Software\Xamarin
Summary: [Willow] XVS uninstall deletes all of HKCU\Software\Xamarin
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Installer ()
Version: 4.3.0 (C9)
Hardware: PC Windows
: Normal critical
Target Milestone: 4.3.0 (C9)
Assignee: Bugzilla
Depends on:
Reported: 2017-01-12 04:13 UTC by Sandy Armstrong [MSFT]
Modified: 2017-02-02 17:11 UTC (History)
7 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Comment 1 Aaron Bockover [MSFT] 2017-01-12 04:25:54 UTC
If XVS needs to delete keys under HKCU\Software\Xamarin during uninstall, it should explicitly remove only the subkeys it owns. Nuking the whole HKCU\Software\Xamarin key is dirty behavior.
Comment 2 xamarin-release-manager 2017-01-13 19:06:51 UTC
Fixed in version (cycle9)

Author: Sandy Armstrong
Commit: 11529ca5e668e19c1c66527203914143bb07bda0 (xamarin/inspector-ide-integration)
Included in Commit: aabc3436fece167027d9f1fdfd859b9c238b56b4 (xamarin/XamarinVS)
Comment 3 Sandy Armstrong [MSFT] 2017-01-13 19:40:32 UTC
I think this automatically got marked as fixed because it was referenced in a commit.

The commit only works around the issue.
Comment 4 xamarin-release-manager 2017-01-25 15:58:23 UTC
Fixed in version (master)

Author: josegallardo
Commit: 7f2db81603ef0ce269bf0876db374faea6a74e39 (xamarin/XamarinVS)
Comment 5 xamarin-release-manager 2017-01-25 15:58:32 UTC
Fixed in version (cycle9)

Author: josegallardo
Commit: 8a163b525984963e5dbd507298a3249c03aa51bc (xamarin/XamarinVS)
Comment 6 Naqeeb 2017-02-02 17:11:00 UTC
I have checked this issue with steps given in bug description and observed that it is working fine. HKCU\Software\Xamarin\Inspector still exists after follow the complete steps give in bug description.

Following steps:
1. Install Workbooks XamarinInteractive-
2. Verify that HKCU\Software\Xamarin\Inspector exists.
3. Install VS2017 RC, select Xamarin workload (installs XVS
4. Verify that HKCU\Software\Xamarin\Inspector exists, still.
5. Upgrade to XVS like

Environment info: https://gist.github.com/NaqeebAnsari/36b8e41186a32e49eef66c83879d5a05

Hence closing this issue.