|
WimBuilder2选择【组件】-【外壳】可以添加Explorer。
如果自己想知道具体补充的文件和注册表,打开里面的批处理就可以看到了。
手动操作就是挂载wim,自己从install.wim复制补充文件和修改注册表。
D:\dev\WimBuilder2\Projects\WIN10XPE\01-Components\00-Shell\Explorer\submain.bat
- @echo off
- if not "x%opt[shell.app]%"=="xexplorer" goto :EOF
- call AddFiles %0 :end_files
- goto :end_files
- \Windows\SystemResources\Windows.UI.ShellCommon
- @\Users\Default\AppData\Roaming\Microsoft\Windows\SendTo\
- Compressed (zipped) Folder.zfsendtotarget
- Desktop (create shortcut).DeskLink
- desktop.ini
- ; Windows Trusted Runtime Interface Driver
- \Windows\System32\drivers\WindowsTrustedRT.sys
- ; Computer Management shortcut
- \ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\Computer Management.lnk
- ; Explorer
- \Windows\explorer.exe
- \Windows\??-??\explorer.exe.mui
- @\Windows\System32\
- comctl32.dll
- actxprxy.dll,AppHelp.dll,AppResolver.dll,atlthunk.dll,avifil32.dll,clip.exe,Clipc.dll
- control.exe,comsvcs.dll,CoreMessaging.dll,CoreUIComponents.dll,cscapi.dll
- ctfmon.exe,desk.cpl,edputil.dll
- ELSCore.dll,IconCodecService.dll,imageres.dll,InfDefaultInstall.exe
- InputSwitch.dll,mfperfhelper.dll
- MrmCoreR.dll,mscories.dll,MsCtfMonitor.dll,msutb.dll,mycomput.dll,policymanager.dll,pdh.dll,PhotoMetadataHandler.dll,pnputil.exe
- ProximityCommon.dll,ProximityCommonPal.dll,ProximityService.dll,ProximityServicePal.dll
- rmclient.dll,rshx32.dll,sendmail.dll
- SettingSyncCore.dll,SharedStartModel.dll,ShellCommonCommonProxyStub.dll,shfolder.dll,shutdown.exe
- StartTileData.dll,stobject.dll,systemcpl.dll,TDLMigration.dll,TextInputFramework.dll,thumbcache.dll
- twinapi.appcore.dll,twinapi.dll,twinui.appcore.dll,twinui.pcshell.dll,UIAnimation.dll,UIRibbon.dll,UIRibbonRes.dll
- Windows.Gaming.Input.dll,Windows.Internal.Shell.Broker.dll,Windows.Networking.Connectivity.dll,WorkFoldersShell.dll,zipfldr.dll
- windows.immersiveshell.serviceprovider.dll
- +ver <= 17000
- VEEventDispatcher.dll
- +ver > 17000
- cdp.dll,dsreg.dll
- +ver > 17700
- ; shellstyle.dll(.mui) is now in \Windows\resources\themes\aero\shell\normalcolor
- \Windows\resources\Themes\aero\shell
- ; dll for StateRepository (AppRepository). The StateRepository service is not registered in the Registry
- StateRepository.core.dll,Windows.StateRepository.dll
- Windows.StateRepositoryBroker.dll,Windows.StateRepositoryClient.dll
- +ver <= 17700 or (ver > 18334 and ver < 18800) or ver > 18836
- shellstyle.dll
- en-US\shellstyle.dll.mui
- ; remove ver check (add with any ver)
- +ver*
- ; Advanced system setting
- sysdm.cpl,DeviceProperties.exe,SystemPropertiesAdvanced.exe,SystemPropertiesComputerName.exe
- systempropertieshardware.exe,systempropertiesperformance.exe
- systempropertiesremote.exe
- ; Device Manager cpl
- hdwwiz.cpl,hdwwiz.exe
- ; Timedate Mouse Region, Language cpl
- timedate.cpl,main.cpl,intl.cpl
- ; Browse Folder
- ExplorerFrame.dll
- ; DragAndDrop (d2d1.dll,ksuser.dll already in Winre.wim)
- DataExchange.dll,dcomp.dll,d3d11.dll,dxgi.dll
- ;d2d1.dll,ksuser.dll
- ; CopyProgress
- chartv.dll,OneCoreUAPCommonProxyStub.dll
- ; Eject usb
- DeviceCenter.dll,DeviceEject.exe,StorageContextHandler.dll
- ; System Information (Optional)
- msinfo32.exe
- ; Map a network drive also in network addition
- netplwiz.dll,netplwiz.exe
- ; Sharing from explorer
- dtsh.dll,shpafact.dll,networkexplorer.dll,provsvc.dll
- ; Addional Cmds
- cacls.exe,Comp.exe,choice.exe,Fc.exe,findstr.exe
- Help.exe,Label.exe,Makecab.exe,sc.exe,Sort.exe
- ; ShellHWDetection
- shsvcs.dll
- ; Taking Ownership (Appinfo and ProfSvc services). ProfSvc services already here (profsvc.dll,profsvcext.dll,provsvc.dll,objsel.dll)
- appinfo.dll,appinfoext.dll,objsel.dll
- ; Version Info
- winver.exe
- :end_files
- rem ==========update registry==========
- rem =====================Reg_Theme=====================
- reg import "%~dp0Themes_RegDefault.reg"
- if not "x%opt[build.registry.software]%"=="xfull" (
- call REGCOPY HKLM\Software\Microsoft\Direct3D
- call REGCOPY HKLM\Software\Microsoft\DirectDraw
- call REGCOPY HKLM\Software\Microsoft\DirectInput
- call REGCOPY HKLM\Software\Microsoft\DirectMusic
- call REGCOPY HKLM\Software\Microsoft\DirectPlay
- call REGCOPY HKLM\Software\Microsoft\DirectPlay8
- call REGCOPY HKLM\Software\Microsoft\DirectPlayNATHelp
- call REGCOPY HKLM\Software\Microsoft\DirectShow
- call REGCOPY HKLM\Software\Microsoft\DirectX
- call REGCOPY HKLM\Software\Microsoft\RADAR
- call REGCOPY "HKLM\Software\Microsoft\Windows\CurrentVersion\Control Panel"
- call REGCOPY "HKLM\Software\Microsoft\Windows\CurrentVersion\Controls Folder"
- call REGCOPY HKLM\Software\Microsoft\Windows\CurrentVersion\Themes
- )
- call REGCOPY HKLM\SYSTEM\ControlSet001\Services\CoreMessagingRegistrar
- call REGCOPY HKLM\SYSTEM\ControlSet001\Services\Themes
- call REGCOPY HKLM\SYSTEM\ControlSet001\Services\WindowsTrustedRT
- reg add HKLM\Tmp_SYSTEM\Setup\AllowStart\Themes /f
- reg add HKLM\Tmp_SYSTEM\Setup\AllowStart\CoreMessagingRegistrar /f
- :Reg_Explorer
- rem =====================Reg_Explorer=====================
- call REGCOPY HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer
- call REGCOPY HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
- call REGCOPY HKLM\Software\Microsoft\Windows\CurrentVersion\CloudStore
- reg import "%~dp0Explorer_RegDefault.reg"
- reg import "%~dp0Explorer_RegSoftware.reg"
- reg add "HKLM\Tmp_Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v shell /d explorer.exe /f
- rem =====================Reg_ShellHWDetection=====================
- call REGCOPY HKLM\SYSTEM\ControlSet001\Services\ShellHWDetection
复制代码 |
|