Jump to content











Photo
* * * * * 1 votes

files required to get a) drag drop and b) file copy progress working in PE


  • Please log in to reply
15 replies to this topic

#1 darren rose

darren rose

    Frequent Member

  • Advanced user
  • 399 posts
  • Location:Norwich, Norfolk
  •  
    United Kingdom

Posted A week ago

Hi

 

 

I have created a "vanilla" PE (64-bit) from Windows 10 1709 ADK and got most things I want working

 

But I have the following requirements which I need help with if possible, as can't work out what files/registry keys are needed:-

 

a ) Drag Drop support

 

b ) File Copy progress dialog

 

I am currently using Explorer++ as my file explorer which works fine, but whatever tool I use I have both the above facilities missing

 

For a) I have tried everything mentioned on various posts I have found including adding below files and registry keys

 

system32\d3d11.dl

system32\DataExchange.dll

system32\dcomp.dll

system32\dxgi.dll

system32\ksuser.dll

Windows Registry Editor Version 5.00

;dataexchange.dll
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{9FC8E510-A27C-4B3B-B9A3-BF65F00256A8}]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{9FC8E510-A27C-4B3B-B9A3-BF65F00256A8}\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,64,00,61,00,\
  74,00,61,00,65,00,78,00,63,00,68,00,61,00,6e,00,67,00,65,00,2e,00,64,00,6c,\
  00,6c,00,00,00
"ThreadingModel"="Both"

;need update ACL rights for offline importing.
;or you can add this on WinPE startup.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole\Extensions]
"DragDropExtension"="{9FC8E510-A27C-4B3B-B9A3-BF65F00256A8}"

Thanks for reading



#2 darren rose

darren rose

    Frequent Member

  • Advanced user
  • 399 posts
  • Location:Norwich, Norfolk
  •  
    United Kingdom

Posted A day ago

Anyone?

 

For b ) File Copy Progress Dialog I have tried copying shellstyle.dll, explorerframe.dll and related MUI files, as per article I found but still not working



#3 misty

misty

    Silver Member

  • Developer
  • 785 posts
  •  
    United Kingdom

Posted A day ago

I've been watching this topic hoping for a response. I'm also struggling with adding this function since this release of Windows 10. I think that the previous Windows 10 build (1703) had the same issue.

Anyone?

#4 slore

slore

    Newbie

  • Members
  • 16 posts
  •  
    China

Posted A day ago

I tried this with v1709, and this also works fine.

I can't upload files in reboot.pro, see the ovn's post.

 

I maked two gif animations for adding this in a bare boot.wim, and works. 

 

 

EDITED(upload animations to github):

you can watch them in github.

https://github.com/s...ter/DragAndDrop

 

https://github.com/s..._DD_feature.gif

https://github.com/s.../test_DD_PE.gif



#5 darren rose

darren rose

    Frequent Member

  • Advanced user
  • 399 posts
  • Location:Norwich, Norfolk
  •  
    United Kingdom

Posted A day ago

Hi Slore

 

Thank you for creating the GIFs to show it works, but unfortunately in the PE I create from either ADK winpe.wim or a winre.wim doing exactly the same as you doesn't work - so must be other dependencies for both Drag and Drop and for the File Copy Progress dialog

 

Can provide link to my wim if it helps diagnose why not working for me and I assume for misty either



#6 slore

slore

    Newbie

  • Members
  • 16 posts
  •  
    China

Posted 22 hours ago

Hi, darren rose
 
no need your wim, because I use
sources\install.wim\1\Windows\System32\Recovery\winre.wim
 
to replace the boot.wim and remake the BOOTPE.ISO, this doesn't work as you said.
 
if I have time I will compare the files,regs in winre.wim with boot.wim see what need be added.


#7 misty

misty

    Silver Member

  • Developer
  • 785 posts
  •  
    United Kingdom

Posted 17 hours ago

Hi, darren rose
 
no need your wim, because I use
sources\install.wim\1\Windows\System32\Recovery\winre.wim
 
to replace the boot.wim and remake the BOOTPE.ISO, this doesn't work as you said.
 
if I have time I will compare the files,regs in winre.wim with boot.wim see what need be added.

WinRE has additional Optional Components (Packages) compared to boot.wim from Windows OS and ADK sources. Just a guess, but maybe it is one of these that results in DragNDrop functions working in your build.

Misty

#8 slore

slore

    Newbie

  • Members
  • 16 posts
  •  
    China

Posted 12 hours ago

I tried again, finally prove the dlls and regs works.
 
 
after I used my FA_winre project to create a FA_winre.wim with full access control of the files,regs.(no add/modify/delete any file or registy item)
and do the same D&D patch, It worked, so I find out:
 
 
for winre.wim, already have the 
 
system32\d3d11.dl
system32\dxgi.dll
system32\ksuser.dll
 
 
files, when I executed my D&D project, the d3d11.dll has no permission to overwrite the one in system32(winre.wim).
so, the rest file didn't copy to my winre build. and the D&D feature didn't work obviously.
 
 
 
for winre.wim just copy the two files, and import the reg, the feature will work.(I don't have ADK winpe.wim, you can test for that.)
 
 
system32\DataExchange.dll
system32\dcomp.dll


#9 misty

misty

    Silver Member

  • Developer
  • 785 posts
  •  
    United Kingdom

Posted 12 hours ago

@slore
Registry entry and the following files....

system32\d3d11.dll
system32\dxgi.dll
system32\ksuser.dll
system32\DataExchange.dll
system32\dcomp.dll


.....already tested and NOT working in WinPE using boot.wim from Windows ISO. Not tested, but unlikely to be working in ADK.

Are there any registry entries in your WinRE.wim for the files above that are missing from ADK/boot.wim?

#10 darren rose

darren rose

    Frequent Member

  • Advanced user
  • 399 posts
  • Location:Norwich, Norfolk
  •  
    United Kingdom

Posted 12 hours ago

Okay now I am confused as I have also tried this using a WINRE.WIM from same location you mention - from a 64-bit Windows 10 1709 ISO file

 

Adding files and registry keys you mention didn't work - and I have tried it twice

 

Are you also using 64-bit?

 

Are you adding anything else to get other features at same time?

 

Must be something you are doing different to me and Misty because I for one have tried your instructions lots of times and every time it doesn't give me drag and drop



#11 misty

misty

    Silver Member

  • Developer
  • 785 posts
  •  
    United Kingdom

Posted 11 hours ago

@Darren rose
Was the following registry setting definitely applied in the test you did with the WinRE?
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole\Extensions]
"DragDropExtension"="{9FC8E510-A27C-4B3B-B9A3-BF65F00256A8}"
P.s. for anyone wanting to apply this setting to an offline registry then I highly recommend Erwan.L's excellent OfflineReg to bypass the ACL restrictions.
OfflineReg.exe C:\PATH\config\SOFTWARE Microsoft\Ole\Extensions setvalue DragDropExtension {9FC8E510-A27C-4B3B-B9A3-BF65F00256A8}


#12 darren rose

darren rose

    Frequent Member

  • Advanced user
  • 399 posts
  • Location:Norwich, Norfolk
  •  
    United Kingdom

Posted 11 hours ago

@Misty

 

Yes I applied in once booted into PE using .reg file

 

Thanks for info re OfflineReg - looks useful



#13 slore

slore

    Newbie

  • Members
  • 16 posts
  •  
    China

Posted 11 hours ago

@Misty

 

>.....already tested and NOT working in WinPE using boot.wim from Windows ISO. Not tested, but unlikely to be working in ADK.

 

Did you see the add_DD_feature.gif?

 

en_windows_10_multi-edition_version_1709_updated_sept_2017_x64_dvd_100090817.iso

 

base image:

sources\boot.wim

 

dlls extract from sources\install.wim\[1]\Windows\System32

 

the reg can be merged in booted PE.(see test_DD_feature.gif)

of cause, offline inject will work.(I tested that puting the dd.reg in my patch folder, and it auto merged. make sure got ACL first.)

 

config.ini

```

rem skip update files' rights operation
set PB_SKIP_UFR=0
rem skip update registry's rights operation
set PB_SKIP_URR=0
```

 

and today, I test sources\install.wim\[1]\Windows\System32\Recovery\winre.wim

 

it works also. Do you need I upload another git animation to show what I did?

 

maybe the WINDOWS ISO is bad?I tested in years ago for the dlls and regfile with 

cn_windows_10_multi-edition_version_xxxxxxxxxxxxxxxxx_x64_dvd_xxxxxxx.iso

 

Yesterday I download the english version and make a gif animations for you.

so I don't understand why this NOT WORKED for yours boot.wim/winre.wim.


Edited by slore, 11 hours ago.


#14 misty

misty

    Silver Member

  • Developer
  • 785 posts
  •  
    United Kingdom

Posted 11 hours ago

@slore
Sorry for any confusion. I have NOT tested winre.wim.

Tests have been limited to \sources\boot.wim (from Windows 10 iso) and ADK files (both Windows 10 Build 1709 sources). These source files can both be used in MistyPE. Coding MistyPE to use winre.wim is impractical - particularly just to add the DragNDrop feature to recent Windows builds. DragNDrop is working in previous Windows 10 builds with just a few minor registry and file additions.

P.s. Thanks for all the feedback so far. It is appreciated.

#15 slore

slore

    Newbie

  • Members
  • 16 posts
  •  
    China

Posted 11 hours ago

https://github.com/s...ter/DragAndDrop

 

the boot.wim worked process to see:

add_DD_feature.gif
test_DD_PE.gif
 
drag and drop feature animations 19 hours ago
 
the winre.wim worked process to see:

add_DD_feature_WINRE.gif

test_DD_feature_WINRE.gif

 

drag and drop feature animations(WINRE) 2 minutes ago

 

 

maybe you can try wimbuilder. the project is easy.

 

PS D:\PB_Workspace\Projects\TestRE> tree /a /f
D:.
|   config.ini
|
\---DragAndDrop
    +---System32
    |       DataExchange.dll
    |       dcomp.dll
    |
    \---X
            DragDrop.reg
            Explorer++.exe
 

 

config.ini

set PB_SRC_WIM=
set PB_BASE_WIM=%PB_MNT_DIR%\winre.wim
set PB_BASE_INDEX=1

and you can tell your ISO file name and SHA-1 or MD5 information.

if I can download the ISO, I can try it.



#16 darren rose

darren rose

    Frequent Member

  • Advanced user
  • 399 posts
  • Location:Norwich, Norfolk
  •  
    United Kingdom

Posted 9 hours ago

winre.wim from en-gb_windows_10_multi-edition_version_1709_updated_sept_2017_x64_dvd_100090819.iso

MD5 = AA1021F192C797E4572EE8F0489568EB

Perhaps it is a language difference then - as my ISO en_gb and MD5 of winre.wim clearly different






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users