IDE update or uninstall fails with "Arduino IDE cannot be closed" error

I received an alert of IDE upgrade ( 2.0.0-rc9.1) when I opened the IDE 2.0.
I accept and the download started.
I accept the CLOSE AND INSTALL and the IDE was closed and the installation started.
O Installation Options, I choose Anyone who uses this computer (all users) and NEXT.

But the installation stopped informing Arduino IDE cannot be close, doesn't matter how many times I press the Retry button, since the Arduino SETUP is running under Arduino IDE.


It looks like the installer is recognizing itself as Arduino IDE and get a deadlock.

I also run as admin and have the same problem.
image

It looks like I cannot do the upgrage at this moment.

Thanks for your report @CamargoF. This issue is being tracked by the Arduino IDE developers here:

If you have a GitHub account, you can subscribe to that issue to get notifications of any new developments related to this subject.

I don't know if you did any change on installer, but I was able to do the upgrade to IDE 2.0.0-rc9.1!
NOTE: after the upgrade I observed the serial monitor tab was open (was closed when I finished yesterday night).

Thank you.

Please, close my issue.

No, there has not been, will not be any changes to Arduino IDE 2.0.0-rc9.1. Any changes will come in the nightly build or future releases.

I'm glad it is working now. Thanks for taking the time to share an update.

I have nearly the identical problem, but going from Arduino IDE 2.0.0 to Arduino IDE 2.0.3. It also displays the identical error message, and Retry fails interminably.

Arduiono.exe does not show up in Task Manager, so I can't shut it down. I too tried running as Admin.

Attempting to remove Arduino IDE 2.0.0 now fails with the identical error. Now I have no working Arduino IDE.

Hi @anon36225591. Some users shared workarounds in the thread of the formal bug report here:

I have not been able to reproduce the bug so I can't verify the workarounds, but all who mentioned them so far found success.

If you don't want to use that "Advanced Uninstaller" application, a user shared a direct Windows registry edit that worked for them here:

https://github.com/arduino/Arduino/issues/11835#issuecomment-1357748778

Hopefully we will have a true fix soon, but for now being able to get a working Arduino IDE installation should be better than nothing.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.