[Main]
Title=Base files
Description=Create folders and copy all basic files. This step is fundamental to add all needed system files.
Selected=none
Level=1
Author=JFX,Kare
Version=11
Date=31.08.2019
Sizex86=|327401759:16485326:0
Sizex64=|395870739:34509218:0
Translation_DE=MaineCoon

[Interface]
//
tEcho_1=Creating directories...
tEcho_6=Part [1/8] - Copy: Base files
tEcho_7=Part [2/8] - Copy: Registry files
tEcho_8=Part [3/8] - Copy: Drivers files
tEcho_9=Part [4/8] - Copy: Font files
tEcho_10=Part [5/8] - Copy: Side By Side files
tEcho_11=Part [6/8] - Copy: System32 files
tEcho_12=Part [7/8] - Copy: Install.wim\System32 files
tEcho_13=Part [8/8] - Copy: Common files

[Interface.07]
Description=Erstellt Ordner und kopiert das Grundsystem. Dieses Skript integriert benötigte Systemdateien in WindowsPE.
tEcho_1=Verzeichnisse werden erstellt...
tEcho_6=Abschnitt [1/8] - Kopiere: Basis-Dateien
tEcho_7=Abschnitt [2/8] - Kopiere: Registry-Dateien
tEcho_8=Abschnitt [3/8] - Kopiere: Treiber-Dateien
tEcho_9=Abschnitt [4/8] - Kopiere: Schriftarten-Dateien
tEcho_10=Abschnitt [5/8] - Kopiere: Side-By-Side-Dateien
tEcho_11=Abschnitt [6/8] - Kopiere: System32-Dateien
tEcho_12=Abschnitt [7/8] - Kopiere: Install.wim\System32-Dateien
tEcho_13=Abschnitt [8/8] - Kopiere: Gemeinsame Dateien


[Process]

Echo,%tEcho_1%
dirmake,%Target_CD%\sources

DirMake,%target_cd%\BOOT\fonts
DirMake,%target_cd%\Boot\en-us
DirMake,%target_cd%\Boot\%DistLang%

DirMake,%targetdir%\Program Files\Internet Explorer
DirMake,%targetdir%\ProgramData
DirMake,%Targetdir%\Users\Default\AppData\LocalLow\
DirMake,%target_win%\%DistLang%
DirMake,%target_win%\schemas\EAPHost
DirMake,%target_win%\servicing
DirMake,%target_win%\Wpeprofiles
DirMake,%target_win%\Logs
DirMake,%target_win%\Globalization
DirMake,%target_win%\en-us
DirMake,%target_win%\inf
DirMake,%target_win%\fonts
DirMake,%target_win%\winsxs\manifests
DirMake,%target_win%\Wpeprofiles
DirMake,%target_win%\Log
DirMake,%target_win%\winsxs\manifests
DirMake,%target_sys%\config\systemprofile
DirMake,%target_sys%\en-us
DirMake,%target_sys%\%DistLang%
DirMake,%target_sys%\boot\%DistLang%
DirMake,%target_sys%\Recovery
DirMake,%target_sys%\dism
DirMake,%target_sys%\driverstore
DirMake,%target_sys%\drivers
DirMake,%target_sys%\wbem
DirMake,%target_sys%\oobe
DirMake,%target_sys%\SMI

//Shortcuts
DirMake,%TargetDir%\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
DirMake,%TargetDir%\Users\Default\Desktop
DirMake,%TargetDir%\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch


Echo,%tEcho_6%
GetDistLang,%DistTmp%,%boot_win%,%Distlang%:%FallBack%
DirCopy,%boot_win%\%DistTmp%,%target_win%\%DistTmp%\
//DirCopy,%boot_sys%\%DistLang%,%target_sys%\%DistLang%\
IF,Not,%DistLang%,=,en-US,Then,DirCopy,%boot_sys%\en-US,%target_sys%\en-US\

// Boot
FileCopy,%SourceDir%\bootmgr,%Target_CD%
If,ExistFile,%boot_win%\Boot\PXE\%DistLang%\bootmgr.exe.mui,Then,FileCopy,%boot_win%\Boot\PXE\%DistLang%\bootmgr.exe.mui,%target_cd%\Boot\%DistLang%
DirCopy,%SourceDir%\Boot,%Target_CD%\Boot\,1
Dircopy,%BootSRC%\Program Files,%TargetDir%\Program Files\,1
DirCopy,%BootSRC%\ProgramData,%TargetDir%\ProgramData\,1
Dircopy,%BootSRC%\users,%TargetDir%\users\,1
If,Not,ExistDir,%target_sys%\boot,Then,DirMake,%target_sys%\boot
DirCopy,%boot_sys%\boot,%target_sys%\boot\,1
If,ExistDir,%boot_sys%\Recovery,Then,DirCopy,%boot_sys%\Recovery,%target_sys%\Recovery\
// WMI
DirCopy,%boot_sys%\wbem,%target_sys%\wbem

Echo,%tEcho_7%
FileCopy,%boot_sys%\config\components,%target_sys%\config
FileCopy,%boot_sys%\config\Default,%target_sys%\config
FileCopy,%boot_sys%\config\sam,%target_sys%\config
FileCopy,%boot_sys%\config\Security,%target_sys%\config
FileCopy,%boot_sys%\config\software,%target_sys%\config
FileCopy,%boot_sys%\config\system,%target_sys%\config

Echo,%tEcho_8%
DirCopy,%boot_sys%\driverstore,%target_sys%\driverstore\
DirCopy,%boot_sys%\drivers,%target_sys%\drivers\
DirCopy,%boot_win%\inf,%target_win%\inf\

Echo,%tEcho_9%
FileCopy,%boot_win%\*.*, %target_win%
DirCopy,%boot_win%\Fonts, %target_win%\Fonts\
FileCopy,%install_win%\fonts\serife.fon,%target_win%\fonts
FileCopy,%install_win%\fonts\sserife.fon,%target_win%\fonts
DirCopy,%BootSRC%\Program Files, %TargetDir%\Program Files\
DirCopy,%boot_win%\Globalization, %target_win%\Globalization\

Echo,%tEcho_10%

//Servicing (DISM /PEIMG)
DirCopy,%boot_win%\servicing,%target_win%\servicing\

If,ExistDir,%boot_sys%\Dism,Then,DirCopy,%boot_sys%\Dism,%target_sys%\Dism\
DirCopy,%boot_sys%\SMI,%target_sys%\SMI\

// efi support
if,%os%%Arch%,=,Win7x64,then
DirCopy,%SourceDir%\efi\,%Target_CD%\efi
FileCopy,%boot_win%\Boot\EFI\bootmgfw.efi,%Target_CD%\efi\boot\bootx64.efi
FileCopy,%SourceDir%\bootmgr.efi,%Target_CD%\
End
//SideBySide
DirCopy,%boot_win%\winsxs\*_microsoft-windows-servicingstack*,%target_win%\winsxs\
DirCopy,%boot_win%\winsxs\*_microsoft.windows.c..-controls.resources*,%target_win%\winsxs\
DirCopy,%boot_win%\winsxs\*_microsoft.windows.common-controls*,%target_win%\winsxs\
DirCopy,%boot_win%\winsxs\*_microsoft.windows.gdiplus*,%target_win%\winsxs\
DirCopy,%boot_win%\winsxs\*_microsoft.windows.isolationautomation*,%target_win%\winsxs\
DirCopy,%Install_win%\winsxs\*_microsoft.vc80.crt*,%target_win%\winsxs\

//manifests
FileCopy,%boot_win%\winsxs\manifests\*_microsoft.windows.c..-controls.resources*,%target_win%\winsxs\manifests
FileCopy,%boot_win%\winsxs\manifests\*_microsoft.windows.common-controls*,%target_win%\winsxs\manifests
FileCopy,%boot_win%\winsxs\manifests\*_microsoft.windows.gdiplus*,%target_win%\winsxs\manifests
FileCopy,%boot_win%\winsxs\manifests\*_microsoft.windows.isolationautomation*,%target_win%\winsxs\manifests
FileCopy,%boot_win%\winsxs\manifests\*_microsoft.windows.systemcompatible*,%target_win%\winsxs\manifests
FileCopy,%boot_win%\winsxs\manifests\*_microsoft.windows.i..utomation.proxystub*,%target_win%\winsxs\manifests
If,%OS%,=,Win7,Then
  FileCopy,%boot_win%\winsxs\manifests\*_microsoft-windows-servicingstack*,%target_win%\winsxs\manifests
  FileCopy,%boot_win%\winsxs\manifests\*_microsoft.windows.fusion*,%target_win%\winsxs\manifests
end

If,ExistDir,%boot_win%\Globalization,Then,DirCopy,%boot_win%\Globalization,%target_win%\Globalization\
If,ExistDir,%boot_win%\SysWOW64,Then,DirCopy,%boot_win%\SysWOW64,%target_win%\SysWOW64\

Echo,%tEcho_11%

FileCopy,%boot_sys%\*.dat,%target_sys%
FileCopy,%boot_win%\*.exe,%target_win%
FileCopy,%boot_sys%\*.exe,%target_sys%
FileCopy,%boot_sys%\%Distlang%\*.exe.mui,%target_sys%\%Distlang%\
FileCopy,%boot_win%\*.ini,%target_win%
FileCopy,%boot_win%\WindowsShell.Manifest,%target_win%
FileCopy,%boot_sys%\*.ocx,%target_sys%
FileCopy,%boot_sys%\%Distlang%\*.ocx.mui,%target_sys%\%Distlang%\
FileCopy,%boot_sys%\*.com,%target_sys%
FileCopy,%boot_sys%\*.cmd,%target_sys%
FileCopy,%boot_sys%\*.NLS,%target_sys%
FileCopy,%boot_sys%\hal*.dll,%target_sys%
FileCopy,%boot_sys%\KBDUS.DLL,%target_sys%
//FileCopy,%boot_sys%\KBD*.DLL,%target_sys%
If,ExistFile,%boot_sys%\api-ms-*.dll,Then,FileCopy,%boot_sys%\api-ms-*.dll,%target_sys%

SetReqFile,%boot_sys%,%Distlang%,%FallBack%,%target_sys%
CopyFile,aclui.dll,1
CopyFile,advapi32.dll,1
CopyFile,advpack.dll,1
CopyFile,atl.dll,1
CopyFile,atmlib.dll
CopyFile,authui.dll,1
CopyFile,authz.dll
CopyFile,AuxiliaryDisplayClassInstaller.dll,1
CopyFile,basesrv.dll
CopyFile,bcdsrv.dll
CopyFile,bcrypt.dll
CopyFile,BFE.DLL,1
CopyFile,bootstr.dll,1
CopyFile,BOOTVID.DLL
CopyFile,cabinet.dll
CopyFile,certcli.dll,1
CopyFile,cfgmgr32.dll
CopyFile,ci.dll,1
CopyFile,clb.dll,1
CopyFile,clfs.sys,1
CopyFile,clusapi.dll,1
CopyFile,cmipnpinstall.dll
CopyFile,cngaudit.dll
CopyFile,comcat.dll
CopyFile,comdlg32.dll,1
CopyFile,comres.dll,1
CopyFile,console.dll,1
CopyFile,credui.dll,1
CopyFile,crypt32.dll,1
CopyFile,cryptdlg.dll,1
CopyFile,cryptdll.dll
CopyFile,cryptext.dll,1
CopyFile,cryptnet.dll
CopyFile,cryptsvc.dll,1
CopyFile,cryptui.dll,1
//FileCopy,%boot_sys%\cscapi.dll,%target_sys%
CopyFile,csrsrv.dll,1
CopyFile,dbgeng.dll
CopyFile,dbghelp.dll
CopyFile,dhcpcmonitor.dll,1
CopyFile,dhcpcsvc.dll,1
CopyFile,dhcpcsvc6.dll,1
CopyFile,dhcpqec.dll,1
CopyFile,dnsapi.dll,1
CopyFile,dnsrslvr.dll,1
CopyFile,drvstore.dll
CopyFile,dwmapi.dll,1
CopyFile,esent.dll,1
CopyFile,feclient.dll
CopyFile,FirewallAPI.dll,1
CopyFile,fltLib.dll,1
CopyFile,framebuf.dll
CopyFile,FWPUCLNT.DLL,1
CopyFile,gdi32.dll
CopyFile,gpapi.dll,1
CopyFile,gpsvc.dll,1

CopyFile,iertutil.dll
CopyFile,imagehlp.dll
CopyFile,imageres.dll,1
CopyFile,imapi.dll,1
CopyFile,imapi2.dll,1
CopyFile,imapi2fs.dll,1
CopyFile,imm32.dll
CopyFile,input.dll,1
CopyFile,IPHLPAPI.DLL,1
CopyFile,IPSECSVC.dll,1
CopyFile,KBDUS.DLL
CopyFile,kdcom.dll
CopyFile,kerberos.dll,1
CopyFile,kernel32.dll,1
CopyFile,ktmw32.dll

CopyFile,lmhsvc.dll,1

CopyFile,lpk.dll
CopyFile,lsasrv.dll,1
CopyFile,lsass.exe
CopyFile,montr_ci.dll,1
CopyFile,mpr.dll,1
CopyFile,mprapi.dll
CopyFile,mprmsg.dll,1
CopyFile,mpssvc.dll,1
CopyFile,msasn1.dll
CopyFile,msctf.dll,1
CopyFile,msftedit.dll
CopyFile,msimg32.dll
CopyFile,msls31.dll
CopyFile,msprivs.dll,1
CopyFile,mssign32.dll,1
If,ExistFile,%boot_sys%\msvcrt40.dll,Then,CopyFile,msvcrt40.dll
CopyFile,msv1_0.dll,1
CopyFile,msvcirt.dll
CopyFile,msvcp60.dll
CopyFile,msvcrt.dll
CopyFile,mswsock.dll,1
CopyFile,nci.dll,1
CopyFile,ncobjapi.dll
CopyFile,ncrypt.dll,1
CopyFile,netapi32.dll
CopyFile,netcfgx.dll,1
CopyFile,neth.dll,1
CopyFile,netiohlp.dll,1
CopyFile,netlogon.dll,1
CopyFile,netmsg.dll,1
CopyFile,netshell.dll,1
CopyFile,newdev.dll,1
CopyFile,nlaapi.dll
CopyFile,nlasvc.dll,1
CopyFile,normaliz.dll
CopyFile,nsi.dll
CopyFile,nsisvc.dll,1
CopyFile,ntdll.dll,1
CopyFile,ntdsapi.dll
CopyFile,ntlanman.dll,1
CopyFile,ntmarta.dll,1
CopyFile,odbc32.dll
CopyFile,odbccp32.dll
CopyFile,odbcint.dll,1
CopyFile,odbctrac.dll
CopyFile,ole32.dll,1
CopyFile,oleacc.dll
CopyFile,oleaccrc.dll,1
CopyFile,oleaut32.dll
CopyFile,oleres.dll,1
CopyFile,pnpsetup.dll
CopyFile,pnpui.dll,1
CopyFile,powrprof.dll,1
CopyFile,printui.dll,1
CopyFile,procinst.dll,1
CopyFile,propsys.dll,1
CopyFile,psapi.dll
CopyFile,PSHED.DLL,1
CopyFile,QUTIL.DLL,1
CopyFile,rasadhlp.dll
CopyFile,rasapi32.dll,1
CopyFile,rasauto.dll,1
CopyFile,rascfg.dll,1
CopyFile,raschap.dll,1
CopyFile,rasctrs.dll,1
CopyFile,rasdiag.dll,1
CopyFile,rasdlg.dll,1
CopyFile,rasman.dll
CopyFile,rasmans.dll,1
CopyFile,rasmontr.dll,1
CopyFile,rasmxs.dll
CopyFile,rasppp.dll
CopyFile,rasser.dll
CopyFile,rastapi.dll
CopyFile,rastls.dll,1
CopyFile,regapi.dll
CopyFile,resutils.dll
CopyFile,riched20.dll
CopyFile,riched32.dll
CopyFile,rnr20.dll
CopyFile,rpcrt4.dll,1
CopyFile,rpcss.dll
CopyFile,rsaenh.dll
CopyFile,rtutils.dll
CopyFile,sacsvr.dll,1
CopyFile,samlib.dll
CopyFile,samsrv.dll,1
CopyFile,scecli.dll,1
CopyFile,scesrv.dll,1
CopyFile,schannel.dll
CopyFile,scrobj.dll,1
CopyFile,scrrun.dll,1
CopyFile,sdhcinst.dll
CopyFile,secur32.dll
CopyFile,SensApi.dll
CopyFile,setbcdlocale.dll
CopyFile,setupapi.dll,1
CopyFile,sfc_os.dll
CopyFile,shell32.dll,1
CopyFile,shlwapi.dll,1
CopyFile,SLC.dll,1
CopyFile,SmiEngine.dll,1
CopyFile,smss.exe,1
CopyFile,snmpapi.dll
CopyFile,spp.dll,1
CopyFile,srcore.dll,1
CopyFile,Storprop.dll,1
CopyFile,streamci.dll
CopyFile,swprv.dll,1
CopyFile,sxproxy.dll,1
CopyFile,sxs.dll,1
CopyFile,sysclass.dll,1
CopyFile,sysntfy.dll
CopyFile,syssetup.dll
CopyFile,tapi32.dll,1
CopyFile,tbs.dll
CopyFile,tbssvc.dll,1
CopyFile,tcpipcfg.dll,1
CopyFile,tsddd.dll
CopyFile,uexfat.dll
CopyFile,ufat.dll
CopyFile,ulib.dll,1
CopyFile,umpnpmgr.dll,1
CopyFile,unattend.dll
CopyFile,untfs.dll
CopyFile,urlmon.dll,1
CopyFile,user32.dll,1
CopyFile,userenv.dll,1
CopyFile,usp10.dll
CopyFile,uxtheme.dll,1
CopyFile,vds_ps.dll
CopyFile,vdsbas.dll,1
CopyFile,vdsdyn.dll,1
CopyFile,vdsutil.dll,1
CopyFile,version.dll
if,%Arch%,=,x86,then,CopyFile,vdmdbg.dll

CopyFile,vssapi.dll
CopyFile,vsstrace.dll,1
CopyFile,w32topl.dll
CopyFile,wdigest.dll
CopyFile,wdscore.dll
CopyFile,wer.dll,1
CopyFile,wevtapi.dll,1
CopyFile,wevtsvc.dll,1
If,ExistFile,%boot_sys%\wimgapi.dll,Then,CopyFile,wimgapi.dll,1
CopyFile,win32k.sys,1
CopyFile,winbrand.dll
CopyFile,winhttp.dll,1
CopyFile,wininet.dll,1
CopyFile,winipsec.dll
CopyFile,winmm.dll,1
CopyFile,winnsi.dll
CopyFile,winspool.drv,1
CopyFile,winsrv.dll,1
CopyFile,winsta.dll
CopyFile,wintrust.dll
CopyFile,wkssvc.dll,1
CopyFile,Wldap32.dll,1
CopyFile,wmsgapi.dll
CopyFile,wpeutil.dll,1
CopyFile,ws2_32.dll,1
CopyFile,wshelper.dll,1
CopyFile,wship6.dll,1
CopyFile,wshnetbs.dll
CopyFile,WSHTCPIP.dll,1
CopyFile,wsock32.dll,1
CopyFile,wtsapi32.dll
CopyFile,xmllite.dll
// Required for recovery environment
CopyFile,blb_ps.dll
CopyFile,blbres.dll,1
//

If,%os%,=,Win7,then
CopyFile,apisetschema.dll
CopyFile,bcdprov.dll
CopyFile,bcryptprimitives.dll
CopyFile,pcwum.dll,1
CopyFile,bderepair.dll
CopyFile,bdeui.dll
CopyFile,browcli.dll
CopyFile,chkwudrv.dll,1
CopyFile,cryptbase.dll
CopyFile,cryptsp.dll
CopyFile,cryptxml.dll,1
CopyFile,davhlpr.dll
CopyFile,defragsvc.dll,1
CopyFile,defragproxy.dll
CopyFile,devobj.dll
CopyFile,devrtl.dll
CopyFile,dfscli.dll
CopyFile,dhcpcore.dll,1
CopyFile,dhcpcore6.dll,1
CopyFile,dsrole.dll
CopyFile,dui70.dll,1
CopyFile,efssvc.dll,1
CopyFile,efsutil.dll
CopyFile,fms.dll,1
CopyFile,framedynos.dll
CopyFile,imagesp1.dll,1
CopyFile,KernelBase.dll,1
CopyFile,linkinfo.dll
CopyFile,logoncli.dll
CopyFile,netbios.dll
CopyFile,netjoin.dll
CopyFile,netman.dll,1
CopyFile,netutils.dll
CopyFile,nrpsrv.dll
CopyFile,profapi.dll

CopyFile,provthrd.dll
CopyFile,ReAgent.dll,1
CopyFile,RpcEpMap.dll,1
CopyFile,RpcRtRemote.dll
CopyFile,samcli.dll
CopyFile,scext.dll,1
CopyFile,schedcli.dll
CopyFile,sechost.dll,1
CopyFile,security.dll
CopyFile,spfileq.dll
CopyFile,SPInf.dll
CopyFile,sppc.dll,1
CopyFile,srhelper.dll
CopyFile,srvcli.dll
CopyFile,sspicli.dll
CopyFile,sspisrv.dll
CopyFile,SSShim.dll
CopyFile,sstpsvc.dll,1
CopyFile,sxshared.dll
CopyFile,sxssrv.dll
CopyFile,tcpmib.dll

CopyFile,tdh.dll,1
CopyFile,ubpm.dll,1
CopyFile,vdsvd.dll,1
CopyFile,virtdisk.dll
CopyFile,vpnikeapi.dll
CopyFile,wbemcomn.dll
CopyFile,webio.dll,1
CopyFile,webservices.dll,1
CopyFile,werui.dll,1
CopyFile,wkscli.dll
CopyFile,WmiMgmt.msc,1
end

Echo,%tEcho_12%

SetReqFile,%Install_sys%,%Distlang%,%FallBack%,%target_sys%
CopyFile,shdocvw.dll,1
CopyFile,shfolder.dll
CopyFile,shellstyle.dll,1
CopyFile,Shwebsvc.dll,1
CopyFile,ExplorerFrame.dll,1
CopyFile,duser.dll,1
CopyFile,oledlg.dll,1
if,%Arch%,=,x86,then,CopyFile,olepro32.dll
CopyFile,hotplug.dll,1
CopyFile,stdole2.tlb
CopyFile,stdole32.tlb
CopyFile,mscms.dll,1

CopyFile,sfc.dll
CopyFile,lz32.dll
If,%Arch%,=,x86,Then,CopyFile,crtdll.dll
CopyFile,w32time.dll,1
CopyFile,iedkcs32.dll
CopyFile,mscories.dll


// Keyboard
RegLoad,%RegSystem%,PE-System
RegLoad,%RegUser%,PE-USER
For,%x%,1,2
  If,ExistRegKey,HKLM,PE-User\Keyboard Layout\Preload,%x%,then
    RegRead,%lcid%,HKLM,PE-User\Keyboard Layout\Preload,%x%
    If,ExistRegKey,HKLM,PE-System\ControlSet001\Control\Keyboard Layouts\%lcid%,Layout File,then
      RegRead,%KBfile%,HKLM,PE-System\ControlSet001\Control\Keyboard Layouts\%lcid%,"Layout File"
      If,ExistFile,%boot_sys%\%KBfile%,then,FileCopy,%boot_sys%\%KBfile%,%Target_sys%
    end
  end
  If,ExistRegKey,HKLM,PE-User\Keyboard Layout\Substitutes,%lcid%,then
    RegRead,%lcSub%,HKLM,PE-User\Keyboard Layout\Substitutes,%lcid%
    If,ExistRegKey,HKLM,PE-System\ControlSet001\Control\Keyboard Layouts\%lcSub%,Layout File,then
      RegRead,%KBfile%,HKLM,PE-System\ControlSet001\Control\Keyboard Layouts\%lcSub%,Layout File
      If,ExistFile,%boot_sys%\%KBfile%,then,FileCopy,%boot_sys%\%KBfile%,%Target_sys%
    end
  end
next
RegUnLoad,PE-SYSTEM
RegUnLoad,PE-USER

// neue Dateien LSP 1051 von Win7PESE...
SetReqFile,%boot_sys%,%Distlang%,%FallBack%,%target_sys%
CopyFile,cnvfat.dll

If,ExistFile,%boot_sys%\eapsvc.dll,Then,CopyFile,eapsvc.dll,1
CopyFile,eventcls.dll
CopyFile,fmifs.dll
CopyFile,ifsutil.dll
CopyFile,ifsutilx.dll
CopyFile,osuninst.dll
CopyFile,uudf.dll
CopyFile,ws2help.dll
FileCopy,%boot_sys%\vss*.dll,%target_sys%\

SetReqFile,%Install_sys%,%Distlang%,%FallBack%,%target_sys%
CopyFile,appinfo.dll,1
CopyFile,objsel.dll,1
CopyFile,profsvc.dll,1
If,ExistFile,%Install_sys%\provsvc.dll,Then,CopyFile,provsvc.dll,1
CopyFile,stobject.dll,1
CopyFile,batmeter.dll,1
CopyFile,fontext.dll,1
CopyFile,fontview.exe,1
CopyFile,fsutil.exe,1

CopyFile,utildll.dll,1
If,ExistFile,%Install_sys%\taskbarcpl.dll,Then,CopyFile,taskbarcpl.dll,1
CopyFile,devenum.dll,1

// common files...
Echo,%tEcho_13%
CopyFile,avicap32.dll,1
CopyFile,avifil32.dll,1
CopyFile,ddraw.dll,1
CopyFile,msacm32.dll,1
CopyFile,msacm32.drv,1
CopyFile,msvfw32.dll,1
CopyFile,quartz.dll,1
CopyFile,query.dll,1
CopyFile,wdi.dll,1
if,%arch%,=,x86,then
  CopyFile,avifile.dll
  CopyFile,msvbvm60.dll
  CopyFile,ntvdm.exe
  CopyFile,wow32.dll
end
SetReqFile,%boot_sys%,%Distlang%,%FallBack%,%target_sys%
CopyFile,asycfilt.dll
If,%os%,=,Win7,then
  CopyFile,msxml6.dll
  CopyFile,msxml6r.dll,1
end

[Script-Pic]
0=4855,6280,ZLB64
1=eNqllVdUE4qyhoMgSJOiSNENSO899CKdhA0YehFQitJCpAc2RRFQQ3EbepcSkBIQCImEJl2IoAm990g3gBSRctlnnXte7std9/4zDzPrf5hv1jzMxcTFAoAVbAQyAlBdxsPLAFycA/j+NNQ14Lf2dPfyh/nBnnh7BvGD/N1l+G3lZeTkARfTAH3Alf+nLqeoMUR6PQr0cIc9DY9UkJOXl71MOXl+eaC6kqq6ggqDtWdQsPR9fQYDQ1vDPy3uS8sZKuiqGikBLrqpigEAqqtU/xLg36K6Qk1zlZbuGj0DIxWAmuq/9T9MVsAVKmrqKzTUV6/S0Fw6UZcegIbtKvtdeV3aG5BHdAIBNxWevy26JqhX18FhSaQIKbo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