xnview wrote:Even if you start XnView with admin rights?
Hi.
No, the admin rights is not a part here.
I try to say that if file association registry setting (the ky as reffered abowe) has a name that is not exacly equal to "Open" then XnVIew will fail to open it.
To depict an example. XnView will open files correctly if this first registry setting is present:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Paint.Picture]
@="Punktgrafikkbilde"
"EditFlags"=dword:00000000
"BrowserFlags"=dword:00000008
[HKEY_CLASSES_ROOT\Paint.Picture\DefaultIcon]
@="shimgvw.dll,1"
[HKEY_CLASSES_ROOT\Paint.Picture\shell]
@="Open"
[HKEY_CLASSES_ROOT\Paint.Picture\shell\edit]
[HKEY_CLASSES_ROOT\Paint.Picture\shell\edit\command]
@=hex(2):22,00,25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,74,\
00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,\
73,00,70,00,61,00,69,00,6e,00,74,00,2e,00,65,00,78,00,65,00,22,00,20,00,22,\
00,25,00,31,00,22,00,00,00
[HKEY_CLASSES_ROOT\Paint.Picture\shell\Edit with GIMP]
@="Edit with GIMP"
[HKEY_CLASSES_ROOT\Paint.Picture\shell\Edit with GIMP\command]
@="\"D:\\Grafiske\\GIMP-2-6-12\\bin\\gimp-2.6.exe\" \"%1\""
[HKEY_CLASSES_ROOT\Paint.Picture\shell\Open]
[HKEY_CLASSES_ROOT\Paint.Picture\shell\Open\command]
@="D:\\Grafiske\\IrfanView\\i_view32.exe \"%1\""
But If I rename "Open" into eg. "AnotherName" then XnView will fail to open in external default program, even if it works in Windows.
Example below will not work:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Paint.Picture]
@="Punktgrafikkbilde"
"EditFlags"=dword:00000000
"BrowserFlags"=dword:00000008
[HKEY_CLASSES_ROOT\Paint.Picture\DefaultIcon]
@="shimgvw.dll,1"
[HKEY_CLASSES_ROOT\Paint.Picture\shell]
@="AnotherName"
[HKEY_CLASSES_ROOT\Paint.Picture\shell\edit]
[HKEY_CLASSES_ROOT\Paint.Picture\shell\edit\command]
@=hex(2):22,00,25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,74,\
00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,\
73,00,70,00,61,00,69,00,6e,00,74,00,2e,00,65,00,78,00,65,00,22,00,20,00,22,\
00,25,00,31,00,22,00,00,00
[HKEY_CLASSES_ROOT\Paint.Picture\shell\Edit with GIMP]
@="Edit with GIMP"
[HKEY_CLASSES_ROOT\Paint.Picture\shell\Edit with GIMP\command]
@="\"D:\\Grafiske\\GIMP-2-6-12\\bin\\gimp-2.6.exe\" \"%1\""
[HKEY_CLASSES_ROOT\Paint.Picture\shell\AnotherName]
[HKEY_CLASSES_ROOT\Paint.Picture\shell\AnotherName\command]
@="D:\\Grafiske\\IrfanView\\i_view32.exe \"%1\""