Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
Labels
os: windowsSpecific to Windows operating system topic: infrastructureRelated to project infrastructure type: imperfectionPerceived defect in any part of project
@FirebirdTA01

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:

image

When the user clicks the "OK" button, the process fails with an "Arduino IDE cannot be closed" dialog:

image

There is no easy way for the user to pass this point to complete the operation.

To reproduce

  1. Install the arduino-ide_2.0.0-rc8_Windows_64bit.exe linked to by the arduino website
  2. When prompted install for all users, not just your user.
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    os: windowsSpecific to Windows operating system topic: infrastructureRelated to project infrastructure type: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /