Files left in the install folder
Why: the uninstaller only deletes files it installed. Files your app created, such as logs, caches or settings saved next to the program, stay. So does a file that was changed after install. Fix:- Save data in
%APPDATA%or%LOCALAPPDATA%, not next to your program, and list those folders in[uninstall] data. - If your app creates files that should always go, remove them with a
[[run]]step withwhen = "uninstall".
Files left in AppData
Why: user data is kept unless you list it and the user ticks Also delete my data. Fix:bach.toml
The box didn’t delete a folder
The last page says which folder couldn’t be deleted, usually because a program or antivirus held a file. Delete it by hand.Removal failed
If a file can’t be removed, nothing is: the app stays installed and working, and the message names the file. Close the program holding it (often your app in the background, or an antivirus scan) and try again.A Start menu folder remains
Astart_menu_folder is removed only when empty, since another of your apps may use it.