Description
Describe the problem
When attempting to update, install, or uninstall Arduino IDE, an unexpected "Arduino IDE is running. Click OK to close it." dialog appears:
When the user clicks the "OK" button, the process fails with an "Arduino IDE cannot be closed" dialog:
There is no easy way for the user to pass this point to complete the operation.
To reproduce
- Install the arduino-ide_2.0.0-rc8_Windows_64bit.exe linked to by the arduino website
- When prompted install for all users, not just your user.
- Attempt an in place upgrade/install of a newer nightly build (I used arduino-ide_nightly-20220710_Windows_64bit).
🐛 When running the installer it will recognize that the IDE is already installed in whichever location it was installed to and say it will be upgraded or reinstalled. It then hangs for a bit on the next progress bar and gives the reported error:
Arduino IDE cannot be closed.
Please close it manually and click Retry to continue.
Expected behavior
No unfriendly dialogs about closing Arduino IDE during the update, install, uninstall operation. Operations complete successfully.
Arduino IDE version
2.0.0-rc8
Operating system
Windows
Operating system version
Windows 10 Pro 21H2 build 19044.1766
Additional context
My install was not done to my C drive but my data drive instead.
When attempting to run the uninstaller for the RC 8 version it too encounters the same error.
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest nightly build
- My report contains all necessary details