Bug 479314 - Installer does not add user specific keys for alternate accounts
Summary: Installer does not add user specific keys for alternate accounts
Status: RESOLVED FIXED
Alias: None
Product: kdiff3
Classification: Applications
Component: context-menu (show other bugs)
Version: 1.11.2
Platform: unspecified Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: michael
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-02 20:39 UTC by Helmut Obermeiere
Modified: 2024-12-06 22:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.11.5
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Obermeiere 2024-01-02 20:39:02 UTC
With kdiff3-1.10.7-windows-x86_64.exe (and earlier) you can't compare 2 files in a non-administrative user account by selecting the context menu.

STEPS TO REPRODUCE
1. Select two files in Windows Explorer
2. Call context menu with right mouse click on these files
3. Select KDiff3 > Compare

OBSERVED RESULT
Error message: 'Diff-Ext For KDiff3 Could not start KDiff3. Please rerun KDiff3 installation Command: Commandline "" "..." "..." ', while ... stands for any file name.

EXPECTED RESULT
KDiff3 is started properly.

SOFTWARE/OS VERSIONS
Windows: 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 John Alan Belli 2024-05-28 14:59:07 UTC
The shell extension is looking for key in HKCU that the installer can only create for the account used for the installation.

You can work around this by creating a reg file and having each user import it.

Windows Registry Editor Version 5.00

;Change binary location if necessary
[HKEY_CURRENT_USER\SOFTWARE\KDE e.V.\KDiff3\diff-ext]
"diffcommand"="C:\\Program Files\\KDiff3\\bin\\kdiff3.exe"
Comment 2 michael 2024-06-11 02:19:43 UTC
This seems to be fixed now. Looks like a bad build. 1.11.2 will be released shortly.
Comment 3 michael 2024-06-15 20:09:21 UTC
looking the wrong bug.
Comment 4 Scot 2024-07-03 21:24:06 UTC
If I select 2 files in explorer, select the context menu, select compare, KDIFF3 shuts down and logs an error in Event Viewer (Windows 10).
If I open KDIFF3, select the files through the dialog in KDIFF3, the same 2 files work.

When I install KDIFF3, it seems to hang for a while during the extraction.  It eventually times out and states completed.

KDIFF3 is failing when I try to launch it through TortoiseSVN.  I try to get differences with a previous version.

I have tried 1.11.1 and 1.10.  Having issues with all.  All have similar issues.
Comment 5 michael 2024-10-22 20:28:32 UTC
The shell extension has been altered to create the need user level keys If they are not found. Due to limitations of the nsis scripting currently used only the current users keys can be add or removed by installer itself. The looking into having to context extension itself find kdiff3 at least in the default install location.
Comment 6 michael 2024-11-07 15:00:54 UTC
About to replease 1.11.5. Changes have been made to both the installer and the diff-ext. The diffcommand key will now only be user specific if kdiff3 itself was installed to just that user. Other was a machine wide key will be used. The history will still be user specific regardless but should be able to create the needed keys.