Skip to content

BugFix #896 Clean generated files on uninstall#928

Merged
Klocman merged 4 commits into
BCUninstaller:masterfrom
One-Simon:codex/fix-self-uninstall-cleanup
Jun 9, 2026
Merged

BugFix #896 Clean generated files on uninstall#928
Klocman merged 4 commits into
BCUninstaller:masterfrom
One-Simon:codex/fix-self-uninstall-cleanup

Conversation

@One-Simon

@One-Simon One-Simon commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Fixes #896.

Adds Inno Setup [UninstallDelete] entries for files generated by BCU itself, including settings, logs, info/certificate caches, usage statistics, rating caches, and crash report zips. Installed files are still handled by the normal Inno uninstall log.
I ran testing against the old & new uninstall and it seems to catch all.

Testing:

  • Ran baseline-vs-new installer / uninstall test :
    • baseline left 9 generated files and the install directory behind;
    • fixed build removed all generated files and the install directory.

@One-Simon One-Simon changed the title Clean generated files on uninstall BugFix #896 Clean generated files on uninstall Jun 9, 2026
@One-Simon

Copy link
Copy Markdown
Collaborator Author

Whoops - you just did that yourself :D

How about you mark some Issues that you would like to see resolved first ?

@One-Simon One-Simon closed this Jun 9, 2026
@One-Simon

Copy link
Copy Markdown
Collaborator Author

@Klocman Could you maybe check my PR anyways, after testing yours i still had at least "{app}\UsageStatistics.xml" not uninstalled in my local installation

@One-Simon One-Simon reopened this Jun 9, 2026
@Klocman

Klocman commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

That's a lot better than my limited list, thanks for the PR. I'm trying to get a release out today so I've skipped a few steps.

@Klocman Klocman merged commit 51d6ca7 into BCUninstaller:master Jun 9, 2026
1 check failed
@One-Simon One-Simon deleted the codex/fix-self-uninstall-cleanup branch June 9, 2026 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Doesnt remove leftovers

2 participants