Jump to content











Photo
- - - - -

WinPE 3.0 - annoying point 2, Browse for Folder error


  • Please log in to reply
18 replies to this topic

#1 diddy

diddy

    Member

  • Tutorial Writer
  • 78 posts

Posted 02 May 2010 - 03:14 PM

Adding the folder "Windows\System32\config\systemprofile\Desktop" enables a number of programs to correcly display a folder tree.

Unfortunately this workaround does not work for a number of other programs including Recuva.

When trying to recover lost files (after running recuva) a blank "Browse for Folders" dialog box appears - the directlry tree is missing and the program will not work as a result.

Any ideas or suggestions?

BTW - I'm not interested in adding Explorer as shell to get this functioning as it's far too bloated for my requirements.

diddy

#2 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 03 May 2010 - 11:30 AM

Any ideas or suggestions?

You need more Classes from Windows 7 as being used in Make_PE3
see file Make_PE3\PE3_mod\PE3_reg\x86\PE3-SOFTWARE_CLID.reg

Windows Registry Editor Version 5.00



; from Windows 7 and made suitable for PE3 by 

;   all C:\ were replaced by X:\

;   all 43,00,3a,00,5c,00 were replaced by 58,00,3a,00,5c,00

;   all "RunAs"="Interactive User" were removed



[HKEY_LOCAL_MACHINE\PE3-SOFTWARE\Classes]



......
You can try to use Make_PE3 program.
If you wish a small ISO you leave Explorer Unchecked.

#3 was_JFX

was_JFX

    Frequent Member

  • Advanced user
  • 483 posts
  •  
    Germany

Posted 03 May 2010 - 12:07 PM

BTW - I'm not interested in adding Explorer as shell to get this functioning as it's far too bloated for my requirements.

If the bloated explorer script is a problem, check out my µExplorer script for Win7PE SE

#4 diddy

diddy

    Member

  • Tutorial Writer
  • 78 posts

Posted 04 May 2010 - 10:52 PM

@wimb
Do you have any idea which classes need adding. Merging the registry file included in Make_PE3 is overkill for my needs - it's about 20MB and includes entries for a lot of stuff not in my custom build.

Make_PE3 looks like a great project - I'm sticking with my custom build scripts though, due to the time I've invested in them.


@JFX
It might come as a surprise but I don't really use winbuilder. I've managed a few LiveXP builds in the past however I'm migrating to WinPE 3.0 built with batch files. Is µExplorer available as a standalone project and will it add browse for folders.


@nuno
If you're reading this then just for the record I have nothing against winbuilder - I just don't have the time to learn how to build scripts with it at the moment.

diddy

#5 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 05 May 2010 - 12:10 AM

If you're reading this then just for the record I have nothing against winbuilder - I just don't have the time to learn how to build scripts with it at the moment.


Don't worry. Scripts are mostly important when you want to share them with others.

The main goal is to provide a sort of framework where you only need to add the script without worrying about any other configurations that might be specific to your system.

Good to reduce complexity when you're building a large project with a lot of customizations and then need to automate everything. Before wb I only used batch scripts and it was difficult to manage all customizations.

#6 was_JFX

was_JFX

    Frequent Member

  • Advanced user
  • 483 posts
  •  
    Germany

Posted 05 May 2010 - 12:44 PM

@JFX
Is µExplorer available as a standalone project and will it add browse for folders.

µExplorer is a script for the project, basically is the same like the usual shell explorer script in win7pe, but without the unnecessary files.
It thought for guy's that choose a different shell just be the reason of the bloated explorer script.

#7 diddy

diddy

    Member

  • Tutorial Writer
  • 78 posts

Posted 15 May 2010 - 09:16 AM

My frustration continues. Some observations.

Tested recuva and getdataback. The "browse for folder" dialog box is empty - the dialog box includes a "Make New Folder" button.

When using getdataback I noticed that a secondary "browse for folder" dialog box correctly displays the folder tree and works - this dialog box does not include a "Make New Folder" button.

Context menu "Open with" - no drive tree.

Regedit > Load Hive... - no drive tree.

I would appreciate any help in getting this functioning in a basic build of WinPE 3.0 - no Explorer and minimal registry changes (e.g. not importing a full classes key from a Windows 7 registry hive).

diddy

#8 tsetya

tsetya

    Member

  • Advanced user
  • 52 posts
  •  
    Indonesia

Posted 19 May 2010 - 11:41 AM

@diddy, do you mean dialog box like this screenshot?
Posted Image

i add only 1 file and 1 registry entry to this PE image. (and of course some file to make drive image xml and xnview working)
folder tree and make new folder button are working.

add file: \windows\system32\explorerframe.dll

add registry :
[HKEY_CLASSES_ROOT\CLSID\{AE054212-3535-4430-83ED-D501AA6680E6}]

@="Shell Name Space ListView"



[HKEY_CLASSES_ROOT\CLSID\{AE054212-3535-4430-83ED-D501AA6680E6}\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

"ThreadingModel"="Apartment"


#9 diddy

diddy

    Member

  • Tutorial Writer
  • 78 posts

Posted 19 May 2010 - 05:07 PM

@tsetya

Many, many thanks - you are a genius!!!

This did the trick and will now allow me to use a number of essential programs under WinPE (3.0).

It's great to see a simple solution to the problem.

:lol:

diddy

#10 Michele13

Michele13

    Frequent Member

  • Tutorial Writer
  • 167 posts
  •  
    Italy

Posted 14 June 2012 - 03:28 PM

add registry :

[HKEY_CLASSES_ROOTCLSID{AE054212-3535-4430-83ED-D501AA6680E6}]

@="Shell Name Space ListView"



[HKEY_CLASSES_ROOTCLSID{AE054212-3535-4430-83ED-D501AA6680E6}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

"ThreadingModel"="Apartment"


how can I add this thing to the registry? an easy way to do that?

#11 Michele13

Michele13

    Frequent Member

  • Tutorial Writer
  • 167 posts
  •  
    Italy

Posted 26 August 2012 - 06:49 PM

ehiiiii is there someone that can answer me? :)

#12 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 26 August 2012 - 09:20 PM

When do you want to add it? During build or during boot?

:cheers:

#13 amalux

amalux

    Platinum Member

  • Tutorial Writer
  • 2813 posts
  •  
    United States

Posted 26 August 2012 - 09:46 PM

You just want to add this to a script?
[Process]

Hive_Load,Machine

reg_add,0x1,%reg%ClassesCLSID{AE054212-3535-4430-83ED-D501AA6680E6},,"Shell#$sName#$sSpace#$sListView"

reg_add,0x2,%reg%ClassesCLSID{AE054212-3535-4430-83ED-D501AA6680E6}InProcServer32,,"#$pSystemRoot#$psystem32explorerframe.dll"

reg_add,0x1,%reg%ClassesCLSID{AE054212-3535-4430-83ED-D501AA6680E6}InProcServer32,ThreadingModel,"Apartment"

Hive_Unload,Machine
or...
[Process]

RegHiveLoad,Tmp_Software,%RegSoftware%

RegWrite,HKLM,0x1,Tmp_SoftwareClassesCLSID{AE054212-3535-4430-83ED-D501AA6680E6},,"Shell Name Space ListView"

RegWrite,HKLM,0x2,Tmp_SoftwareClassesCLSID{AE054212-3535-4430-83ED-D501AA6680E6}InProcServer32,,#$pSystemRoot#$psystem32explorerframe.dll

RegWrite,HKLM,0x1,Tmp_SoftwareClassesCLSID{AE054212-3535-4430-83ED-D501AA6680E6}InProcServer32,ThreadingModel,Apartment

RegHiveUnLoad,Tmp_Software

Or just run the reg file:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTCLSID{AE054212-3535-4430-83ED-D501AA6680E6}]
@="Shell Name Space ListView"

[HKEY_CLASSES_ROOTCLSID{AE054212-3535-4430-83ED-D501AA6680E6}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
"ThreadingModel"="Apartment"


and don't forget the needed file ;)

add file: windowssystem32explorerframe.dll


I have no idea if this works; I'm just going off of information given and this assumes the code converter is working. Good luck.

(sorry MedEvil, didn't see your post there.. something strange with forum, new update?)

:cheers:

#14 Michele13

Michele13

    Frequent Member

  • Tutorial Writer
  • 167 posts
  •  
    Italy

Posted 26 August 2012 - 10:23 PM

When do you want to add it? During build or during boot?

:cheers:


During build. I am using WAIK :)

(sorry MedEvil, didn't see your post there.. something strange with forum, new update?)


Do you have problems with forum too? I've looked for some topics on how to add explorer.exe to my WinPE but when I tried to read the topic there was an error! I hope that it is like you're saying amalux :)

#15 amalux

amalux

    Platinum Member

  • Tutorial Writer
  • 2813 posts
  •  
    United States

Posted 26 August 2012 - 10:29 PM

Do you have problems with forum too?

Yes, now to see new posts I must exit out and go back to topic header. Clicking on latest post gives error: Sorry, we couldn't find that!

#16 Michele13

Michele13

    Frequent Member

  • Tutorial Writer
  • 167 posts
  •  
    Italy

Posted 26 August 2012 - 10:31 PM

Yeah I have the same problem too

#17 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 26 August 2012 - 10:44 PM

If you're using WAIK, i would say, you need to mount the correct hive, edit the reg file, amalux provided above, to point to that hive and then simply doubleclick the reg file.

Yep, have the same problem. It's update related, i'm sure.

:cheers:

#18 jfalzonia

jfalzonia
  • Members
  • 1 posts
  •  
    United States

Posted 26 March 2013 - 09:06 PM


how can I add this thing to the registry? an easy way to do that?

 

I am wondering the same thing. I sorta know my way around the registry but have never seen registry input like this before. If someone could please go into detail what I am supposed to do with that code it would be much appreciated.



#19 Colleone

Colleone
  • Members
  • 1 posts
  •  
    Brazil

Posted 28 August 2019 - 03:08 PM

Hi

use this reg file and run with:

 

regedit /s <file.reg>

 

file.reg -----------------------------------

 

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{AE054212-3535-4430-83ED-D501AA6680E6}]
@="Shell Name Space ListView"

[HKEY_CLASSES_ROOT\CLSID\{AE054212-3535-4430-83ED-D501AA6680E6}\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
"ThreadingModel"="Apartment"
 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users