Bug 364116 - Uninstaller doesn't remove C:\Program Files (x86)\digiKam
Summary: Uninstaller doesn't remove C:\Program Files (x86)\digiKam
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Bundle-Windows (show other bugs)
Version: 5.0.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-08 20:42 UTC by matburnham+kdebugs
Modified: 2017-01-21 11:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matburnham+kdebugs 2016-06-08 20:42:02 UTC
Twice now with a couple of beta7 installers, the uninstaller hasn't removed the C:\Program Files (x86)\digiKam directory. Removing it manually is a bit of a faff as stuff is still running so WIndows won't allow it. I think digikam.exe and dbus-daemon.exe are both still running.

I've done nothing special to run the (un)installer as admin. I *think* it brought up the UAC prompt, but I really can't remember.

Reproducible: Always

Steps to Reproduce:
1. Install beta-7.
2. Uninstall beta-7 using a newer installer.

Actual Results:  
3. Try to continue the install after the uninstall and get 'Error opening file for writing'
Comment 1 caulier.gilles 2016-06-08 20:49:43 UTC
yes confirmed. digiKam.exe still in memory after to close the session of application. I suspect that a DBUS problem under Windows.

In fact if you will DBUS (digiKam do not use it in fact currently for Windows), and after you close digiKam.exe, the application is closed properly.

DBUS is used by digiKam for Mysql DB interface. Currently, Mysql/MAriaBD are not yet available under MXE for cross-compiling with MinGW.

I'm looking if a new compilation option to disable DBUS support can be done safety.

Gilles Caulier
Comment 2 caulier.gilles 2016-06-09 21:21:49 UTC
matburnham,

Just for testing, please try this work around :

1/ run Windows process manager and kill dbus-lauch.exe and digikam.exe.

2/ Go to digiKam install dir and rename :
-> dbus-lauch.exe as dbus-lauch.bak
-> dbus-daemon.exe as dbus-daemon.bak

3/ restart digiKam, play with it, and close it. Does it stay in memory ?

Gilles Caulier
Comment 3 caulier.gilles 2016-06-09 21:36:18 UTC
Git commit 2420f084608a6976dc1ee893e90440d69862f280 by Gilles Caulier.
Committed on 09/06/2016 at 21:33.
Pushed by cgilles into branch 'master'.

disable DBUS into Windows installer as it make digiKam unstable as well.
Related: bug 363505
FIXED-IN: 5.0.0

M  +6    -11   project/mxe/04-build-installer.sh

http://commits.kde.org/scratch/mwiesweg/digikam-sc/2420f084608a6976dc1ee893e90440d69862f280
Comment 4 matburnham+kdebugs 2016-06-11 22:19:46 UTC
Sorry for the delay. Renaming dbus-launch.exe and dbus-daemon.exe and the following your instructions works as you expect - digikam.exe does not remain in memory.