Bug 30523 - [XVS] Need to run the setup wizard twice to fully remove XVS
Summary: [XVS] Need to run the setup wizard twice to fully remove XVS
Status: RESOLVED INVALID
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Installer ()
Version: 3.11 (C5)
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-05-27 18:03 UTC by Dylan Kelly
Modified: 2017-07-07 20:25 UTC (History)
6 users (show)

Tags:
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:
Status:
RESOLVED INVALID

Description Dylan Kelly 2015-05-27 18:03:04 UTC
When I run the XVS.msi Setup Wizard to remove XVS, I must do so twice to fully remove it on Windows 8.1. This issue is present on the current C5SR1 builds and continues through to XRA builds.

Steps to reproduce:
1) Download C5SR1 XVS Beta build (3.11.584)
2) Run XVS setup wizard, install XVS 3.11.584
3) Run XVS setup wizard, remove XVS 3.11.584, noting the time it takes to do so and that you are not prompted to give administrative permission to uninstall
4) Run XVS setup wizard, noting that the wizard does not prompt you to begin a full install
5) Select the "Change" option and note that all features are listed as not being installed
6) Select the "Back" option
7) Remove XVS 3.11.584, noting the time it takes to do so is substantially shorter than before and that this time you are prompted to give administrative permission to uninstall
8) Run XVS setup wizard, now you are prompted to begin a full install

This is a minor inconvenience if a user wants to do a clean reinstall of the same build.

Environment Info: https://gist.github.com/dylankelly5/d693cf55d1131c26776f
Comment 1 Dylan Kelly 2015-06-10 15:27:50 UTC
Supplemental info: Right clicking the .msi and choosing uninstall works in one go
Comment 2 vga 2017-06-28 19:15:20 UTC
Cannot repro this with latest MSI for VS 2015. If you still can repro this, please provide verbose logs by running msiexec.exe and attach to this bug so we can take a look about why this may be requiring "two passes" sometimes.
Comment 3 Dominic N [MSFT] 2017-07-07 20:25:02 UTC
A reproduction was attempted based on the bug description using the MSI installer for Visual Studio 2015 (4.5.0.486).

The installer successfully removes the Xamarin Component on the first uninstall (and does indeed prompt for Admin Permission).

Opening back up the installer, the installer does indeed start a full "fresh install". 

Moving this bug to resolved.