Unexpected RegistryTool message on Windows 7

Bug #627943 reported by Paul A. Bristow on 2010-09-01
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Inkscape
Low
jazzynico

Bug Description

Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Paul>inkscape.com --version>ink1.txt
RegistryTool: Could not set the value 'c:\program files\inkscape\inkscape.exe' <<< ????????????????
 C:\Users\Paul>type ink1.txt
Inkscape 0.48.0 r9654 (Aug 16 2010)

But I am puzzled what I need to do to get rid of the message

RegistryTool: Could not set the value 'c:\program files\inkscape\inkscape.exe'

The Inscape Registry tool is described at

http://inkscape.modevia.com/doxygen/html/classRegistryTool.php

But it doesn't give any clues *why* the value is not written.

Anyone know if or what permissions are missing? (Inkscape 0.48 using Windows 7 Ult - with Data execution Protection ON).

Doesn't seem to have bad effects, but doesn't look nice!

su_v (suv-lp) on 2010-09-01
tags: added: win32
jazzynico (jazzynico) wrote :

Not reproduced on Windows XP, Inkscape 0.48 (uncompressed archive; inkscape.com was forgotten in the official installer package).
Is there another older inkscape version installed on this computer?

Changed in inkscape:
importance: Undecided → Low
Paul A. Bristow (pbristow) wrote :

No older versions I believe, un-installed 0.47 and then installed 0.48 with the installer.

I only have one copy of inkscape.exe and .com in C:\program files\inkscape\

There are a few entries in the registry like this.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Adobe.SVGCtl\shell\Inkscape\command]
@="\"C:\\Program Files\\Inkscape\\Inkscape.exe\" \"%1\""

Sounds Windows 7 related?

Any ideas what value it is trying to write?

Is it for noting recently used files?

su_v (suv-lp) wrote :

@JazzyNico:

> inkscape.com was forgotten in the official installer package

Can you backport rev. 9730 to the 0.48.x branch? It adds 'inkscape.com' to the NSIS script file.
<http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/9730>

jazzynico (jazzynico) wrote :

> Can you backport rev. 9730 to the 0.48.x branch?

Done in 0.48.x revision 9665. Thanks for the reminder!

jazzynico (jazzynico) wrote :

Confirmed by duplicate bug #1085023 "Inkscape try to write to Registry HKLM at Win7".

summary: - Unexpected message RegistryTool: Could not set the value 'c:\program >
- files\inkscape\inkscape.exe'
+ Unexpected RegistryTool message on Windows 7
Changed in inkscape:
assignee: nobody → JazzyNico (jazzynico)
status: New → In Progress
pb au (pb2au) wrote :

Try opening the Command Prompt as Administrator. Within Windows 7, right-click on 'Command Prompt' and select 'Run as Administrator'

I am using Windows 7 and Inkscape v0.48. This solved the above issue for me.

Dirk Speidel (dirk-speidel) wrote :

Nice workaround but not new to me.
The target shall be that it is working in current environment without any error messages.
And the current environment is Windows 7 / Windows 8 with more restricted user right settings that the Windows version before.

jazzynico (jazzynico) wrote :
Changed in inkscape:
milestone: none → 0.49
tags: added: backport-proposed
jazzynico (jazzynico) wrote :

Fix committed trunk revision 12672.

Changed in inkscape:
status: In Progress → Fix Committed
jazzynico (jazzynico) wrote :

Backported in the 0.48.x branch, revision 9992.

Changed in inkscape:
milestone: 0.49 → 0.48.5
tags: removed: backport-proposed
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers