Topic: WimBuilder2 - New Builder with Re:WIN10XPE project(~20H2 Supported)  (Read 38321 times)

Re: WimBuilderUI - New Builder with WIN10XPE's core features
« Reply #40 on: December 05, 2018, 08:10:29 AM »

Lancelot

  • Moderator, Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi slore,

Thanks for cmd tips.

I connect Internet with proxy, but GWT.exe can't connect to Internet with proxy.
It is good you use proxy, we can add proxy support with your feedback now. :thumbsup:
I feel JFX can improve that,
and I can improve "Download buttons" on plugins work (If they do not ?)
and Galapo can improve blexact to use proxy... (If It does not ? )
and I have other response but I do not want to fill current WimBuilderUI topic with things about Win10PESE

Open a topic with Generic name
"Win10PESE - Slore FeedBack" : http://theoven.org/index.php?board=36.0

So we can better focus on WimBuilderUI at current topic. (+Bonus: Keep things tidy)  :great:

:turtle:

Re: WimBuilderUI - New Builder with WIN10XPE's core features
« Reply #41 on: December 06, 2018, 04:33:13 AM »

bob.omb

  • Code Baker
  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Jul 2017
  • Posts: 1261
Very nice slore, base build completes in ~40 seconds here  :thumbsup:
« Last Edit: December 06, 2018, 04:33:26 AM by bob.omb »

Re: WimBuilderUI - New Builder with WIN10XPE's core features
« Reply #42 on: December 06, 2018, 01:55:44 PM »

APT

  • Grand Chef
  • *****
  • winpe enthusiast
  • Location: UK
  • Date Registered: Nov 2012
  • Posts: 1150
Hi bob.omb

do you actually get a bootable iso? mine has always been missing the bootmgr files, which I have to add in manually after build - is that to be expected at this stage?

Re: WimBuilderUI - New Builder with WIN10XPE's core features
« Reply #43 on: December 06, 2018, 03:03:42 PM »

slore

  • Moderator, WimBuilder
  • Sr. Chef
  • *****
  • Date Registered: Jun 2016
  • Posts: 664
Hi, APT

_ISO_ is the ISO template. if you select a mounted windows media drive like H:(which contained boot\, efi\, bootmgr, bootmgr.efi),
will auto copy them to _ISO_\.
if you select bare sources folder, or only install.wim/winre.wim, it will make a ISO but is not bootable.

Once already  _ISO_\boot exists, it would not copy them as here is a customed iso template.

you can copy your ISO template to _ISO_ folder. it should make a bootable ISO after 2-make_iso clicking.

Re: WimBuilderUI - New Builder with WIN10XPE's core features
« Reply #44 on: December 06, 2018, 03:56:39 PM »

APT

  • Grand Chef
  • *****
  • winpe enthusiast
  • Location: UK
  • Date Registered: Nov 2012
  • Posts: 1150
Hi Slore

Quote
Once already  _ISO_\boot exists, it would not copy them as here is a customed iso template.
thanks for the prompt

Re: WimBuilderUI - New Builder with WIN10XPE's core features
« Reply #45 on: December 06, 2018, 04:01:51 PM »

slore

  • Moderator, WimBuilder
  • Sr. Chef
  • *****
  • Date Registered: Jun 2016
  • Posts: 664
I will add a high-light red warning notice for this, if the _ISO_ template is not bootable.

Re: WimBuilderUI - New Builder with WIN10XPE's core features
« Reply #46 on: December 06, 2018, 11:53:20 PM »

APT

  • Grand Chef
  • *****
  • winpe enthusiast
  • Location: UK
  • Date Registered: Nov 2012
  • Posts: 1150
Hi Slore

 for me, I find that with the initial build, if I choose an extracted ISO folder, it creates the non-bootable template, and without the proposed warning, you're not aware of such, whereas if you happen to have chosen a mounted ISO-drive it creates the correct template and I think, will subsequently work with an extracted ISO to folder, that was my experience anyway!
So I agree a warning could be helpful to some :thumbsup:
regards APT
« Last Edit: December 10, 2018, 12:18:36 PM by APT »

Re: WimBuilderUI - New Builder with WIN10XPE's core features
« Reply #47 on: January 02, 2019, 04:19:23 PM »

slore

  • Moderator, WimBuilder
  • Sr. Chef
  • *****
  • Date Registered: Jun 2016
  • Posts: 664
2019-01-02 updated:
* WimBuilder2.zip (2960.71 kB - downloaded 105 times.)
 (without PECMD, StartIsBack, PENetwork)

ila_rendered

* Disable execution of AutoRun commands from registry
* warning for  unavailable _ISO_ template
* show wim file info
* support shared\*patches* that share for patches but just apply in once.
* new MACROs:X2X, TextReplace, AddDrivers, RegCopyEx,SharedPatch
* [Project]new MTP patch
* [Project]Remote Desktop patch
* [Project]update PENetwork patch(version update)
* [Project]update StartIsBack patch(add UI options and Preview image)
« Last Edit: January 02, 2019, 10:34:45 PM by slore »

Re: WimBuilderUI - New Builder with WIN10XPE's core features
« Reply #48 on: January 02, 2019, 04:23:05 PM »

slore

  • Moderator, WimBuilder
  • Sr. Chef
  • *****
  • Date Registered: Jun 2016
  • Posts: 664
MTP_Support\main.bat
Quote
rem install mtpHelper hook(WIN8.1PE needn't this)
copy mtpHelper_%WB_PE_ARCH%.dll %X_SYS%\mtpHelper.dll
regEx add "HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Windows" /v AppInit_DLLs /d mtpHelper.dll /f
regEx add LAST /v LoadAppInit_DLLs /t REG_DWORD /d 1 /f
regEx add LAST /v RequireSignedAppInit_DLLs /t REG_DWORD /d 0 /f

rem hook requirement(or BSOD)
call RegCopy "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WUDF"
rem call AddFiles WUDFPlatform.dll MUI

rem ==========update filesystem==========
set AddFiles_Mode=merge

call AddDrivers winusb.inf
call AddDrivers "wpd*.inf,wudf*.inf" FILE

call AddFiles %0 :end_files
goto :end_files
@windows\system32\catroot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\
Microsoft-Windows-Client-Desktop-Required-Package*
;Microsoft-Windows-WPD*
@windows\system32\
drivers\UMDF\
+mui
winusb*,wpd*,WUDF*,PortableDevice*
:end_files
call DoAddFiles

rem ==========update registry==========
rem WPD class(Portable Devices)

call RegCopy SYSTEM\ControlSet001\Control\Class\{EEC5AD98-8080-425F-922A-DABF3DE3F69A}
call RegCopyEx Services "WINUSB,WPDBusEnum,WpdUpFltr,WudfPf,WUDFRd"
rem Portable Devices ::{35786D3C-B075-49b9-88DD-029876E11C01}
call RegCopy HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\DelegateFolders
rem put X_Desk\mtp_support.bat(driver installer) on Desktop
call X2X

WimBuilderUI's patch is batch script, and focus on what need to done to wim file,
I think this is easy to understand, and convert to other projects.


What's mtpHelper.dll?
noelBlanc found out services.exe will call InitWudfDriverManager() to initialize the UDF framework on booting, but if the
MiniNT is detected, it raised error --- InitWudfDriverManager: Cannot initialize UMDF driver manager in WinPE.
so we try to found a way to change the check. modify the services.exe is very difficult as it is protected by system32.
Kernel driver could be the right way to do that, but it is hard.
so we try the native shell, dll hook way to do.
the patch is use the dll hook one.
what it does?
on booting: wininit.exe, winlogon.exe start, and create services.exe by wininit.exe.
AppInit_DLLs will inject into winlogon.exe, and delete the MiniNT key, then wait for services.exe detecting it,
after it, restore the MiniNT key for winpeshl.exe start up(wpeutil.exe also need it).

So with this way, InitWudfDriverManager() go though, and MTP driver could be working now.
the released mtpHelper.dll check cvshost.exe process to confirm the services.exe passed the MiniNT check.
It will create a X:\Hook.dat to logging the processes information, make sure it works.
(some BCD option may causes the AppInit_DLLs disable)
« Last Edit: January 03, 2019, 09:15:10 AM by slore »

Re: WimBuilderUI - New Builder with WIN10XPE's core features
« Reply #49 on: January 02, 2019, 04:28:38 PM »

slore

  • Moderator, WimBuilder
  • Sr. Chef
  • *****
  • Date Registered: Jun 2016
  • Posts: 664
* [Project]update StartIsBack patch(add UI options and Preview image)

show preivew about the selected options(thanks to HTML)
ila_rendered

recommand to be WimBuilder2\Projects\WIN10XPE\01-Components\00-Shell\za-StartMenu
* za-StartMenu.zip (1658.89 kB - downloaded 596 times.)

Re: WimBuilderUI - New Builder with WIN10XPE's core features
« Reply #50 on: January 02, 2019, 04:35:38 PM »

slore

  • Moderator, WimBuilder
  • Sr. Chef
  • *****
  • Date Registered: Jun 2016
  • Posts: 664
recommand to be WimBuilder2\Projects\WIN10XPE\02-Apps\PENetwork
* PENetwork.zip (1953.47 kB - downloaded 234 times.)

next will make a Z2X macro, for zip,7z,wim to extract to X drive, so it will be easy to update(just replace the offical released PENetwork(_x64).7z, maybe auto download...)

Re: WimBuilderUI - New Builder with WIN10XPE's core features
« Reply #51 on: January 02, 2019, 04:36:24 PM »

slore

  • Moderator, WimBuilder
  • Sr. Chef
  • *****
  • Date Registered: Jun 2016
  • Posts: 664
recommand to be WimBuilder2\Projects\WIN10XPE\00-Configures\z-PECMD

* z-PECMD.zip (1518.96 kB - downloaded 311 times.)

Re: WimBuilderUI - New Builder with WIN10XPE's core features
« Reply #52 on: January 02, 2019, 04:45:50 PM »

slore

  • Moderator, WimBuilder
  • Sr. Chef
  • *****
  • Date Registered: Jun 2016
  • Posts: 664
LITTLE TRICK
 :wink: if you add the next code in *Patch*\main.html, you can see the web site.(thanks HTML again)

Code: [Select]
<iframe height="800px" width="100%" src="http://theoven.org/index.php" frameborder="0"></iframe>

ila_rendered

Re: WimBuilderUI - New Builder with WIN10XPE's core features
« Reply #53 on: January 02, 2019, 06:02:32 PM »

teik

  • Chef
  • ***
  • Date Registered: Nov 2016
  • Posts: 250
Please add serial UEFI support, to be able to test it in the new BIOS.

Regards  :thumbsup:

Re: WimBuilderUI - New Builder with WIN10XPE's core features
« Reply #54 on: January 02, 2019, 07:37:01 PM »

APT

  • Grand Chef
  • *****
  • winpe enthusiast
  • Location: UK
  • Date Registered: Nov 2012
  • Posts: 1150
Hi slore,

sorry to be dense, can you expand a bit on
Quote
if you add the next code in *Patch*\main.html

regards

Re: WimBuilderUI - New Builder with WIN10XPE's core features
« Reply #55 on: January 02, 2019, 10:15:08 PM »

slore

  • Moderator, WimBuilder
  • Sr. Chef
  • *****
  • Date Registered: Jun 2016
  • Posts: 664
Hi, APT
open any html file in Projects\WIN10XPE\ add the <iframe> tag like other <input>,<div>,<a href...>, it will show the content of specific website.

Re: WimBuilderUI - New Builder with WIN10XPE's core features
« Reply #56 on: January 02, 2019, 10:18:34 PM »

slore

  • Moderator, WimBuilder
  • Sr. Chef
  • *****
  • Date Registered: Jun 2016
  • Posts: 664
Hi, teik
if Windows10.ISO can boot on UEFI, this one will be. I don't know your mean.

Is you mean some new BIOS needs new driver integrate?

Re: WimBuilderUI - New Builder with WIN10XPE's core features
« Reply #57 on: January 02, 2019, 11:32:13 PM »

bob.omb

  • Code Baker
  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Jul 2017
  • Posts: 1261
slore,

    thank you (and noelblanc) for MTP support.

Re: WimBuilderUI - New Builder with WIN10XPE's core features
« Reply #58 on: January 03, 2019, 01:58:33 AM »

bob.omb

  • Code Baker
  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Jul 2017
  • Posts: 1261
slore,

   I think I have everything but I dont have any MTP devices over here to test with  :embarrassed:

I tried iPhone, and installing iTunes, which appeared to be working, my phone even vibrated, started charging, and asked if I wanted to, "Trust this Computer", during the middle of the install.  But i ran out of space on x, i need to adjust my fbwf to test further...  I dont want to get too far ahead of myself though, so Id like to check that I didnt miss anything for MTP..

Code: [Select]
[Process]
Echo,"Processing %ScriptTitle%..."
//MTP Helper
ExtractFile,%ScriptFile%,Folder,mtphelper_%SourceArch%.dll,%Target_Sys%
//Drivers
Run,%ScriptFile%,CopyDrivers
//UMDF
DirCopy,%Source_Sys%\Drivers\UMDF,%Target_Sys%\Drivers
// F7
FileCopy,%Source_Sys%\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-Client-Desktop-Required-Package*,%Target_Sys%\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}
// Required Files
Require_FileQ,winusb.dll
Require_FileQ,wpd_ci.dll
Require_FileQ,wpdbusenum.dll
Require_FileQ,wpdshext.dll
Require_FileQ,WPDShextAutoplay.exe
Require_FileQ,WPDShServiceObj.dll
Require_FileQ,WPDSp.dll
Require_FileQ,WUDFCoinstaller.dll
Require_FileQ,WUDFCompanionHost.exe
Require_FileQ,WUDFHost.exe
Require_FileQ,WUDFPlatform.dll
Require_FileQ,WudfSMCClassExt.dll
Require_FileQ,WUDFx.dll
Require_FileQ,WUDFx02000.dll
Require_FileQ,PortableDeviceApi.dll
Require_FileQ,PortableDeviceClassExtension.dll
Require_FileQ,PortableDeviceConnectApi.dll
Require_FileQ,PortableDeviceStatus.dll
Require_FileQ,PortableDeviceSyncProvider.dll
Require_FileQ,PortableDeviceTypes.dll
Require_FileQ,PortableDeviceWiaCompat.dll
//Registry
RegHiveLoad,Tmp_Software,%RegSoftware%
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Windows",AppInit_DLLs,mtpHelper.dll
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Windows",LoadAppInit_DLLs,1
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Windows",RequireSignedAppInit_DLLs,0
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF",DefaultHostProcessGUID,{193a1820-d9ac-4997-8c55-be817523f6aa}
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF",HostFailKdDebugBreak,1
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF",LogEnable,0
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF",LogFlags,16777215
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF",LogFlushPeriodSeconds,300
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF",Logkd,0
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF",LogLevel,3
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF",LogMinidumpType,4384
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF",NumDeviceStacksMax,3
If,%version%,Smaller,80,RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\PoolRestrictions"
Else,RegWrite,HKLM,0x0,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\PoolRestrictions"
RegWrite,HKLM,0x2,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\EnhancedStoragePassword",ImagePath,#$pSystemRoot#$p\System32\drivers\UMDF\EhStorPwdDrv.dll
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\EnhancedStoragePassword",ComCLSID,{D043906A-C655-46ec-A554-967F47633008}
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\EnhancedStoragePassword",WdfMajorVersion,1
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\EnhancedStoragePassword",WdfMinorVersion,11
RegWrite,HKLM,0x2,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\HidOverGatt",ImagePath,#$pSystemRoot#$p\System32\drivers\UMDF\Microsoft.Bluetooth.Profiles.HidOverGatt.dll
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\HidOverGatt",WdfMajorVersion,2
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\HidOverGatt",WdfMinorVersion,15
RegWrite,HKLM,0x2,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\HidTelephony",ImagePath,#$pSystemRoot#$p\System32\drivers\UMDF\HidTelephony.dll
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\HidTelephony",WdfMajorVersion,2
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\HidTelephony",WdfMinorVersion,15
RegWrite,HKLM,0x2,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\IddCx0102",ImagePath,#$pSystemRoot#$p\system32\DRIVERS\UMDF\IddCx.dll
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\IddCx0102",WdfMajorVersion,2
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\IddCx0102",WdfMinorVersion,15
RegWrite,HKLM,0x2,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\NfcCx0102",ImagePath,#$pSystemRoot#$p\system32\DRIVERS\UMDF\NfcCx.dll
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\NfcCx0102",WdfMajorVersion,2
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\NfcCx0102",WdfMinorVersion,15
RegWrite,HKLM,0x2,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\PosCx0102",ImagePath,#$pSystemRoot#$p\system32\DRIVERS\UMDF\PosCx.dll
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\PosCx0102",WdfMajorVersion,2
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\PosCx0102",WdfMinorVersion,0
RegWrite,HKLM,0x2,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\SDFLauncher",ImagePath,#$pSystemRoot#$p\System32\drivers\UMDF\SDFLauncher.dll
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\SDFLauncher",WdfMajorVersion,2
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\SDFLauncher",WdfMinorVersion,15
RegWrite,HKLM,0x2,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\SensorsCx0102",ImagePath,#$pSystemRoot#$p\system32\DRIVERS\UMDF\SensorsCx.dll
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\SensorsCx0102",WdfMajorVersion,2
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\SensorsCx0102",WdfMinorVersion,0
RegWrite,HKLM,0x2,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\SmcCx0102",ImagePath,#$pSystemRoot#$p\system32\DRIVERS\UMDF\SMCCx.dll
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\SmcCx0102",WdfMajorVersion,2
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\SmcCx0102",WdfMinorVersion,0
RegWrite,HKLM,0x2,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\UcmCx0102",ImagePath,#$pSystemRoot#$p\System32\Drivers\UMDF\UcmCx.dll
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\UcmCx0102",WdfMajorVersion,2
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\UcmCx0102",WdfMinorVersion,15
RegWrite,HKLM,0x2,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\UiccSpb",ImagePath,#$pSystemRoot#$p\System32\drivers\UMDF\uiccspb.dll
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\UiccSpb",WdfMajorVersion,2
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\UiccSpb",WdfMinorVersion,0
RegWrite,HKLM,0x2,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\UsbXhciCompanion",ImagePath,#$pSystemRoot#$p\System32\drivers\UMDF\UsbXhciCompanion.dll
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\UsbXhciCompanion",UmdfServiceType,2
//RegWrite,HKLM,0x11,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\UsbXhciCompanion",TrustletIdentity,00,10,00,00,00,00,00,00
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\UsbXhciCompanion",WdfMajorVersion,2
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\UsbXhciCompanion",WdfMinorVersion,23
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\{193a1820-d9ac-4997-8c55-be817523f6aa}",HostProcessDbgBreakOnDriverLoad,0
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\{193a1820-d9ac-4997-8c55-be817523f6aa}",HostProcessDbgBreakOnStart,0
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\{193a1820-d9ac-4997-8c55-be817523f6aa}",HostProcessImagePath,x:\Windows\System32\WUDFHost.exe
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\{193a1820-d9ac-4997-8c55-be817523f6aa}",TrackObjects,0
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\{193a1820-d9ac-4997-8c55-be817523f6aa}",TrackRefCounts,0
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\{2c0a6c48-3046-7713-a07b-18ab5d813333}",HostProcessDbgBreakOnDriverLoad,0
RegWrite,HKLM,0x4,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\{2c0a6c48-3046-7713-a07b-18ab5d813333}",HostProcessDbgBreakOnStart,0
RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\WUDF\Services\{2c0a6c48-3046-7713-a07b-18ab5d813333}",HostProcessImagePath,x:\Windows\System32\WUDFCompanionHost.exe
RegWrite,HKLM,0x1,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\DelegateFolders\{289AF617-1CC3-42A6-926C-E6A863F0E3BA},,"DLNA Media Servers Data Source"
RegWrite,HKLM,0x1,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\DelegateFolders\{35786D3C-B075-49b9-88DD-029876E11C01},,"Portable Devices"
RegWrite,HKLM,0x1,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\DelegateFolders\{9113A02D-00A3-46B9-BC5F-9C04DADDD5D7},,"Enhanced Storage Data Source"
RegWrite,HKLM,0x1,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\DelegateFolders\{b155bdf8-02f0-451e-9a26-ae317cfd7779},,"nethood delegate folder"
RegHiveUnLoad,Tmp_Software
//
RegHiveLoad,Tmp_System,%RegSystem%
RegWrite,HKLM,0x1,Tmp_System\ControlSet001\Control\Class\{eec5ad98-8080-425f-922a-dabf3de3f69a},Class,WPD
RegWrite,HKLM,0x1,Tmp_System\ControlSet001\Control\Class\{eec5ad98-8080-425f-922a-dabf3de3f69a},ClassDesc,"@#$pSystemRoot#$p\System32\wpd_ci.dll,-101"
RegWrite,HKLM,0x1,Tmp_System\ControlSet001\Control\Class\{eec5ad98-8080-425f-922a-dabf3de3f69a},Icon,-100
If,%version%,Smaller,079,RegWrite,HKLM,0x7,Tmp_System\ControlSet001\Control\Class\{eec5ad98-8080-425f-922a-dabf3de3f69a},IconPath,#$psystemroot#$p\system32\wpd_ci.dll##$c-100
Else,RegWrite,HKLM,0x7,Tmp_System\ControlSet001\Control\Class\{eec5ad98-8080-425f-922a-dabf3de3f69a},IconPath,#$psystemroot#$p\system32\wpd_ci.dll#$c-100
RegWrite,HKLM,0x7,Tmp_System\ControlSet001\Control\Class\{eec5ad98-8080-425f-922a-dabf3de3f69a},UpperFilters,WpdUpFltr
RegWrite,HKLM,0x1,Tmp_System\ControlSet001\Control\Class\{eec5ad98-8080-425f-922a-dabf3de3f69a},Installer32,"wpd_ci.dll,WpdClassInstaller"
RegWrite,HKLM,0x2,Tmp_System\ControlSet001\Services\WINUSB,ImagePath,\SystemRoot\System32\drivers\WinUSB.SYS
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WINUSB,Type,1
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WINUSB,Start,3
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WINUSB,ErrorControl,1
RegWrite,HKLM,0x1,Tmp_System\ControlSet001\Services\WINUSB,DisplayName,"@winusb.inf,#$pWINUSB_SvcName#$p;WinUsb Driver"
RegWrite,HKLM,0x1,Tmp_System\ControlSet001\Services\WINUSB,Description,"@winusb.inf,#$pWINUSB_SvcDesc#$p;Generic driver for USB devices"
RegWrite,HKLM,0x7,Tmp_System\ControlSet001\Services\WINUSB,Owners,winusb.inf,transfercable.inf
RegWrite,HKLM,0x7,Tmp_System\ControlSet001\Services\WPDBusEnum,DependOnService,RpcSs
RegWrite,HKLM,0x1,Tmp_System\ControlSet001\Services\WPDBusEnum,Description,"@#$pSystemRoot#$p\system32\wpdbusenum.dll,-101"
RegWrite,HKLM,0x1,Tmp_System\ControlSet001\Services\WPDBusEnum,DisplayName,"@#$pSystemRoot#$p\system32\wpdbusenum.dll,-100"
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WPDBusEnum,ErrorControl,1
RegWrite,HKLM,0x3,Tmp_System\ControlSet001\Services\WPDBusEnum,FailureActions,80,51,01,00,00,00,00,00,00,00,00,00,03,00,00,00,14,00,00,00,01,00,00,00,c0,d4,01,00,01,00,00,00,e0,93,04,00,00,00,00,00,00,00,00,00
RegWrite,HKLM,0x2,Tmp_System\ControlSet001\Services\WPDBusEnum,ImagePath,"#$pSystemRoot#$p\system32\svchost.exe -k LocalSystemNetworkRestricted"
RegWrite,HKLM,0x1,Tmp_System\ControlSet001\Services\WPDBusEnum,ObjectName,LocalSystem
RegWrite,HKLM,0x7,Tmp_System\ControlSet001\Services\WPDBusEnum,RequiredPrivileges,SeAuditPrivilege,SeTcbPrivilege,SeChangeNotifyPrivilege,SeCreateGlobalPrivilege,SeCreatePermanentPrivilege,SeImpersonatePrivilege
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WPDBusEnum,ServiceSidType,1
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WPDBusEnum,Start,3
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WPDBusEnum,Type,32
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WPDBusEnum\BthActiveConnect,ACInterval,120
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WPDBusEnum\BthActiveConnect,DCInterval,240
RegWrite,HKLM,0x2,Tmp_System\ControlSet001\Services\WPDBusEnum\Parameters,ServiceDll,#$pSystemRoot#$p\system32\wpdbusenum.dll
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WPDBusEnum\Parameters,ServiceDllUnloadOnStop,1
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WPDBusEnum\TriggerInfo\0,Action,1
RegWrite,HKLM,0x3,Tmp_System\ControlSet001\Services\WPDBusEnum\TriggerInfo\0,GUID,07,63,f5,53,bf,b6,d0,11,94,f2,00,a0,c9,1e,fb,8b
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WPDBusEnum\TriggerInfo\0,Type,1
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WPDBusEnum\TriggerInfo\1,Action,1
RegWrite,HKLM,0x3,Tmp_System\ControlSet001\Services\WPDBusEnum\TriggerInfo\1,GUID,6d,bc,e9,c1,ae,1d,1a,42,93,69,cc,7f,f0,d6,e3,59
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WPDBusEnum\TriggerInfo\1,Type,1
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WPDBusEnum\TriggerInfo\2,Action,1
RegWrite,HKLM,0x3,Tmp_System\ControlSet001\Services\WPDBusEnum\TriggerInfo\2,Data0,75,18,bc,a3,28,00,92,13
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WPDBusEnum\TriggerInfo\2,DataType0,1
RegWrite,HKLM,0x3,Tmp_System\ControlSet001\Services\WPDBusEnum\TriggerInfo\2,GUID,16,28,7a,2d,5e,0c,fc,45,9c,e7,57,0e,5e,cd,e9,c9
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WPDBusEnum\TriggerInfo\2,Type,7
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WPDBusEnum\TriggerInfo\3,Action,1
RegWrite,HKLM,0x3,Tmp_System\ControlSet001\Services\WPDBusEnum\TriggerInfo\3,Data0,75,70,be,a3,28,00,92,13
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WPDBusEnum\TriggerInfo\3,DataType0,1
RegWrite,HKLM,0x3,Tmp_System\ControlSet001\Services\WPDBusEnum\TriggerInfo\3,GUID,16,28,7a,2d,5e,0c,fc,45,9c,e7,57,0e,5e,cd,e9,c9
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WPDBusEnum\TriggerInfo\3,Type,7
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WPDBusEnum\TriggerInfo\4,Action,1
RegWrite,HKLM,0x3,Tmp_System\ControlSet001\Services\WPDBusEnum\TriggerInfo\4,GUID,e6,ca,9f,65,db,5b,a9,4d,b1,ff,ca,2a,17,8d,46,e0
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WPDBusEnum\TriggerInfo\4,Type,5
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WPDBusEnum\TriggerInfo\5,Action,1
RegWrite,HKLM,0x3,Tmp_System\ControlSet001\Services\WPDBusEnum\TriggerInfo\5,GUID,c8,46,fb,54,89,f0,4c,46,b1,fd,59,d1,b6,2c,3b,50
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WPDBusEnum\TriggerInfo\5,Type,5
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WPDBusEnum\TriggerInfo\6,Action,1
RegWrite,HKLM,0x3,Tmp_System\ControlSet001\Services\WPDBusEnum\TriggerInfo\6,Data0,01,00,00,00,00,00,00,00
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WPDBusEnum\TriggerInfo\6,DataType0,4
RegWrite,HKLM,0x3,Tmp_System\ControlSet001\Services\WPDBusEnum\TriggerInfo\6,GUID,37,e0,9f,19,82,2b,a9,40,82,ac,e1,d4,6c,79,2b,99
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WPDBusEnum\TriggerInfo\6,Type,20
RegWrite,HKLM,0x1,Tmp_System\ControlSet001\Services\WpdUpFltr,Description,"@#$psystemroot#$p\System32\drivers\WpdUpFltr.sys,-100"
RegWrite,HKLM,0x1,Tmp_System\ControlSet001\Services\WpdUpFltr,DisplayName,"@#$psystemroot#$p\System32\drivers\WpdUpFltr.sys,-100"
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WpdUpFltr,ErrorControl,1
RegWrite,HKLM,0x1,Tmp_System\ControlSet001\Services\WpdUpFltr,Group,"PnP Filter"
RegWrite,HKLM,0x2,Tmp_System\ControlSet001\Services\WpdUpFltr,ImagePath,System32\drivers\WpdUpFltr.sys
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WpdUpFltr,Start,3
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WpdUpFltr,Type,1
RegWrite,HKLM,0x1,Tmp_System\ControlSet001\Services\WudfPf,Description,"@#$psystemroot#$p\system32\drivers\Wudfpf.sys,-1001"
RegWrite,HKLM,0x1,Tmp_System\ControlSet001\Services\WudfPf,DisplayName,"@#$pSystemRoot#$p\system32\drivers\Wudfpf.sys,-1000"
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WudfPf,ErrorControl,1
RegWrite,HKLM,0x1,Tmp_System\ControlSet001\Services\WudfPf,Group,base
RegWrite,HKLM,0x2,Tmp_System\ControlSet001\Services\WudfPf,ImagePath,system32\drivers\WudfPf.sys
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WudfPf,Start,3
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WudfPf,Type,1
RegWrite,HKLM,0x2,Tmp_System\ControlSet001\Services\WUDFRd,ImagePath,system32\drivers\WudfRd.sys
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WUDFRd,Type,1
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WUDFRd,Start,3
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WUDFRd,ErrorControl,1
RegWrite,HKLM,0x7,Tmp_System\ControlSet001\Services\WUDFRd,Owners,HidTelephonyDriver.inf,hidbthle.inf,SDFLauncher.inf,uiccspb.inf,ehstorpwddrv.inf
RegWrite,HKLM,0x1,Tmp_System\ControlSet001\Services\WUDFRd,DisplayName,"@#$pSystemRoot#$p\system32\drivers\WudfRd.sys,-1000"
RegWrite,HKLM,0x1,Tmp_System\ControlSet001\Services\WUDFRd,Group,base
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Services\WUDFRd,Tag,12
RegWrite,HKLM,0x1,Tmp_System\ControlSet001\Services\WUDFRd,Description,"@#$psystemroot#$p\system32\drivers\WudfRd.sys,-1001"
RegHiveUnLoad,Tmp_System

[CopyDrivers]
DirCopy,%Source_Sys%\DriverStore\FileRepository\winusb.inf_*,%Target_Sys%\DriverStore\FileRepository\
DirCopy,%Source_Sys%\DriverStore\FileRepository\wpd*,%Target_Sys%\DriverStore\FileRepository\
DirCopy,%Source_Sys%\DriverStore\FileRepository\wudf*,%Target_Sys%\DriverStore\FileRepository\
FileCopy,%Source_Win%\inf\winusb.inf,%Target_Win%\inf
FileCopy,%Source_Win%\inf\wpdcomp.inf,%Target_Win%\inf
FileCopy,%Source_Win%\inf\wpdfs.inf,%Target_Win%\inf
FileCopy,%Source_Win%\inf\wpdmtp.inf,%Target_Win%\inf
FileCopy,%Source_Win%\inf\wpdmtphw.inf,%Target_Win%\inf
FileCopy,%Source_Win%\inf\wudfusbcciddriver.inf,%Target_Win%\inf
FileCopy,%Source_Sys%\Drivers\winusb.sys,%Target_Sys%\Drivers
FileCopy,%Source_Sys%\Drivers\wpdupfltr.sys,%Target_Sys%\Drivers
FileCopy,%Source_Sys%\Drivers\wudfpf.sys,%Target_Sys%\Drivers
FileCopy,%Source_Sys%\Drivers\wudfrd.sys,%Target_Sys%\Drivers

SE Test Plugin v1:  * MTP_Support_v1.7z (87.33 kB - downloaded 74 times.)
« Last Edit: January 03, 2019, 02:04:39 AM by bob.omb »

Re: WimBuilderUI - New Builder with WIN10XPE's core features
« Reply #59 on: January 03, 2019, 02:46:19 AM »

slore

  • Moderator, WimBuilder
  • Sr. Chef
  • *****
  • Date Registered: Jun 2016
  • Posts: 664
Hi, bob.omb

I think iphone didn't use MTP proctocol? I haven't iphone to test.  :sad:

1.check if X:\hook.dat exist(to confirm the mtpHelper.dll works).
2.run mtp_support.bat and see, if all driver install fine(x64 needs patched_drvinst).

those should be OK, even no smartphone plugged.

Try WimBuilderUI with enabling 01-Components\MTP_support,patch_drvinst to build.
try if this build is OK.

if true, dir /b /s to compare the file list.

the registy is hard to compare(load,export to reg, and check).
well, before the MTP_support, the basic build patch is necessary.
(RegCopy CLSID, Interface, TypeLib)
maybe use install.wim' SOFTWARE hive is good to check the feature what files are missing without consider the HIVE.


I tested only 00-Configures + 01-Components\MTP_support,patch_drvinst, use notepad.exe with old browse dialog,
it also works.


 :ohmy: 200 lines...I though WinBuilder's plugin script will be more than main.bat,
like 3~4 times. never though it be 10 times.
« Last Edit: January 03, 2019, 02:55:49 AM by slore »

 

Powered by EzPortal