Repository navigation
InstallerClean 3.8.0
InstallerClean now runs on the .NET Framework 4.8 that comes with Windows, so no download has to carry its own copy of .NET. That makes the downloads a fraction of the size: the setup is about 6 MB instead of 93 MB, the portable is about 6 MB instead of 64 MB, and the command-line tool is about 4 MB instead of 37 MB.
Which files it lists
- It keeps two kinds of installer copy that 3.7.0 listed as safe to delete: a copy a program was installed from through a transform that gave it a new product code, which the program needs for a repair once its own cached installer has gone, and a copy that the SYSTEM account's own installation of a program names as its source
- Where Windows Installer answers a question with an error, InstallerClean asks again after a pause, so one error no longer leaves alone every file that rested on that answer
- Where Windows Installer's record of the patches one program holds can't be read, the scan goes ahead and still lists the other files it can show are unneeded. 3.7.0 left alone every file no record named, and could stop the scan
- Where Windows Installer can't say whether a program's patches can be uninstalled, or stops partway through its list of them, InstallerClean answers from the program's own patch records in the registry. Old patches replaced by newer ones are listed as safe to delete where those records settle the question, which now includes some programs whose old patches 3.7.0 left alone
- Where those records don't settle it, the old patches are left alone. That now includes some programs installed for one user only, whose old patches 3.7.0 listed on a registry entry alone
- Where a file or folder's path is 260 characters or more, InstallerClean is no longer told it isn't there. Windows comes with support for such paths turned off, and with it off, 3.7.0 could take a file that was there as missing
Moving and deleting
- In the Delete and Move confirmations, the Delete permanently and Move buttons have no keyboard letter, so pressing the letter that opens a confirmation twice no longer deletes or moves every file. They're reached with the mouse, or with Tab then Space or Enter
- A Move folder inside the Windows Installer folder or a system folder is refused however it's written, including through this PC's own shares or with \?\ in front
- A Move is refused before anything is moved where a moved file's path would be 260 characters or more, and you're asked for a shorter folder path
- The progress bar counts files finished, so it no longer reads 100% while the last file is still being moved or deleted
Updates
- When a newer version is available, the update card, the notice at the top of the window and the command line say which version you have as well as which is available, and have a What's new link to InstallerClean's releases on GitHub, newest first
- The first time a new version of InstallerClean opens, a line at the top of the window says it has been updated, with the same link
- The About window has a What's new in this version link to this version's release notes
In the window
- The messages for Windows Installer being busy, a restart Windows is waiting on, an installation that hasn't finished, a drive that stopped answering and a failed update check say what happened and what to do
- When the update check fails, the releases page in its message is a link
- Copying a path out of a message, such as the crash log's, now gives a path that works when you paste it. It used to carry invisible characters, put in to wrap it across lines
- Tooltips stay open while the pointer is on them
Starting up
- On a PC without .NET Framework 4.8, or on Windows earlier than Windows 10 version 1607, the setup, the portable and the command-line tool say what they need and stop
- InstallerClean-slim.exe is now the same file as the portable. It's still published only so that copies of the slim from 3.5.0 to 3.7.0 can update, so please ignore it
If a script reads the command line or the Application log
- The Application log entries say "listed as safe to delete" where they said "offered", and "left alone" where they said "held back". Their event IDs are the same, but a script that matches their text needs updating
- Ctrl+C at a command-line question cancels the run, even when it's pressed just as you answer or as the question times out
- A cancelled /d or /m with nothing deleted or moved logs "cancelled before any file was deleted or moved"
- InstallerClean uses a proxy named in the HTTPS_PROXY, HTTP_PROXY or ALL_PROXY environment variable only if it's an http:// proxy. An https:// or SOCKS proxy named there is ignored, and the update check, the update download and the report use the proxy set in Windows instead
The opt-in report also carries a random code made for each report, so a report sent twice is counted once.
The changelog has the full list.
Downloads
- InstallerClean-portable.exe (~6 MB) - The app as a single executable. No installation; run it directly.
- InstallerClean-3.8.0-setup.exe (~6 MB) - Installer. Adds InstallerClean and the command-line tool, with an Add/Remove Programs entry to uninstall.
- installerclean-cli.exe (~4 MB) - The command-line tool as a single executable, for scripting, scheduled tasks and deployment.
- InstallerClean-slim.exe (~6 MB) - The same file as the portable, published under this name only so that copies of the slim from 3.5.0 to 3.7.0 can update. Please ignore it.
The apps are unsigned and freshly downloaded files carry the browser's mark, so on first run Windows SmartScreen will usually warn that the publisher is unknown. Click "More info", then "Run anyway".
Build it yourself
Built with .NET SDK 10.0.115 from the v3.8.0 tag. The portable and the command-line tool are each one exe that ILRepack merges from the Release build, made by dotnet build src/InstallerClean/InstallerClean.csproj -c Release -p:RestoreLockedMode=true -p:OneFile=true and dotnet build src/InstallerClean.Cli/InstallerClean.Cli.csproj -c Release -p:RestoreLockedMode=true -p:OneFile=true; the slim download is the portable's exe under the slim's name. Release builds are deterministic, so building that tag yourself, on that SDK and with those flags, gives you the same bytes and the same hashes for the portable and the command-line tool; the README's Checking the download itself section has the detail. The installer gives the same hash too, compiled with Inno Setup 6.7.1 through scripts/compile-setup.ps1, which stamps every file it packs with the commit's date and time.
VirusTotal
- InstallerClean-portable.exe: 0/69 ✨
- InstallerClean-3.8.0-setup.exe: 4*/66
- installerclean-cli.exe: 0/66 ✨
*The setup is about 6 MB, down from 3.7.0's 93 MB. InstallerClean now runs on the .NET Framework 4.8 that comes with Windows 11 and current versions of Windows 10, so it no longer has to carry its own copy of .NET 10. Four antivirus engines flag the setup. They also flag Inno Setup's own example installer, which contains nothing of InstallerClean, along with five other engines. I've reported the false positives to Arctic Wolf, Deep Instinct, SecureAge and Skyhigh. The two programs the setup installs are the portable and the command-line tool above, and both scan clean. If the VirusTotal flags bother you, use the portable version instead.
Donate
InstallerClean is free. If it helped, you can say thanks by card, Apple Pay or Google Pay through Ko-fi, or with Kakao Pay or Naver Pay in Korea, Pix in Brazil or BLIK in Poland.