Skip to content
This repository has been archived by the owner on Apr 11, 2020. It is now read-only.

Uninstalling .NET Core VS2015 Tooling Preview 2 requires the original exe. #876

Open
DamienDennehy opened this issue Nov 22, 2016 · 50 comments
Labels

Comments

@DamienDennehy
Copy link

Uninstalling .NET Core VS2015 Tooling Preview 2 requires the original exe.

When uninstalling a version of .NET Core VS2015 Tooling Preview 2, you are asked to specify the location of the original install file.

Functional impact

You have to track down the exact version (in my case DotNetCore.1.0.0-VS2015Tools.Preview2.0.1.exe) and download it to your PC to uninstall the Tooling. This can be time consuming if your team has slightly different versions.

Minimal repro steps

  1. Install VS2015 Community with Update 3.
  2. Install Tooling Preview 2 (specific versions were DotNetCore.1.0.0-VS2015Tools.Preview2.0.1.exe and DotNetCore.1.0.0-VS2015Tools.Preview2.0.3.exe).
  3. Restart the PC to finish updates.
  4. Remove the .exe from the original location it was installed from (ex: D:\Downloads).
  5. Uninstall the Tooling. You will be asked to locate the original .exe.

Expected result

The Tooling should simply uninstall.

Actual result

Failure to uninstall unless the original .exe is specified.

Further technical details

This was replicated on two separate machines, one running 2.0.1, the other 2.0.3.
image
image

@gmartinezsan
Copy link

Hitting this issue too. Any workaround ?

@davidfowl
Copy link
Member

/cc @joeloff

@joeloff
Copy link

joeloff commented Dec 2, 2016

Having the original EXE is required as it needs to run the installer to remove all the products. This is more than a single MSI. The bundle wraps a large number of installers and also contains the manifest that's needed to remove everything. The work-around is to download the original bundle (EXE). For the build you highlighted, that can be obtained from https://download.microsoft.com/download/2/F/8/2F864C4E-6980-4AFC-B64E-0AC04837FD6C/DotNetCore.1.0.0-VS2015Tools.Preview2.0.1.exe

@SpyKing
Copy link

SpyKing commented Dec 3, 2016

where can i find the DotNetCore.1.0.0-VS2015Tools.Preview2.0.3.exe?

@joeloff
Copy link

joeloff commented Dec 3, 2016

@SpyKing You can find it here: https://download.microsoft.com/download/5/5/7/557D02A5-C3D0-4EF6-A570-4F75CD0DA5BF/DotNetCore.1.0.1-VS2015Tools.Preview2.0.3.exe

@SpyKing
Copy link

SpyKing commented Dec 3, 2016

@joeloff Thank you sir

@SpyKing
Copy link

SpyKing commented Dec 3, 2016

@joeloff when i try to open the link this error comes - The webpage at https://download.microsoft.com/download/5/5/7/557D02A5-C3D0-4EF6-A570-4F75CD0DA5BF/DotNetCore.1.0.1-VS2015Tools.Preview2.0.3.exe might be temporarily down or it may have moved permanently to a new web address.

@joeloff
Copy link

joeloff commented Dec 3, 2016

@SpyKing, my apologies, I grabbed the 2.0.2 URL. 2.0.3 is here: https://download.microsoft.com/download/F/6/E/F6ECBBCC-B02F-424E-8E03-D47E9FA631B7/DotNetCore.1.0.1-VS2015Tools.Preview2.0.3.exe

@SpyKing
Copy link

SpyKing commented Dec 3, 2016

@joeloff That worked!

@DamienDennehy
Copy link
Author

DamienDennehy commented Dec 3, 2016

I think the problem here is that due to the focus on newer versions of .NET Core it can be difficult to track down the exact version that's required (see the several requests above).
If the issue can't be fixed it would be useful to have a "Previous releases" page somewhere with a list to all the exes.

@mlorbetske
Copy link

@balachir would it be possible to put together a previous releases page as @DamienDennehy mentioned?

@Cuiqs76
Copy link

Cuiqs76 commented Feb 14, 2017

according joeloff 's advice, my issue solved.

@sharpe5
Copy link

sharpe5 commented Feb 23, 2017

I ran into the same problem. I could not uninstall "Microsoft .NET Core 1.0.1 VS 2015 Tooling Preview 2", as it needed the original .exe file (which was not available).

The error message was not helpful: it said that it needed "Preview2.0.2.exe", whereas in fact it needed "DotNetCore.1.0.1-VS2015Tools.Preview2.0.2.exe".

Solved it by locating the original .exe using the links above. Thanks!

@Arnavion
Copy link

Arnavion commented Mar 9, 2017

The error message was not helpful: it said that it needed "Preview2.0.2.exe", whereas in fact it needed "DotNetCore.1.0.1-VS2015Tools.Preview2.0.2.exe".

It does actually say "DotNetCore.1.0.1-VS2015Tools.Preview2.0.2.exe" (or "DotNetCore.1.0.1-VS2015Tools.Preview2.0.3.exe") but the text is shifted so that only the bit starting from "Preview..." is visible.

@mrquestion
Copy link

mrquestion commented Mar 17, 2017

Uninstaller on my computer needs "DotNetCore.1.0.0-VS2015Tools.Preview2.exe" not 2.0.1 or 2.0.2 or 2.0.3
Please let me know how I can find that file or all version listed page

I found 1.0.0-VS2015-Preview2 from another link:

Github Issue: dotnet/core#480
Download: http://download.microsoft.com/download/A/3/8/A38489F3-9777-41DD-83F8-2CBDFAB2520C/DotNetCore.1.0.0-VS2015Tools.Preview2.exe

And here is 1.0.0RC2-VS2015-Preview1.

StackOverflow: http://stackoverflow.com/a/38125678
Download: http://download.microsoft.com/download/4/6/1/46116DFF-29F9-4FF8-94BF-F9BE05BE263B/DotNetCore.1.0.0.RC2-VS2015Tools.Preview1.exe

By the way, I found all listed post.

StackOverflow: http://stackoverflow.com/a/37629624

Why didn't they list all versions on "Release Build Archive"?

https://github.com/dotnet/core/blob/master/release-notes/download-archive.md

@CrossBound
Copy link

I tried the link that @joeloff posted ( https://download.microsoft.com/download/F/6/E/F6ECBBCC-B02F-424E-8E03-D47E9FA631B7/DotNetCore.1.0.1-VS2015Tools.Preview2.0.3.exe ). When I go through the uninstall and select that executable it fails with this error [ 0x80091007 - The hash value is not correct. ] (See screenshot below)

I don't know what version of the installer I need or how to find that information. The log file was completely empty when I clicked on the link to view it.

Any Ideas?

image

@joeloff
Copy link

joeloff commented Mar 22, 2017

@PSCapng in Add Remove Programs (the screenshot you sent). What is the value of the version column?

If it's 1.0.20908.53 then you can try this

If it's 1.0.21114.69 you can try this

@CrossBound
Copy link

@joeloff It was version 1.0.20908.53, and that linked worked perfectly. Interestingly it never prompted me for the location of the installer I downloaded, it just automagically worked.

Thank you much for your help.

@ashotmuradian
Copy link

Thanks a lot!
I had both 1.0.20908.53 and 1.0.21114.69. Both uninstalled perfectly

@dguerin
Copy link

dguerin commented Apr 1, 2017

For me I just repaired the installation for Preview 2 and then uninstalled it without the need for the origional exe.

@webenformasyon
Copy link

webenformasyon commented Apr 20, 2017

http://stackoverflow.com/questions/38134005/the-specified-account-already-exists-net-core-rc2-tooling-preview-1

At this link below solution works
"
My solution was to find the MSI package for WebToolsExtensionsV14 in Package Cache (C:\ProgramData\Package Cache{BFC344B0-DCDE-36EB-AB05-CB194F2BE946}v14.1.21111.0\packages\WebToolsExtensionsVS14_69.msi) and right click uninstall it. Then running uninstaller will work for core tools.

My recommendation for the future is remove all tools dependent on VS first, before removing VS itself. Then remove things VS depends on.

I found some related issue here, after I figured it out. https://social.msdn.microsoft.com/Forums/vstudio/en-US/ae380a17-60e0-43a4-a481-6e58915e7897/net-core-errors-on-installation-webtoolsextensionsvs14-encountered-error-0x80070643?forum=vssetup

"

@WaelFarag
Copy link

WaelFarag commented Apr 21, 2017

Me Too, Thanks a lot!
I had both 1.0.20908.53 and 1.0.21114.69. Both uninstalled perfectly
I've deleted the setup files when I installed the latest version, as I thought it is an upgrade.
Also, when I searched for them, they were removed from public portal of dotnet core

@jnm2
Copy link

jnm2 commented May 1, 2017

@joeloff The DotNetCore.1.0.1-VS2015Tools.Preview2.0.2.exe link was what I needed! Thanks! So frustrating that you can't just google the filename and find it anywhere.

@jnm2
Copy link

jnm2 commented May 1, 2017

Trying to uninstall 2.0.2 results in a loop showing the message "The specified account already exists."

@diev
Copy link

diev commented May 1, 2017

2.0.2 is in #789

@AdrianPT
Copy link

AdrianPT commented May 2, 2017

Same problem here "The specified account already exists." ....

@jnm2
Copy link

jnm2 commented May 2, 2017

Log: #789 (comment)

@gzepeda
Copy link

gzepeda commented May 29, 2017

I had to use different versions of the installer files but I was able to successfully remove the three installations I had. Thanks everybody for sharing the links.

@hickford
Copy link

@kathyrollo
Copy link

kathyrollo commented Jul 9, 2017

For those stuck in the "specified account already exists" loop, see #1024 for solution.

@jayakumarvinayagamRepo
Copy link

I used version 1.0.20811.48, could you please share any original executable for the same.

@joeloff
Copy link

joeloff commented Sep 7, 2017

@Spongman
Copy link

Spongman commented Oct 5, 2017

IMHO it's absolutely unacceptable to require the user to download something in order to uninstall. the uninstall should be self-contained and retained as part of the install. especially since the installer constitutes less than 0.08% of the size of the total install.

@loic-leprieur
Copy link

I am having the same problem with a newer version. When I want to uninstall the program, it asks me to provide the original kit which I deleted. Its name is DotNetCore.1.0.1-VS2015Tools.Preview2.0.4.exe but its is unavailable on Microsoft's download platform... This is really annoying and it makes me wastes a lot of time to track and fix the issue.

@joeloff
Copy link

joeloff commented Oct 16, 2017

The tooling bundle is an EXE that wraps the individual MSIs. All Add/Remove Programs has is a few registry keys, one of which points to the original location from where the install was launched. That path is used for uninstalls/upgrades/repairs. You can find the download here

@loic-leprieur
Copy link

loic-leprieur commented Oct 16, 2017 via email

@dlynchcodes
Copy link

joeloff that last link was the one that I needed.

How are you finding these? How would one go about locating the correct version other than asking you to acquire it for us?

@joeloff
Copy link

joeloff commented Feb 22, 2018

I've kept track internally of all the releases for 2015 as they were updated. For VS2015, the last few updates were published through the Visual Studio Marketplace, which typically only records the latest download location. Unfortunately, the marketplace site does offer an easy way to track previous releases as any updates requires replacing existing items with the new downloads. I'll have a chat with my team and see whether we can maybe post the previous links as a comment or something on the market place entry

@dlynchcodes
Copy link

That sounds like a good idea to me. Thanks!

@shawty
Copy link

shawty commented Mar 14, 2018

DotNetCore.1.0.1-VS2015Tools.Preview2.0.4.exe anyone?

I have 1.9gb of disk space that I'd like to reclaim, and all I can find is the 2.0.3 version, 2.0.4 seems to not exist anywhere.

Needless to say, it's refusing to let me uninstall it without the exe.

four or five hours later ------>

Iv'e just realised that "joeloff"'s comment 5 above this one has the word "Here" right on the end, if you look carefully, it's a link to the 2.0.4 version!!!

@bestpika
Copy link

I want to uninstall Microsoft .NET Core 1.0.1 - VS 2015 Tooling Preview 2 - 1.0.30906.74.
But uninstaller say I have to select DotNetCore.1.0.1-VS2015Tools.Preview2.0.4.exe path.
Where I can get DotNetCore.1.0.1-VS2015Tools.Preview2.0.4.exe?

@shawty
Copy link

shawty commented Mar 30, 2018

@bestpika Read the comment I wrote just before yours.

@joeloff
Copy link

joeloff commented Mar 30, 2018

Try this link

@bestpika
Copy link

@shawty @joeloff thanks!

@thesam69
Copy link

how to uninstall DotNetCore.1.0.1-VS2015Tools.Preview2.0.4.exe, please help

@shawty
Copy link

shawty commented May 14, 2018

Same way you uninstall any windows software, go into your Add/Remove programs and select it from there.

@thesam69
Copy link

it's missing file therefore shows the error

@lostindark
Copy link

lostindark commented May 25, 2018

Spent hours on search for all versions and found this thread is very useful. To help future searchers, here is the full list I found so far.

DotNetCore.1.0.0.RC2-VS2015Tools.Preview1.exe
https://download.microsoft.com/download/4/6/1/46116DFF-29F9-4FF8-94BF-F9BE05BE263B/DotNetCore.1.0.0.RC2-VS2015Tools.Preview1.exe

DotNetCore.1.0.0-VS2015Tools.Preview2.exe
https://download.microsoft.com/download/A/3/8/A38489F3-9777-41DD-83F8-2CBDFAB2520C/DotNetCore.1.0.0-VS2015Tools.Preview2.exe

DotNetCore.1.0.0-VS2015Tools.Preview2.0.1.exe
https://download.microsoft.com/download/2/F/8/2F864C4E-6980-4AFC-B64E-0AC04837FD6C/DotNetCore.1.0.0-VS2015Tools.Preview2.0.1.exe

DotNetCore.1.0.1-VS2015Tools.Preview2.0.2.exe
https://download.microsoft.com/download/5/5/7/557D02A5-C3D0-4EF6-A570-4F75CD0DA5BF/DotNetCore.1.0.1-VS2015Tools.Preview2.0.2.exe

DotNetCore.1.0.1-VS2015Tools.Preview2.0.3.exe
https://download.microsoft.com/download/F/6/E/F6ECBBCC-B02F-424E-8E03-D47E9FA631B7/DotNetCore.1.0.1-VS2015Tools.Preview2.0.3.exe

DotNetCore.1.0.1-VS2015Tools.Preview2.0.4.exe
https://download.microsoft.com/download/D/7/5/D75188CA-848C-4634-B402-4B746E9F516A/DotNetCore.1.0.1-VS2015Tools.Preview2.0.4.exe

@lhmartino
Copy link

@webenformasyon solution works for me! Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests