My Windows installation got corrupt and I had to reinstall it, which wiped my whole Windows(C:) drive. I installed Visual Studio on D: drive which remained intact. Now, when I start it, it tells me to reinstall it. There is no 'Visual Studio 2015' in Add or Remove Programs (as it is not in the new registry). Is there anyway I can repair it WITHOUT having to reinstall the WHOLE Visual Studio package again?
Delete Visual Studio on D:, then install it again from the original installer.
Related
I installed Visual Studio 22 community on F:......
Then I had to rename my directory F:\ to E:\ (don't ask)
Now my visual studio installer can't find installed version (folder in on disk E:),
I can't launch visual studio from start panel etc.
Is there any way to restore this version, or I have to reinstall it. (my internet connection is super bad, and these 20+ gb are lethal)
During update Visual Studio 2019 to latest version (16.9), setup failed. Stupidly I closed installer window without read the error.
When I retryed the update, the Installer crashes few seconds after start.
I have uninstalled wholly Visual Studio, but Installer still crash.
I think something is left dirty after first update fail, I tried to search in log files recoverd by collect.exe tools, but I can't found usefull information in that bilions of messages.
Reinstalling Windows must be the last choice, there is a way to take crash error for undertand the problem and search for a solution?
EDIT
Also InstallCleanup.exe don't solve the problem
Visual Studio Installer version 2.9.3349 has problems with culture "it-IT". If that's your case (as it is mine), there is a workaround here:
https://developercommunity.visualstudio.com/t/Visual-Studio-Installer-crashes-after-up/1356122
The workaround is to force a working locale: ./vs_installer.exe --locale en-US
If you think your install and/or installer is corrupted, run the installation cleaner tool available at the URL below and then re-download the latest installer, from which you can get 16.9.
https://learn.microsoft.com/en-us/visualstudio/install/remove-visual-studio?view=vs-2019
Additionally there is a step you can try in Troubleshooting Installation Issues, specifically Step 4 (The advice above the break is actually Step 6 in this process)
Step 4 - Delete the Visual Studio Installer directory to fix upgrade problems
The Visual Studio Installer bootstrapper is a minimal light-weight executable that installs the rest of the Visual Studio Installer. Deleting Visual Studio Installer files and then rerunning the bootstrapper might solve some update failures.
Note
Performing the following actions reinstalls the Visual Studio Installer files and resets the installation metadata.
Close the Visual Studio Installer.
Delete the Visual Studio Installer directory. Typically, the directory is C:\Program Files (x86)\Microsoft Visual Studio\Installer.
Run the Visual Studio Installer bootstrapper. You might find the bootstrapper in your Downloads folder with a file name that follows a vs_[Visual Studio edition]__*.exe pattern. If you don't find that application, you can download the bootstrapper by going to the Visual Studio downloads page and clicking Download for your edition of Visual Studio. Then, run the executable to reset your installation metadata.
Try to install or update Visual Studio again. If the Installer continues to fail, go to the next step.
You have to download the installer again for the offline installation eg.vs_enterprise.exe then run vs_enterprise.exe --layout "folder where you have the offline installation". The new installer needs to download a different new configuration file vs_installer.version.json
https://learn.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2019
I have Visual Studio 2019 v16.1.6 installed on my Windows 10 x64 machine. My Visual Studio installer doesn't find any updates and thinks that 16.1.6 is the latest version. I've tried deleting the Visual Studio installer folder — which triggers a reinstall of it — but to no avail. I've also tried uninstalling VS, which didn't work.
Anyone had a problem like this before? My machine was re-imaged recently and it's possible a prerequisite for upgrading VS is missing. Could there be a windows patch or other software I could be missing?
Update your Visual Studio Installer first, then you can update Visual Studio.
I fixed this myself. The installer was reading a json file on my work's network to check for updates, rather than going out to the web. Fixed it by deleting a registry key pointing to the local network location.
I installed a VS 2013 trial on my Windows 10 PC. Now the trial period has expired and I want to remove it. However I can not find it listed under Control Panel->Programs->Programs and Features!?
Search C:\ProgramData\Package Cache\ for vs_*.exe and you should see one or more bootstrap installers named for the version, E.g. vs_enterprise.exe, vs_community.exe
Run the executable with the /uninstall command line.
Alternatively run the original installer again in the hopes that it offers an uninstall option, if not reinstall it in the hopes it fixes the missing link.
You could use the Visual Studio Uninstaller. Its a tool developed by Microsoft and should get rid of the Visual Studio Instance.
I merged my partitioned HDD and had to move the Visual Studio 2013 Ultimate installation folder manually between the partitions, along with some other applications. Something went wrong when moving Visual Studio and now I can no longer run it.
Whenever I try to open Visual studio this pops up:
Trying to uninstall gives me this message:
A repair results in this:
I have also tried to just remove the folder from Program Files to try and get a clean install but there wasn't any install button in the setup. (only repair/modify/uninstall)
Is there a way to manually tell Visual studio that these files are just moved or is it possible to remove Visual studio completely and run a new setup?
Answering my own question for future readers.
I fixed it by splitting the disk again and moving the folder to it's original directory. That way I could uninstall Visual Studio from "D:/" and reinstall it on "C:/".