[Files]

//+++++++++++++++++++++++++++++++
//----VERZEICHNISSE | DIRECTORIES
//+++++++++++++++++++++++++++++++
// Windows 10 - ex 19H1				(= Version 1903, Build 18362)
// --------------------
If,%WIM_BUILD%,=>,18362,Then
	DirCopy,%Install_win%\SystemResources\Windows.UI.ShellCommon,%Target_Win%\SystemResources\Windows.UI.ShellCommon
End

//+++++++++++++++++++
//----DATEIEN | FILES
//+++++++++++++++++++
// Install.wim
// +++++++++++
Echo,%tEcho_3%

SetReqFile,%Install_win%,%Distlang%,%FallBack%,%Target_Win%
ReqFile,explorer.exe,1

SetReqFile,%Install_sys%,%Distlang%,%FallBack%,%target_sys%
If,%Arch%,=,x86,Then
	ReqFile,olecli32.dll,1
Else
  SetReqFile,%Install_wow%,%Distlang%,%FallBack%,%target_wow%
  ReqFile,olecli32.dll,1
End

SetReqFile,%Install_sys%,%Distlang%,%FallBack%,%target_sys%
ReqFile,atlthunk.dll
ReqFile,actxprxy.dll
ReqFile,apphelp.dll,1
ReqFile,browseui.dll
ReqFile,cdp.dll,1
ReqFile,cfgbkend.dll,1
ReqFile,chartv.dll,1
ReqFile,Clipc.dll,1
ReqFile,colbact.dll
ReqFile,comctl32.dll,1
ReqFile,comsvcs.dll
//ReqFile,CoreUIComponents.dll
ReqFile,cscapi.dll
//ReqFile,d3d10.dll
//ReqFile,d3d10_1.dll
//ReqFile,d3d10_1core.dll
//ReqFile,d3d10core.dll
//ReqFile,d3d10level9.dll
//ReqFile,d3d10warp.dll
//ReqFile,d3d11.dll
//ReqFile,d3d12.dll
//ReqFile,D3DCompiler_47.dll
ReqFile,DataExchange.dll,2
//ReqFile,dcomp.dll,1
ReqFile,deskadp.dll,1
ReqFile,deskmon.dll,1
ReqFile,devmgr.dll,1
ReqFile,Display.dll,1
ReqFile,dmintf.dll
ReqFile,dmocx.dll,1
ReqFile,dmutil.dll,1
ReqFile,dmvdsitf.dll
ReqFile,dsreg.dll,1
//ReqFile,dxgi.dll
//ReqFile,dxva2.dll
ReqFile,edputil.dll,2
ReqFile,edpauditapi.dll
ReqFile,ELSCore.dll
ReqFile,encapi.dll
ReqFile,explorerFrame.dll,2
ReqFile,hotplug.dll,1
ReqFile,idstore.dll
ReqFile,ieframe.dll,2
//ReqFile,kernel.appcore.dll
ReqFile,MMDevAPI.dll,1
ReqFile,MrmCoreR.dll,1
ReqFile,mscories.dll
ReqFile,networkexplorer.dll,1
ReqFile,objsel.dll
ReqFile,osbaseln.dll,1
ReqFile,policymanager.dll
ReqFile,powercpl.dll,1
ReqFile,query.dll
ReqFile,RMClient.dll,1
ReqFile,rshx32.dll,1
ReqFile,RstrtMgr.dll,1
ReqFile,sendmail.dll,1
ReqFile,shdocvw.dll,1
ReqFile,shfolder.dll
ReqFile,shgina.dll,1
ReqFile,shsvcs.dll,2
ReqFile,shutdownux.dll,1
ReqFile,sscore.dll,1
ReqFile,StateRepository.Core.dll
ReqFile,StructuredQuery.dll
ReqFile,sud.dll,1
ReqFile,systemcpl.dll,2
ReqFile,SystemEventsBrokerServer.dll,1
ReqFile,taskbarcpl.dll,1
ReqFile,TextInputFramework.dll
ReqFile,thumbcache.dll,1
ReqFile,twext.dll,1
//ReqFile,twinapi.dll,1
//ReqFile,twinapi.appcore.dll,1
//ReqFile,twinui.appcore.dll,2
ReqFile,twinui.dll,2
ReqFile,UIRibbon.dll,1
ReqFile,UIRibbonRes.dll
ReqFile,UIAnimation.dll,1
ReqFile,usermgrcli.dll
//ReqFile,Windows.Gaming.Input.dll
ReqFile,Windows.StateRepository.dll,1
ReqFile,Windows.StateRepositoryBroker.dll
ReqFile,Windows.StateRepositoryClient.dll
//ReqFile,windows.storage.dll,1
ReqFile,Windows.UI.dll,1
ReqFile,windows.ui.immersive.dll,2
ReqFile,Winlangdb.dll,1
//ReqFile,WinTypes.dll,1
ReqFile,wlidprov.dll,1
ReqFile,WorkFoldersShell.dll,1

// In N-Versionen nicht vorhanden | Not existing in N-Versions:
If,ExistFile,%Install_sys%\dlnashext.dll,Then,ReqFile,dlnashext.dll
If,ExistFile,%Install_sys%\mfperfhelper.dll,Then,ReqFile,mfperfhelper.dll
If,ExistFile,%Install_sys%\wpdshext.dll,Then,ReqFile,wpdshext.dll,1

// Windows 10 - ex Redstone 1		(= Version 1607, Build 14393)
// --------------------------
If,%WIM_BUILD%,=>,14393,Then
//	ReqFile,OneCoreUAPCommonProxyStub.dll
	ReqFile,twinui.pcshell.dll
	ReqFile,WindowManagement.dll
End
// Windows 10 - ex Redstone 2		(= Version 1703, Build 15063)
// --------------------------
If,%WIM_BUILD%,=>,15063,Then
	ReqFile,AppResolver.dll
//	ReqFile,ISM.dll
	ReqFile,msIso.dll
	ReqFile,StartTileData.dll,1
	ReqFile,Windows.StateRepositoryUpgrade.dll

//	If,ExistFile,%ScriptDir%\Explorer\%ProjectName%\AppRepository%WIM_BUILD%.7z,Then
//		Echo,%tEcho_5%
//		Pack,Decompress,%ScriptDir%\Explorer\%ProjectName%\AppRepository%WIM_BUILD%.7z,%TargetDir%\ProgramData\Microsoft\Windows\AppRepository\	
//	End
	 if,%WIM_BUILD%,<=,16299,then,Pack,Decompress,%Scriptdir%\Explorer\AppRepository%WIM_BUILD%.7z,%TargetDir%\ProgramData\Microsoft\Windows\AppRepository\	

End
// Windows 10 - thru Redstone 3		(= Version 1709, Build 16299)
// ----------------------------
If,%WIM_BUILD%,<=,16299,Then
	ReqFile,VEEventDispatcher.dll
	ReqFile,workerdd.dll
  
End
// Windows 10 - ex Redstone 3		(= Version 1709, Build 16299)
// --------------------------
If,%WIM_BUILD%,=>,16299,Then
	ReqFile,Windows.StateRepositoryPS.dll
End
// Windows 10 - ex Redstone 4		(= Version 1803, Build 17134)
// --------------------------
If,%WIM_BUILD%,=>,17134,Then
	ReqFile,BCP47mrm.dll
End
// Windows 10 - thru 19H1			(= Version 1903, Build 18362)
// ----------------------
If,%WIM_BUILD%,<,18362,Then
	ReqFile,SettingSyncPolicy.dll
	ReqFile,SharedStartModel.dll
End
// Windows 10 - ex 19H1				(= Version 1903, Build 18362)
// --------------------
If,%WIM_BUILD%,=>,18362,Then
//	ReqFile,GameInput.dll
End
// Windows 10 - ex 20H1				(= Version 2004, Build 19041)
// --------------------
If,%WIM_BUILD%,=>,19041,Then
	ReqFile,coreglobconfig.dll
	ReqFile,WindowManagementAPI.dll
	ReqFile,Windows.FileExplorer.Common.dll
End
// Windows 10 - thru 20H2			(= Version 20H2, Build 19042)
// ----------------------
If,%WIM_BUILD%,<=,19042,Then
	ReqFile,SettingSyncCore.dll,1
End
// Windows 10 - ex 21H2				(= Version 21H2, Build 19044)
// --------------------
If,%WIM_BUILD%,>,19043,Then
	Copyfile,dmenrollengine.dll
	Copyfile,lsaadt.dll
	Copyfile,ServicingCommon.dll
	Copyfile,utcapi.dll
End

// Windows 11						(=			   , Build 22000)
// ----------
If,%WIM_BUILD%,=>,22000,Then
	ReqFile,windowsudk.shellcommon.dll
	ReqFile,windowsudkservices.shellcommon.dll,1
	ReqFile,Windows.StateRepositoryCore.dll
	Pack,Decompress,%ScriptDir%\Explorer\%ProjectName%\AppRepository22xxx.7z,%TargetDir%\ProgramData\Microsoft\Windows\AppRepository\	
End
If,%WIM_BUILD%,=>,22621,then
  copyfile,Windows.UI.Core.TextInput.dll
  copyfile,windows.ui.fileExplorer.dll,1
  copyfile,windows.System.Launcher.dll,1
  copyfile,windows.ui.xaml.dll,1
End

// Sonstige Dateien | Other files
// ++++++++++++++++++++++++++++++
ReqFile,appwiz.cpl,2
ReqFile,bthprops.cpl,1
ReqFile,desk.cpl,1
//	in 2-Base-Files.srt:
//	ReqFile,hdwwiz.cpl
ReqFile,intl.cpl,2
ReqFile,irprops.cpl,1
ReqFile,joy.cpl,1
ReqFile,main.cpl,2
ReqFile,mmsys.cpl,2
ReqFile,powercfg.cpl,1
ReqFile,sysdm.cpl,2
ReqFile,TabletPC.cpl,1
ReqFile,timedate.cpl,2
ReqFile,wscui.cpl,2

ReqFile,control.exe
ReqFile,cttune.exe,2
ReqFile,powercfg.exe,1
ReqFile,provtool.exe
ReqFile,shutdown.exe,1
ReqFile,sc.exe,1
ReqFile,systray.exe

// Boot.wim
// ++++++++
Echo,%tEcho_4%

SetReqFile,%boot_sys%,%Distlang%,%FallBack%,%target_sys%
ReqFile,BCP47Langs.dll
ReqFile,srvsvc.dll,1
