Causing IDE to choke (ever compile had errors of demonic proportion)
Now, "IDE" is not recognized as "installed" (it is present, I can launch an ".INO")
While searching for 2.3.9 why-and-what, I found IDE 2.3.7 still available to launch... which leads me to fear; IDE fragments from 1.8 until now are "somewhere"...
If a "tree" is available, I would like to manually search and destroy all traces of the IDE, past and present before I install the most recent IDE (hopefully, an "image blob" will be available for Win11). (my sketchbook is untouched on a local drive, not OneDrive)
"Windows ZIP file": wherever you extracted the downloaded ZIP file.
I haven't checked where it is installed when the Microsoft Store app is used.
If you installed Arduino IDE via the installer, then you should be able to just uninstall Arduino IDE using the Windows built-in "Programs and Features" utility. If you installed it via the ZIP package, then there is not uninstaller and you will just have to find where you unzipped it to.
This I would expect, but it is gone... it doesn't recognize any permutation of "arduino ide"
I will look in the new .ZIP file for the uninstaller and extract it into its destination folder.
I am hoping to uninstall OneDrive because it is stopping me from using anything because it has filled itself with stuff... and I hear the next generation of Windows will be more bloated with AI. I have a 128GB drive, have four major apps (IDE, LibreOffice, FireFox, GiMP) and I struggle to keep 15GB available for Windows updates... crazyness.
As far as I know, there isn't any uninstaller in the ZIP package. It is only in the EXE installer package (NSIS).
The .exe installer file can actually be extracted if you only want to obtain files out of it without performing an installation. You need an extraction utility that supports NSIS type archives. I use the excellent open source 7-Zip tool for this purpose:
Yes, I recognize that... and fear it... so avoid it.
... and then...
I started with 52.4GB of free drive space.
I installed IDE 2.3.9 and the free drive space went to 51.3GB
I uninstalled IDE 2.3.9 and free drive space went to 51.8GM so it left behind .6GB of stuff
I installed IDE 2.3.9 again and free drive space went to 51.1GB without adding libraries or BSPs.
I installed ESP32 BSP to use Nesso N1 and free drive space went to 43.6GB (7.5GB for ESP)
I launched IDE 2.3.9 and free drive space went to 43.1GB.
Was part of that the auto-update cache? I saw you posted that you found the installer archive package in C:\Users\<username>\AppData\Local\arduino-ide-updater\. That file should be 150 MB, so pretty close to the 0.2 GB additional disk space usage compared to the first time you installed 2.3.9.
My system is now settled around 43GB free space. I still need a few more BSPs and libraries. I wanted ESP32 BSP first to start my Nesso Dead Battery recovery ( Dead Nesso N1 - sorta sad - #24 by ubidefeo )
I opted to find the remaining parts of the IDE, then "install...uninstall...install" rather that try to run the original .exe. I do not have "two IDE instances" showing when I use Windows 11 START >> IDE >> (choice of two IDEs) or right-click on an .INO >> OPEN WITH >> (two IDEs).
The registry is probably suffering... but things have been running nicely... I also moved all my files to a local drive and uninstalled OneDrive. Things "work" now.
If you are trying to be careful about disk space, you can delete the C:\Users\user\AppData\Local\Arduino15\staging\ folder after you get done installing all your boards platforms.
Arduino IDE stores the downloaded archives for the installed platforms and tool dependencie there. It is kind of convenient to have those archives on your hard drive in the rare case where you might uninstall and then reinstall a platform (or another platform with the same tool dependency), as Arduino IDE will use the files from the staging folder if present rather than downloading fresh copies from the Internet. However, the contents of this folder are not at all required for the functioning of Arduino IDE or the platforms. So this is a good target for cleanup if you are trying to free disk space.