[Issue 656] New - Default explore does not work in Windows 7

Alfred Theorin <[email protected]>
Newsgroups gmane.comp.version-control.subversion.rapidsvn.issues
Message-ID <[email protected]>
http://rapidsvn.tigris.org/issues/show_bug.cgi?id=656
                 Issue #|656
                 Summary|Default explore does not work in Windows 7
               Component|rapidsvn
                 Version|0.9.8
                Platform|PC
              OS/Version|other
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|src
             Assigned to|issues@rapidsvn
             Reported by|crouz






------- Additional comments from [email protected] Sun Jun 21 14:33:34 -0700 2009 -------
Steps to repeat:
  - Press F2

Behaviour:
  - The explorer opens and an error message pops up

Expected behaviour:
  - The explorer opens without any error message

The behaviour is the same in both 0.9.8 and 0.9.9-7930.

Extract from error log:
  16:07:49: Can't read value of 'HKCR\Folder\shell\explore\command' (error 2:
the system cannot find the file specified.)
  16:07:49: Can't read value of 'HKCR\Folder\shell\opennewprocess\command'
(error 2: the system cannot find the file specified.)
  16:07:49: Can't read value of 'HKCR\Folder\shell\opennewwindow\command' (error
2: the system cannot find the file specified.)

The cause seems to be that the registry structure for the default explorer has
been changed in Windows 7.

The 'HKCR\Folder\shell\explore\command' does not have a value. Instead there is
a string, 'HKCR\Folder\shell\explore\command\DelegateExecute' containing a GUID
which resides in 'HKCT\CLSID\{GUID}' and contains:

------------

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{11dbb47c-a525-400b-9e80-a54615a090c0}]
@="CLSID_ExecuteFolder"
"LocalizedString"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,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,73,00,68,00,65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,\
  2c,00,2d,00,33,00,30,00,33,00,30,00,39,00,00,00
; = @%SystemRoot%\system32\shell32.dll,-30309

[HKEY_CLASSES_ROOT\CLSID\{11dbb47c-a525-400b-9e80-a54615a090c0}\InProcServer32]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,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,65,00,78,00,\
  70,00,6c,00,6f,00,72,00,65,00,72,00,66,00,72,00,61,00,6d,00,65,00,2e,00,64,\
  00,6c,00,6c,00,00,00
; = %SystemRoot%\system32\explorerframe.dll
"ThreadingModel"="Apartment"

------------

I cannot see any useful information that can be extracted here, so my suggestion
is to use the command

  "%SystemRoot%\explorer.exe" "%1"

if the 'HKCR\Folder\shell\explore\command' key has an unset value.

Used software:
  Windows 7 RC 64-bit version

------------------------------------------------------
http://rapidsvn.tigris.org/ds/viewMessage.do?dsForumId=670&dsMessageId=2364009

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.