mirror of
https://github.com/slorelee/wimbuilder2.git
synced 2025-05-06 18:25:51 +08:00
apply winre.wim's WinPE-WiFi-Package for boot.wim
This commit is contained in:
parent
9b2f07d72e
commit
d8a8e9e85e
@ -0,0 +1,20 @@
|
|||||||
|
call AddFiles %0 :[WinPE-WiFi-Package-Files]
|
||||||
|
|
||||||
|
call RegCopy "HKLM\System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}"
|
||||||
|
call RegCopy "HKLM\System\ControlSet001\Control\WMI\Autologger\WiFiSession"
|
||||||
|
call RegCopyEx Services "vwifibus,vwififlt,wcncsvc,wdiwifi,WFPLWFS,WlanSvc,NativeWifiP"
|
||||||
|
|
||||||
|
goto :EOF
|
||||||
|
|
||||||
|
:[WinPE-WiFi-Package-Files]
|
||||||
|
@\Windows\System32\
|
||||||
|
mlang.dat,mlang.dll
|
||||||
|
WiFiConfigSP.dll,WiFiDisplay.dll
|
||||||
|
|
||||||
|
;WLAN
|
||||||
|
wlan*.dll
|
||||||
|
|
||||||
|
;vwifi
|
||||||
|
drivers\vwifibus.sys
|
||||||
|
drivers\vwifimp.sys
|
||||||
|
goto :EOF
|
@ -1,27 +1,21 @@
|
|||||||
if "x%opt[build.wim]%"=="xwinre" goto :EOF
|
if "x%opt[build.wim]%"=="xwinre" goto :EOF
|
||||||
|
|
||||||
call AddFiles %0 :end_files
|
call AddFiles %0 :[WinRE-Builtin-Packages]
|
||||||
goto :end_files
|
call RegCopyEx Services "MSiSCSI"
|
||||||
|
|
||||||
|
call _WinPE-WiFi-Package.bat
|
||||||
|
goto :EOF
|
||||||
|
|
||||||
|
:[WinRE-Builtin-Packages]
|
||||||
|
;WinPE-EnhancedStorage, WinPE-WMI, WinPE-HTA ...
|
||||||
@\Windows\System32\
|
@\Windows\System32\
|
||||||
d3d*.dll
|
d3d*.dll
|
||||||
fmapi.dll
|
fmapi.dll
|
||||||
mlang.dat,mlang.dll,mshta.exe,mshtml*.*,msimtf.dll,msoert2.dll,msrating.dll,oledlg.dll,pngfilt.dll
|
mlang.dat,mlang.dll,mshta.exe,mshtml*.*,msimtf.dll,msoert2.dll,msrating.dll,oledlg.dll,pngfilt.dll
|
||||||
pnppropmig.dll,ReserveManager.dll,storagewmi.dll,storagewmi_passthru.dll,unbcl.dll
|
pnppropmig.dll,ReserveManager.dll,storagewmi.dll,storagewmi_passthru.dll,unbcl.dll
|
||||||
wdsutil.dll,webplatstorageserver.dll,wfdprov.dll,WiFiConfigSP.dll,WiFiDisplay.dll
|
wdsutil.dll,webplatstorageserver.dll,wfdprov.dll
|
||||||
|
|
||||||
;WLAN
|
|
||||||
wlan*.dll
|
|
||||||
|
|
||||||
;vwifi
|
|
||||||
drivers\vwifibus.sys
|
|
||||||
drivers\vwifimp.sys
|
|
||||||
|
|
||||||
;iscsi
|
;iscsi
|
||||||
iscsi*.dll,iscsicli.exe,iscsicpl.exe
|
iscsi*.dll,iscsicli.exe,iscsicpl.exe
|
||||||
|
goto :EOF
|
||||||
:end_files
|
|
||||||
|
|
||||||
call RegCopy "HKLM\System\ControlSet001\Control\Network\{4d36e974-e325-11ce-bfc1-08002be10318}\{5CBF81BF-5055-47CD-9055-A76B2B4E3698}"
|
|
||||||
call RegCopy "HKLM\System\ControlSet001\Control\WMI\Autologger\WiFiSession"
|
|
||||||
call RegCopyEx Services "vwifibus,vwififlt,wcncsvc,wdiwifi,WFPLWFS,WlanSvc,NativeWifiP,MSiSCSI"
|
|
||||||
|
@ -3,9 +3,12 @@ rem // For Samba Servers
|
|||||||
call :PolicyLmCompatLevel
|
call :PolicyLmCompatLevel
|
||||||
|
|
||||||
if "x%opt[component.PPPoE]%"=="xtrue" (
|
if "x%opt[component.PPPoE]%"=="xtrue" (
|
||||||
call :ApplySubPatch "..\PPPoE"
|
call :ApplySubPatch "..\PPPoE" main.bat
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if not exist "%X_SYS%\wlanapi.dll" (
|
||||||
|
call :ApplySubPatch "..\00-Boot2WinRE" _WinPE-WiFi-Package.bat
|
||||||
|
)
|
||||||
call _networktrayicon.bat
|
call _networktrayicon.bat
|
||||||
call full_functional.bat
|
call full_functional.bat
|
||||||
call netdrivers.bat
|
call netdrivers.bat
|
||||||
@ -13,9 +16,9 @@ call netdrivers.bat
|
|||||||
goto :EOF
|
goto :EOF
|
||||||
|
|
||||||
:ApplySubPatch
|
:ApplySubPatch
|
||||||
echo Applying Patch: %~1\main.bat
|
echo Applying Patch: %~1\%~2
|
||||||
pushd "%~1"
|
pushd "%~1"
|
||||||
call main.bat
|
call %~2
|
||||||
popd
|
popd
|
||||||
goto :EOF
|
goto :EOF
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user