Search code examples
pycharmuninstallation

PyCharm Uninstall unsucessful: "Uninstall hasn't detected folder of PyCharm Installation"


My build of Pycharm Professional (2022.1.4) is unable to uninstall itself via:

  • The windows settings uninstall utility
  • Running uninstall.exe in C:\Program Files\JetBrains\PyCharm 2022.1.4\bin

I'm provided with a pop-up message reading:

Uninstall hasn't detected folder of PyCharm Installation. Probably Uninstall.exe was moved from the installation folder.

Solution

  • Original credit for this solution goes to the JetBrains youtrack user Benjamin Hutchensen on this thread. I'm creating a SO post for longevity/visibility.

    This issue is caused by a missing file in your PyCharm Installation. To create this file, open powershell with adminsitrator privledges and execute the following powershell commands to create an empty file in that location with the appropriate name:

     1.  cd 'C:\Program Files\JetBrains\PyCharm 2022.1.4\bin'
     2.  New-Item -Path 'IdeaWin64.dll' -ItemType File
    

    After this approach, I was able to successfully uninstall my PyCharm installation.