Why is un-installed IntelliJ IDEA Community Edition still listed?

Answered

I have un-installed IntelliJ IDEA Community Edition some time ago. However, it is still listed with winget and Windows Control Panel.

C:\Dev>winget upgrade -s winget
Name                                     ID                               Version  Verfügbar
--------------------------------------------------------------------------------------------
IntelliJ IDEA Community Edition 2022.1.1 JetBrains.IntelliJIDEA.Community 2022.1.1 2024.2.3
1 Aktualisierungen verfügbar.

C:\Dev>winget uninstall --id JetBrains.IntelliJIDEA.Community
Gefunden IntelliJ IDEA Community Edition 2022.1.1 [JetBrains.IntelliJIDEA.Community]
Paket-Deinstallation wird gestartet...
Erfolgreich deinstalliert

C:\Dev>

When I run winget uninstall , it says "Successfully uninstalled" (console message is in German), but I get an error message.

How can I completely remove this broken installation? Thanks in advance.

0
4 comments
Hi,

It seems that you are affected by this issue: https://youtrack.jetbrains.com/issue/IJPL-35268/Uninstaller-doesnt-cleanly-remove-an-updated-version

Please try:

1. Create an empty file named IdeaWin64.dll in `<IDE_Installation_folder>/bin` (where uninstall.exe is located)
2. Run winget uninstall --id JetBrains.IntelliJIDEA.Community
0

Thanks for your answer. I would love to try your suggestion, but I have no <IDE_Installation_folder>/bin. I tried to look it up with:

PS C:\> Get-ChildItem -Path C:\ -Recurse -Directory -Filter "*intellij*"

as well as

PS C:\> Get-ChildItem -Path C:\ -Recurse -Directory -Filter "*jetbrains*"

but got no results. It seems that the last uninstall left some garbage in the Windows registry, but I cannot find it.

0
If you open the start menu and search IntelliJ, can you find any IntelliJ entry in your system?
If yes, please refer to the https://www.makeuseof.com/windows-ways-to-find-programs-install-location/ guide here to find the IDE's location.
Then use my previous step too.
0

I've found the installation folder from the start menu as you suggested. It's installed at 

%LOCALAPPDATA%\JetBrains\IntelliJ IDEA Community Edition 2022.1.1\bin

Looks like I did a user install. However, I don't understand why it was not listed with Get-ChildItem.

Anyway, I created the empty IdeaWin64.dll file and could successfully uninstall. Now winget uninstall does no longer list IntelliJ.

Thanks a lot for your help. Have a nice day!

0

Please sign in to leave a comment.