question

NoaFrancoRico-8706 avatar image
0 Votes"
NoaFrancoRico-8706 asked PengGe-MSFT commented

VS Installer Error Updating

Every time I open VS to work I get a notification saying that I have to install an update. I click on it, I try to install the update, the installer downloads, but when it has to install gives an error saying that: "another program is blocking the folder C:\Program Files (x86)\Microsoft Visual Studio\Installer or a file inside it. Close the applications that could be using it and try again." But I'm not running any other program that could be using it. I tried reestarting the pc, but no way. I also tried to repair and Uninstall VS but since I have to update it doesn't let me access to the VS installer either.

vs-setup
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Perhaps Windows Defender or a anti-virus app or group policy is blocking the folder access.

0 Votes 0 ·

Hi, @NoaFrancoRico-8706
May I know whether your issue has been solved or not? If not, please share it in here. We can work together to figure it out.

0 Votes 0 ·
NoaFrancoRico-8706 avatar image
0 Votes"
NoaFrancoRico-8706 answered PengGe-MSFT commented

I got to find a solution. Is not the most recomended, since deletes all the files in the VS' folder, but in my case it worked. I used the Installcleanup.exe that appears in the VS' folders. It cleaned all the instalations folders, I restarted the pc and after that I needed to install VS again, but didn't get any error anymore for now.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

PengGe-MSFT avatar image
0 Votes"
PengGe-MSFT answered

Hi, @NoaFrancoRico-8706

Welcome to Microsoft Q&A!

You can run InstallCleanup.exe to Remove Visual Studio. I'm afraid your device's antivirus software has blocked the update of Visual Studio.

Sincerely,
Peng


If you have extra questions about this answer, please click "Comment". If the answer is the right solution, please click "Accept Answer" and kindly upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.