Bug 38773 - [XVS 4.0] Running the MSI installer from within the update workflow in Visual Studio prompts the user to shut down Visual Studio
Summary: [XVS 4.0] Running the MSI installer from within the update workflow in Visual...
Status: RESOLVED NOT_ON_ROADMAP
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Updater ()
Version: 4.0.0 (C6)
Hardware: PC Windows
: Normal normal
Target Milestone: 4.4.0 (C10)
Assignee: Bugzilla
URL:
Depends on: 38753
Blocks:
  Show dependency tree
 
Reported: 2016-02-15 19:25 UTC by Brendan Zagaeski (Xamarin Team, assistant)
Modified: 2017-05-31 18:34 UTC (History)
3 users (show)

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


Attachments
Screenshot of the installer prompt that asks to quit Visual Studio (23.29 KB, image/png)
2016-02-15 19:25 UTC, Brendan Zagaeski (Xamarin Team, assistant)
Details


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 NOT_ON_ROADMAP

Description Brendan Zagaeski (Xamarin Team, assistant) 2016-02-15 19:25:31 UTC
Created attachment 15049 [details]
Screenshot of the installer prompt that asks to quit Visual Studio

[XVS 4.0] Running the MSI installer from within the update workflow in Visual Studio prompts the user to shut down Visual Studio




This is a small follow-up to Bug 38753.




## Regression status: regression in Cycle 6

BAD:  XamarinVS 4.0.1.93
GOOD: XamarinVS 3.11.1594




## Steps to replicate

1. Install a version of Xamarin that is different than the current Stable version.

2. Open "Tools -> Options -> Xamarin -> Other -> Check Now" to check for an update.

3. Download the update.

4. Click the "Install" button to install the update.

5. Click "Next" 3 times, and then click the "Install" button in the MSI installer and click "Yes" if you are prompted by Windows UAC.




## Results

The installer prompts the user to quit Visual Studio:

> Files in Use
>
> Some files that need to be updated are currently in use.
>
>
> The following applications are using files that need to be updated by
> this setup. You can let Setup Wizard close them and attempt to restart
> them or reboot the machine later.
> 
> Microsoft Visual Studio 2013
> 
> (*) Close the applications and attempt to restart them.
> 
> ( ) Do not close applications. A reboot will be required.




## Expected results

In XamarinVS 3.11.1594, the update workflow in Visual Studio would automatically shut down Visual Studio before running the MSI. I believe this behavior was intentionally removed in XamarinVS 4.0 because shutting down Visual Studio was no longer necessary.

But I think maybe the MSI installer still needs a small additional correction to remove this check?




Thanks!
Comment 3 Jose Gallardo 2017-05-31 18:34:37 UTC
Resolving as not on roadmap.
Instead, we're moving towards the integrated Visual Studio setup (as it is already for VS2017), and phasing out the legacy Updater.

Thanks