aspnet / Tooling

Issue tracker and info on Visual Studio tooling for ASP.NET
Other
256 stars 124 forks source link

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

Open DamienDennehy opened 7 years ago

DamienDennehy commented 7 years ago

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 commented 7 years ago

Hitting this issue too. Any workaround ?

davidfowl commented 7 years ago

/cc @joeloff

joeloff commented 7 years ago

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 commented 7 years ago

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

joeloff commented 7 years ago

@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 commented 7 years ago

@joeloff Thank you sir

SpyKing commented 7 years ago

@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 commented 7 years ago

@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 commented 7 years ago

@joeloff That worked!

DamienDennehy commented 7 years ago

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 commented 7 years ago

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

Cuiqs76 commented 7 years ago

according joeloff 's advice, my issue solved.

sharpe5 commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

~~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: https://github.com/dotnet/core/issues/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 commented 7 years ago

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 commented 7 years ago

@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 commented 7 years ago

@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 commented 7 years ago

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

dguerin commented 7 years ago

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

webenformasyon commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

@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 commented 7 years ago

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

diev commented 7 years ago

2.0.2 is in #789

AdrianPT commented 7 years ago

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

jnm2 commented 7 years ago

Log: https://github.com/aspnet/Tooling/issues/789#issuecomment-298364284

gzepeda commented 7 years ago

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 commented 7 years ago

See also https://stackoverflow.com/questions/37624775/how-do-i-uninstall-microsoft-net-core-1-0-0-rc2-vs-2015-tooling-preview-1 "viewed 11006 times"

kathyrollo commented 7 years ago

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

jayakumarvinayagamRepo commented 7 years ago

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

joeloff commented 7 years ago

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

Spongman commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

joeloff: I am glad to hear that you found a solution to my issue. I am currently off work so I will try tomorrow this solution, hoping it will resolve my problem. Thank you fr your time

dlynchcodes commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

That sounds like a good idea to me. Thanks!

shawty commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

@bestpika Read the comment I wrote just before yours.

joeloff commented 6 years ago

Try this link

bestpika commented 6 years ago

@shawty @joeloff thanks!

thesam69 commented 6 years ago

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

shawty commented 6 years ago

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

thesam69 commented 6 years ago

it's missing file therefore shows the error

lostindark commented 6 years ago

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

lakshyaleader commented 6 years ago

https://stackoverflow.com/questions/52024110/uninstall-net-core-sdk-when-visual-studio-no-longer-exists

lhmartino commented 5 years ago

@webenformasyon solution works for me! Thanks!