|
本帖最后由 slore 于 2020-9-5 14:29 编辑
加单文件直接:
main.bat
- call AddFiles "\Windows\System32\xxx.dll"
复制代码
加多个文件(explorer外壳需要文件例:Z:\WimBuilder2\Projects\WIN10XPE\01-Components\00-Shell\Explorer)
main.bat
- 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
- ; Explorer
- \Windows\explorer.exe
- \Windows\??-??\explorer.exe.mui
- @\Windows\System32\
- ;comctl32.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,sendmail.dll
- SettingSyncCore.dll,SharedStartModel.dll,ShellCommonCommonProxyStub.dll,shfolder.dll,shutdown.exe
- StartTileData.dll,stobject.dll,StorageUsage.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
- credssp.dll,mblctr.exe,TextShaping.dll
- Windows.Globalization.dll
- +ver <= 17000
- VEEventDispatcher.dll
- +ver > 17000
- cdp.dll,dsreg.dll
- +ver > 17700
- +if "%opt[slim.extra]%" <> "true"
- ; 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
- -if
- +ver >= 18885
- CoreMessaging.dll,CoreUIComponents.dll,rmclient.dll,twinapi.appcore.dll,InputHost.dll,TextInputFramework.dll
- WindowManagement.dll
- WindowManagementAPI.dll
- Windows.UI.dll
- +ver >= 20150
- dmenrollengine.dll
- ; 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
- ; Previous version tab
- twext.dll
- ; Shell extension for Windows Script Host
- \Windows\System32\wshext.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
- ; Password Notification from event-log
- kdcpw.dll
- ; Addional Cmds
- cacls.exe,Comp.exe,choice.exe,Fc.exe,findstr.exe
- Help.exe,Label.exe,Makecab.exe,sc.exe,Sort.exe
- taskkill.exe
- ; ShellHWDetection
- shsvcs.dll
- ; DLNA Namespace
- dlnashext.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
复制代码
加系统驱动:
- call AddDrivers "netrx80.inf,trautodio.inf"
复制代码
加第三方驱动
dism /add-drivers命令。
加注册表,就是普通的reg命令。
PE的注册表挂载在:
HKLM\Tmp_Software
HKLM\Tmp_SYSTEM
HKLM\Tmp_Default
|
|