Bug 459139

Summary: Windows: Uninstall incomplete
Product: [Applications] kdiff3 Reporter: chrigu <christoph.kienholz>
Component: applicationAssignee: michael <reeves.87>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 1.9.6   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 10.0.1
Sentry Crash Report:
Attachments: remaining file in folder struct

Description chrigu 2022-09-15 06:16:07 UTC
Uninstalling through uninstall.exe is incomplete, the folder KDiff3/bin and KDiff3 are not removed.
/bin still contains 15 .dll-files.

STEPS TO REPRODUCE
1. Install KDiff3-1.9.6
2. execute uninstall.exe
3. check leftovers in C:\Program Files\KDiff3

OBSERVED RESULT
KDiff3/bin still exists and contains files

EXPECTED RESULT
uninstall removes completely KDiff3

SOFTWARE/OS VERSIONS
Windows: Win10, Server 2019

ADDITIONAL INFORMATION
Comment 1 michael 2022-11-10 17:51:44 UTC
What files are you seeing left behind? I can try to remove them explicitly during uninstall.
Comment 2 chrigu 2022-11-17 13:39:58 UTC
Created attachment 153833 [details]
remaining file in folder struct
Comment 3 chrigu 2022-11-17 13:41:50 UTC
(In reply to michael from comment #1)
> What files are you seeing left behind? I can try to remove them explicitly
> during uninstall.

Hey, I added a PNG with the remaining files.

Maybe you force the removal of 
.../KDiff3/bin/*
.../KDiff3/bin
.../KDiff3/

Thanks!
Chris
Comment 4 michael 2022-11-25 21:52:06 UTC
Thanks for that. These seem to be files related to contextual menu extension which may remain loaded until reboot. So the installer should be updated to schedule them for removal at that time if they are still in use.
Comment 5 michael 2023-03-27 15:05:15 UTC
Git commit 69348c91cad922ee0357a38780f4684923b55933 by Michael Reeves.
Committed on 27/03/2023 at 15:02.
Pushed by mreeves into branch 'master'.

[kdiff3] Improve cleanup add reboot warning
Related: bug 460754
FIXED-IN:10.0.1

M  +14   -1    extragear/kdiff3/kdiff3.py

https://invent.kde.org/packaging/craft-blueprints-kde/commit/69348c91cad922ee0357a38780f4684923b55933