[Main]
Title=Retrieve Tools
Type=Plugin
Author=ChrisR
Description=(Win7PESE) Retrieve hostOS Tools and Download ONCE Wim Tools...
Credits=http://TheOven.org
Version=031
Download_Level=0
Level=1
Selected=True
Mandatory=True
NoWarning=False
Contact=http://TheOven.org
Date=2017.02.01
Depend=
Disable=
Web1=http://w7pese.cwcodes.net/Projects/Win7PESE/Build/00-retrieve.script
CertifiedBy=
Certification=
HistoryNotes01=It uses the great JFX's Getwaiktools :)
HistoryNotes02=RetrieveWimTools (From install ADK, Win8 HostOS, install.wim) not written For windows8 and no longer supported for Win7
History019=ChrisR - Win8pese. The old Win7pese history is stored in the section [History]
History020=ChrisR - Win7pese Code For RetrieveWimTools (Tools From install ADK, Win8 HostOS, install.wim) removed and not rewritten For windows8.
History021=ChrisR-JFX - Win8 dism used for Win8 driver integration
History022=ChrisR - Added check bcdboot.exe, WimMountInstall.exe and also intlcfg.exe, wdsmcast.exe downloaded with GetWaikTools
History022=ChrisR - Same version number for Win7pese/Win8pese
History023=ChrisR - Copying Waik/ADK tools (GetWaikTools) is made here now. We now use Win 8 ADK tools For Win7PE, faster than Win7 ADK
History024=ChrisR - Win8.1 compatibility
History025=ChrisR - GetWaikTools 1.5.2.0 Adding Win 8.1 devcon tools
History026=ChrisR - Renamed folder in GetWaikTool 2.x
History027=ChrisR - Renamed variable - 2015.09.09
History028=ChrisR - Download wofadk.sys driver, to use in all WinPE to access the host compressed files of Windows 10 Compact. Thanks JFX
History029=ChrisR - Implemented HostOSVersion - Date:2016.09.02
History030=ChrisR - Multi Fallback Languages support - Date:2016.11.23
History031=Lancelot Add DUC buttons - Date:2017.02.01

[Variables]
%cmdexeFolder%=
%Dollar%=$
%GWTWaik2%=True
%GWTWaik2Switch%=-Vista
%GWTWaik2Folder%=%GlobalTemplates%\GetWaikTools\Waik_2
%GWTAdk%=True
%GWTAdkSwitch%=-Win8
%GWTAdkFolder%=%GlobalTemplates%\GetWaikTools\ADK_4
%GWTwofadkSwitch%=-Win10
%GWTwofadkFolder%=%GlobalTemplates%\GetWaikTools\ADK_6
%GWTDevcon%=True
%GWTDevconSwitch%=-devcon
%GWTDevconFolder%=%GlobalTemplates%\GetWaikTools\devcon
%GWTDism%=False
%GWTDismSwitch%=-Win8Dism
%GWTDismFolder%=%GlobalTemplates%\GetWaikTools\ADK_4

[Interface]
ScrollBox_WaikTools=GetWaikTools,1,4,4,10,130,21,GetWaikTools
pTextLabel_Get="WAIK Tools dowload by JFX (Uses GetWaikTools Plugin):",1,1,4,50,335,18,8,Bold
pBevel1=pBevel1,1,12,4,86,184,112
DownloadWTTools_TextLabel="Download Win8 and Vista Waik files#$x and copy them to the Tools folder#$x  (~8 MB)    (Win7PE_SE)",1,1,9,91,175,46,8,Normal
DownloadWTTools_Button="Download Tools",1,8,34,140,125,52,Launch_DownloadWTTools,GetWaik3232.bmp,False,_Launch_DownloadWTTools_,False
pTextFile_Waik=WaikToolsInfo.txt,1,6,368,61,128,268
pTextLabel_Tools="Tools Gathered:",1,1,374,46,114,18,8,Bold
WebLabel_Plugin="Plugin Page",1,10,338,4,55,18,http://TheOven.org/index.php?board=9
Button_Download=,1,8,403,21,24,24,DownloadXXX,DoubleJDesignRavenna3dArrowDown0016016.bmp,False,False,_DownloadXXX_,False,"__DOWNLOAD Plugin"
Button_Upload=,1,8,403,-1,24,24,UploadXXX,BokehliciaCaptivaSoftwareupload0016016.bmp,False,False,_UploadXXX_,False,"__UPLOAD Plugin (Admins Only)"
Button_CompareEdit=,1,8,426,-1,24,24,CompareEditXXX,AmperossQetto2Move0016016.bmp,False,False,_CompareEditXXX_,False,"__DOWNLOAD and Compare with an Editor"

[Process]
Echo,"%ScriptTitle% For %ProjectName%"
IniRead,%projectdir%\script.project,IniVariables,WIMImageCount,%WIMImageCount%
//run HostOSInfoMini if not done in main configuration
If,%OSArch%,Equal,"",Run,%scriptfile%,HostOSInfoMini
If,%SysType%,Equal,"",Run,%scriptfile%,HostOSInfoMini
//-- preparing HostOS tools
Run,%scriptfile%,HostOSTools
If,ExistFile,%ProjectTemp%\HostOSTools\cmd.exe,Set,%CmdexeFolder%,%ProjectTemp%\HostOSTools\
//-- Get - Retrieve wim tools
If,%ScrollBox_WaikTools%,Equal,GetWaikTools,Run,%scriptfile%,GetWaikTools
Else,Exit,"RetrieveWimTools (From install Waik/ADK, Win10/8/7 HostOS, install.wim) not written for %ProjectName% !!!"
//-- check Inf files
Run,%scriptfile%,CheckInfFiles

[Launch_DownloadWTTools]
If,Not,ExistFile,%ProjectDir%\Utils\GetWaikTools.script,Message,"GetWaikTools Plugin required to dowload Waik/ADK Tools !!!",Error
Else,Begin
// fix error on CopyAdk section for x86\wofadk.sys (only Win10PESE)
If,%ProjectName%,Equal,Win10PESE,Begin
If,ExistFile,%Tools%\x86\wofadk.sys,Retrieve,FILESIZE,%Tools%\x86\wofadk.sys,%wofadkSize%
If,%wofadkSize%,Smaller,190000,Begin
FileDelete,%Tools%\x86\wofadk.sys
If,ExistFile,%Tools%\x86\wofadk.sys,Call,FileDelete,%Tools%\x86\wofadk.sys
End
End
If,%GWTWaik2%,Equal,True,Set,%Waik2Tools%,%GWTWaik2Switch%
Else,Set,%Waik2Tools%,
If,%GWTAdk%,Equal,True,Set,%AdkTools%,%GWTAdkSwitch%
Else,Set,%AdkTools%,
If,%GWTDism%,Equal,True,Set,%WaikDism%,%GWTDismSwitch%
Else,Set,%WaikDism%,
If,Not,%GWTwofadkSwitch%,Equal,%GWTAdkSwitch%,Set,%ADKDism10%,%GWTwofadkSwitch%
Else,Set,%ADKDism10%,
If,%GWTDevcon%,Equal,True,Set,%WDKdevcon%,%GWTDevconSwitch%
Else,Set,%WDKdevcon%,
Echo,"Download %Waik2Tools% %AdkTools% %WaikDism% %WDKdevcon% Waik/ADK tools ..."
Run,%ProjectDir%\Utils\GetWaikTools.script,Launch_Program,%ProjectDir%\Utils\GetWaikTools.script,"%Waik2Tools% %AdkTools% %WaikDism% %ADKDism10% %WDKdevcon% -Silent"
// Recover from %GlobalTemplates%\GetWaikTools if exist
If,%GWTWaik2%,Equal,True,If,Not,-%Waik2Tools%,Equal,-,Run,%scriptfile%,CopyWaik2
If,%GWTAdk%,Equal,True,If,Not,-%AdkTools%,Equal,-,Run,%scriptfile%,CopyAdk
If,Not,%GWTwofadkSwitch%,Equal,%GWTAdkSwitch%,Run,%scriptfile%,CopyWofadk
If,%GWTDism%,Equal,True,If,Not,-%WaikDism%,Equal,-,Run,%scriptfile%,CopyDism
If,%GWTDevcon%,Equal,True,If,Not,-%WDKdevcon%,Equal,-,Run,%scriptfile%,CopyDevcon
End

[GetWaikTools]
// fix error on CopyAdk section for x86\wofadk.sys (only Win10PESE)
If,%ProjectName%,Equal,Win10PESE,Begin
If,ExistFile,%Tools%\x86\wofadk.sys,Retrieve,FILESIZE,%Tools%\x86\wofadk.sys,%wofadkSize%
If,%wofadkSize%,Smaller,190000,Begin
FileDelete,%Tools%\x86\wofadk.sys
If,ExistFile,%Tools%\x86\wofadk.sys,Call,FileDelete,%Tools%\x86\wofadk.sys
End
End
Run,%scriptfile%,CheckWaikTools
// Recover from %GlobalTemplates%\GetWaikTools if exist first
If,%GWTWaik2%,Equal,True,If,Not,-%Waik2Tools%,Equal,-,Run,%scriptfile%,CopyWaik2
If,%GWTAdk%,Equal,True,If,Not,-%AdkTools%,Equal,-,Run,%scriptfile%,CopyAdk
If,Not,%GWTwofadkSwitch%,Equal,%GWTAdkSwitch%,Run,%scriptfile%,CopyWofadk
If,%GWTDism%,Equal,True,If,Not,-%WaikDism%,Equal,-,Run,%scriptfile%,CopyDism
If,%GWTDevcon%,Equal,True,If,Not,-%WDKdevcon%,Equal,-,Run,%scriptfile%,CopyDevcon
Run,%scriptfile%,CheckWaikTools
//- Download with GetWaikTools
If,Not,-%Waik2Tools%%AdkTools%%WaikDism%%ADKDism10%%WDKdevcon%,Equal,-,Begin
If,Not,ExistFile,%ProjectDir%\Utils\GetWaikTools.script,Begin
Message,"GetWaikTools Plugin required to download Waik/ADK Tools !!!#$x#$xExiting...",Error
Halt,"GetWaikTools Plugin required to download Waik/ADK Tools. Exiting..."
End
Echo,"Download %Waik2Tools% %AdkTools% %WaikDism% %ADKDism10% %WDKdevcon% Waik/ADK tools ..."
Run,%ProjectDir%\Utils\GetWaikTools.script,Launch_Program,%ProjectDir%\Utils\GetWaikTools.script,"%Waik2Tools% %AdkTools% %WaikDism% %ADKDism10% %WDKdevcon% -Silent"
// Recover from %GlobalTemplates%\GetWaikTools if exist
If,%GWTWaik2%,Equal,True,If,Not,-%Waik2Tools%,Equal,-,Run,%scriptfile%,CopyWaik2
If,%GWTAdk%,Equal,True,If,Not,-%AdkTools%,Equal,-,Run,%scriptfile%,CopyAdk
If,Not,%GWTwofadkSwitch%,Equal,%GWTAdkSwitch%,Run,%scriptfile%,CopyWofadk
If,%GWTDism%,Equal,True,If,Not,-%WaikDism%,Equal,-,Run,%scriptfile%,CopyDism
If,%GWTDevcon%,Equal,True,If,Not,-%WDKdevcon%,Equal,-,Run,%scriptfile%,CopyDevcon
End

[CheckWaikTools]
// Waik_2
Set,%Waik2Tools%,
If,%GWTWaik2%,Equal,True,Begin
If,Not,ExistFile,%Tools%\peimg.exe,Set,%Waik2Tools%,%GWTWaik2Switch%
If,Not,ExistFile,%Tools%\ssshim.dll,Set,%Waik2Tools%,%GWTWaik2Switch%
// Waik_2 x86
If,Not,ExistFile,%Tools%\x86\imagex6.0.exe,Set,%Waik2Tools%,%GWTWaik2Switch%
If,Not,ExistFile,%Tools%\x86\wimfltr.inf,Set,%Waik2Tools%,%GWTWaik2Switch%
If,Not,ExistFile,%Tools%\x86\wimfltr.sys,Set,%Waik2Tools%,%GWTWaik2Switch%
If,Not,ExistFile,%Tools%\x86\wimgapi6.0.dll,Set,%Waik2Tools%,%GWTWaik2Switch%
// Waik_2 x64
If,Not,ExistFile,%Tools%\x64\imagex6.0.exe,Set,%Waik2Tools%,%GWTWaik2Switch%
If,Not,ExistFile,%Tools%\x64\wimfltr.inf,Set,%Waik2Tools%,%GWTWaik2Switch%
If,Not,ExistFile,%Tools%\x64\wimfltr.sys,Set,%Waik2Tools%,%GWTWaik2Switch%
If,Not,ExistFile,%Tools%\x64\wimgapi6.0.dll,Set,%Waik2Tools%,%GWTWaik2Switch%
End
// ADK_4(_1) x86
Set,%AdkTools%,
Set,%ADKDism10%,
If,%GWTAdk%,Equal,True,Begin
If,Not,ExistFile,%Tools%\x86\bcdboot.exe,Set,%AdkTools%,%GWTAdkSwitch%
If,Not,ExistFile,%Tools%\x86\bcdedit.exe,Set,%AdkTools%,%GWTAdkSwitch%
If,Not,ExistFile,%Tools%\x86\bootsect.exe,Set,%AdkTools%,%GWTAdkSwitch%
If,Not,ExistFile,%Tools%\x86\imagex6.2.exe,Set,%AdkTools%,%GWTAdkSwitch%
If,Not,ExistFile,%Tools%\x86\oscdimg.exe,Set,%AdkTools%,%GWTAdkSwitch%
If,Not,ExistFile,%Tools%\x86\wimgapi6.2.dll,Set,%AdkTools%,%GWTAdkSwitch%
If,Not,ExistFile,%Tools%\x86\wimmount.sys,Set,%AdkTools%,%GWTAdkSwitch%
If,Not,ExistFile,%Tools%\x86\WimMountInstall.exe,Set,%AdkTools%,%GWTAdkSwitch%
If,Not,ExistFile,%Tools%\x86\wimserv.exe,Set,%AdkTools%,%GWTAdkSwitch%
If,Not,ExistFile,%Tools%\x86\wofadk.sys,Begin
If,%GWTwofadkSwitch%,Equal,%GWTAdkSwitch%,Set,%AdkTools%,%GWTAdkSwitch%
Else,Set,%ADKDism10%,%GWTwofadkSwitch%
End
// ADK_4(_1) x64
If,Not,ExistFile,%Tools%\x64\bcdboot.exe,Set,%AdkTools%,%GWTAdkSwitch%
If,Not,ExistFile,%Tools%\x64\bcdedit.exe,Set,%AdkTools%,%GWTAdkSwitch%
If,Not,ExistFile,%Tools%\x64\bootsect.exe,Set,%AdkTools%,%GWTAdkSwitch%
If,Not,ExistFile,%Tools%\x64\imagex6.2.exe,Set,%AdkTools%,%GWTAdkSwitch%
If,Not,ExistFile,%Tools%\x64\oscdimg.exe,Set,%AdkTools%,%GWTAdkSwitch%
If,Not,ExistFile,%Tools%\x64\wimgapi6.2.dll,Set,%AdkTools%,%GWTAdkSwitch%
If,Not,ExistFile,%Tools%\x64\wimmount.sys,Set,%AdkTools%,%GWTAdkSwitch%
If,Not,ExistFile,%Tools%\x64\WimMountInstall.exe,Set,%AdkTools%,%GWTAdkSwitch%
If,Not,ExistFile,%Tools%\x64\wimserv.exe,Set,%AdkTools%,%GWTAdkSwitch%
If,Not,ExistFile,%Tools%\x64\wofadk.sys,Begin
If,%GWTwofadkSwitch%,Equal,%GWTAdkSwitch%,Set,%AdkTools%,%GWTAdkSwitch%
Else,Set,%ADKDism10%,%GWTwofadkSwitch%
End
End
// Dism x86/x64
Set,%WaikDism%,
If,%GWTDism%,Equal,True,Begin
If,Not,ExistFile,%Tools%\x86\Dism\dism.exe,Set,%WaikDism%,%GWTDismSwitch%
If,Not,ExistFile,%Tools%\x64\Dism\dism.exe,Set,%WaikDism%,%GWTDismSwitch%
End
// Devcon x86/x64
Set,%WDKdevcon%,
If,%GWTDevcon%,Equal,True,Begin
If,Not,ExistFile,%Tools%\x86\devcon.exe,Set,%WDKdevcon%,%GWTDevconSwitch%
If,Not,ExistFile,%Tools%\x64\devcon.exe,Set,%WDKdevcon%,%GWTDevconSwitch%
End

[CopyWaik2]
// Waik_2
If,Not,ExistFile,%Tools%\peimg.exe,If,ExistFile,%GWTWaik2Folder%\x86\peimg.exe,FileCopy,%GWTWaik2Folder%\x86\peimg.exe,%Tools%\peimg.exe
If,Not,ExistFile,%Tools%\ssshim.dll,If,ExistFile,%GWTWaik2Folder%\x86\ssshim.dll,FileCopy,%GWTWaik2Folder%\x86\ssshim.dll,%Tools%\ssshim.dll
// Waik_2 x86
If,Not,ExistFile,%Tools%\x86\imagex6.0.exe,If,ExistFile,%GWTWaik2Folder%\x86\imagex.exe,FileCopy,%GWTWaik2Folder%\x86\imagex.exe,%Tools%\x86\imagex6.0.exe
If,Not,ExistFile,%Tools%\x86\wimfltr.inf,If,ExistFile,%GWTWaik2Folder%\x86\wimfltr.inf,FileCopy,%GWTWaik2Folder%\x86\wimfltr.inf,%Tools%\x86\wimfltr.inf
If,Not,ExistFile,%Tools%\x86\wimfltr.sys,If,ExistFile,%GWTWaik2Folder%\x86\wimfltr.sys,FileCopy,%GWTWaik2Folder%\x86\wimfltr.sys,%Tools%\x86\wimfltr.sys
If,Not,ExistFile,%Tools%\x86\wimgapi6.0.dll,If,ExistFile,%GWTWaik2Folder%\x86\wimgapi.dll,FileCopy,%GWTWaik2Folder%\x86\wimgapi.dll,%Tools%\x86\wimgapi6.0.dll
// Waik_2 x64
If,Not,ExistFile,%Tools%\x64\imagex6.0.exe,If,ExistFile,%GWTWaik2Folder%\amd64\imagex.exe,FileCopy,%GWTWaik2Folder%\amd64\imagex.exe,%Tools%\x64\imagex6.0.exe
If,Not,ExistFile,%Tools%\x64\wimfltr.inf,If,ExistFile,%GWTWaik2Folder%\amd64\wimfltr.inf,FileCopy,%GWTWaik2Folder%\amd64\wimfltr.inf,%Tools%\x64\wimfltr.inf
If,Not,ExistFile,%Tools%\x64\wimfltr.sys,If,ExistFile,%GWTWaik2Folder%\amd64\wimfltr.sys,FileCopy,%GWTWaik2Folder%\amd64\wimfltr.sys,%Tools%\x64\wimfltr.sys
If,Not,ExistFile,%Tools%\x64\wimgapi6.0.dll,If,ExistFile,%GWTWaik2Folder%\amd64\wimgapi.dll,FileCopy,%GWTWaik2Folder%\amd64\wimgapi.dll,%Tools%\x64\wimgapi6.0.dll

[CopyAdk]
// ADK_4(_1) x86
If,Not,ExistFile,%Tools%\x86\bcdboot.exe,If,ExistFile,%GWTAdkFolder%\x86\BCDBoot\bcdboot.exe,FileCopy,%GWTAdkFolder%\x86\BCDBoot\bcdboot.exe,%Tools%\x86\bcdboot.exe
If,Not,ExistFile,%Tools%\x86\bcdedit.exe,If,ExistFile,%GWTAdkFolder%\x86\BCDBoot\bcdedit.exe,FileCopy,%GWTAdkFolder%\x86\BCDBoot\bcdedit.exe,%Tools%\x86\bcdedit.exe
If,Not,ExistFile,%Tools%\x86\bootsect.exe,If,ExistFile,%GWTAdkFolder%\x86\BCDBoot\bootsect.exe,FileCopy,%GWTAdkFolder%\x86\BCDBoot\bootsect.exe,%Tools%\x86\bootsect.exe
If,Not,ExistFile,%Tools%\x86\imagex6.2.exe,If,ExistFile,%GWTAdkFolder%\x86\dism\imagex.exe,FileCopy,%GWTAdkFolder%\x86\dism\imagex.exe,%Tools%\x86\imagex6.2.exe
If,Not,ExistFile,%Tools%\x86\wimgapi6.2.dll,If,ExistFile,%GWTAdkFolder%\x86\dism\wimgapi.dll,FileCopy,%GWTAdkFolder%\x86\dism\wimgapi.dll,%Tools%\x86\wimgapi6.2.dll
If,Not,ExistFile,%Tools%\x86\wimmount.sys,If,ExistFile,%GWTAdkFolder%\x86\dism\wimmount.sys,FileCopy,%GWTAdkFolder%\x86\dism\wimmount.sys,%Tools%\x86\wimmount.sys
If,Not,ExistFile,%Tools%\x86\WimMountInstall.exe,If,ExistFile,%GWTAdkFolder%\x86\dism\WimMountInstall.exe,FileCopy,%GWTAdkFolder%\x86\dism\WimMountInstall.exe,%Tools%\x86\WimMountInstall.exe
If,Not,ExistFile,%Tools%\x86\wimserv.exe,If,ExistFile,%GWTAdkFolder%\x86\dism\wimserv.exe,FileCopy,%GWTAdkFolder%\x86\dism\wimserv.exe,%Tools%\x86\wimserv.exe
If,Not,ExistFile,%Tools%\x86\wofadk.sys,If,ExistFile,%GWTAdkFolder%\x86\dism\wofadk.sys,FileCopy,%GWTAdkFolder%\x86\dism\wofadk.sys,%Tools%\x86\wofadk.sys
If,Not,ExistFile,%Tools%\x86\oscdimg.exe,If,ExistFile,%GWTAdkFolder%\x86\Oscdimg\oscdimg.exe,FileCopy,%GWTAdkFolder%\x86\Oscdimg\oscdimg.exe,%Tools%\x86\oscdimg.exe
// ADK_4(_1) x64
If,Not,ExistFile,%Tools%\x64\bcdboot.exe,If,ExistFile,%GWTAdkFolder%\amd64\BCDBoot\bcdboot.exe,FileCopy,%GWTAdkFolder%\amd64\BCDBoot\bcdboot.exe,%Tools%\x64\bcdboot.exe
If,Not,ExistFile,%Tools%\x64\bcdedit.exe,If,ExistFile,%GWTAdkFolder%\amd64\BCDBoot\bcdedit.exe,FileCopy,%GWTAdkFolder%\amd64\BCDBoot\bcdedit.exe,%Tools%\x64\bcdedit.exe
If,Not,ExistFile,%Tools%\x64\bootsect.exe,If,ExistFile,%GWTAdkFolder%\amd64\BCDBoot\bootsect.exe,FileCopy,%GWTAdkFolder%\amd64\BCDBoot\bootsect.exe,%Tools%\x64\bootsect.exe
If,Not,ExistFile,%Tools%\x64\imagex6.2.exe,If,ExistFile,%GWTAdkFolder%\amd64\dism\imagex.exe,FileCopy,%GWTAdkFolder%\amd64\dism\imagex.exe,%Tools%\x64\imagex6.2.exe
If,Not,ExistFile,%Tools%\x64\wimgapi6.2.dll,If,ExistFile,%GWTAdkFolder%\amd64\dism\wimgapi.dll,FileCopy,%GWTAdkFolder%\amd64\dism\wimgapi.dll,%Tools%\x64\wimgapi6.2.dll
If,Not,ExistFile,%Tools%\x64\wimmount.sys,If,ExistFile,%GWTAdkFolder%\amd64\dism\wimmount.sys,FileCopy,%GWTAdkFolder%\amd64\dism\wimmount.sys,%Tools%\x64\wimmount.sys
If,Not,ExistFile,%Tools%\x64\WimMountInstall.exe,If,ExistFile,%GWTAdkFolder%\amd64\dism\WimMountInstall.exe,FileCopy,%GWTAdkFolder%\amd64\dism\WimMountInstall.exe,%Tools%\x64\WimMountInstall.exe
If,Not,ExistFile,%Tools%\x64\wimserv.exe,If,ExistFile,%GWTAdkFolder%\amd64\dism\wimserv.exe,FileCopy,%GWTAdkFolder%\amd64\dism\wimserv.exe,%Tools%\x64\wimserv.exe
If,Not,ExistFile,%Tools%\x64\wofadk.sys,If,ExistFile,%GWTAdkFolder%\amd64\dism\wofadk.sys,FileCopy,%GWTAdkFolder%\amd64\dism\wofadk.sys,%Tools%\x64\wofadk.sys
If,Not,ExistFile,%Tools%\x64\oscdimg.exe,If,ExistFile,%GWTAdkFolder%\amd64\Oscdimg\oscdimg.exe,FileCopy,%GWTAdkFolder%\amd64\Oscdimg\oscdimg.exe,%Tools%\x64\oscdimg.exe

[CopyWofadk]
// ADK_6 x86
If,Not,ExistFile,%Tools%\x86\wofadk.sys,If,ExistFile,%GWTwofadkFolder%\x86\dism\wofadk.sys,FileCopy,%GWTwofadkFolder%\x86\dism\wofadk.sys,%Tools%\x86\wofadk.sys
// ADK_6 x64
If,Not,ExistFile,%Tools%\x64\wofadk.sys,If,ExistFile,%GWTwofadkFolder%\amd64\dism\wofadk.sys,FileCopy,%GWTwofadkFolder%\amd64\dism\wofadk.sys,%Tools%\x64\wofadk.sys

[CopyDism]
If,Not,ExistFile,%Tools%\x86\Dism\dism.exe,If,ExistFile,%GWTAdkFolder%\x86\dism\dism.exe,Begin
If,Not,ExistDir,%Tools%\x86\Dism,DirMake,%Tools%\x86\Dism
FileCopy,%GWTAdkFolder%\x86\dism\*,%Tools%\x86\Dism
End
If,Not,ExistFile,%Tools%\x64\Dism\dism.exe,If,ExistFile,%GWTAdkFolder%\amd64\dism\dism.exe,Begin
If,Not,ExistDir,%Tools%\x64\Dism,DirMake,%Tools%\x64\Dism
FileCopy,%GWTAdkFolder%\amd64\dism\*,%Tools%\x64\Dism
End

[CopyDevcon]
If,Not,ExistFile,%Tools%\x86\devcon.exe,If,ExistFile,%GWTDevconFolder%\x86\devcon.exe,FileCopy,%GWTDevconFolder%\x86\devcon.exe,%Tools%\x86\devcon.exe
If,Not,ExistFile,%Tools%\x64\devcon.exe,If,ExistFile,%GWTDevconFolder%\amd64\devcon.exe,FileCopy,%GWTDevconFolder%\amd64\devcon.exe,%Tools%\x64\devcon.exe

[CheckInfFiles]
Echo,"Prepare setup information drivers files..."
If,%GWTWaik2%,Equal,True,If,Not,ExistFile,%Tools%\x86\wimfltr.inf,Begin
Set,%w%,%Tools%\x86\wimfltr.inf
Run,%scriptfile%,WimFltrInfFile
End
If,%GWTWaik2%,Equal,True,If,Not,ExistFile,%Tools%\x64\wimfltr.inf,Begin
Set,%w%,%Tools%\x64\wimfltr.inf
Run,%scriptfile%,WimFltrInfFile
End
If,Not,ExistFile,%Tools%\x86\wimmount.inf,Begin
Set,%w%,%Tools%\x86\wimmount.inf
Run,%scriptfile%,WimMountInfFile
End
If,Not,ExistFile,%Tools%\x64\wimmount.inf,Begin
Set,%w%,%Tools%\x64\wimmount.inf
Run,%scriptfile%,WimMountInfFile
End

[HostOSInfoMini]
Echo,"Detect HostOS Info..."
If,Not,ExistDir,%ProjectTemp%,DirMake,%ProjectTemp%
If,ExistFile,%ProjectTemp%\InfoHostOSMiniIni.ini,Shellexecute,Hide,cmd.exe,"/C del /q /f #$q%ProjectTemp%\InfoHostOSMiniIni.ini#$q"
If,ExistFile,%ProjectTemp%\InfoHostOSMiniIni.ini,Echo,"FILE Not deleted",Warn
If,ExistFile,%ProjectTemp%\InfoHostOSMiniIni.au3,Shellexecute,Hide,cmd.exe,"/C del /q /f #$q%ProjectTemp%\InfoHostOSMiniIni.au3#$q"
If,ExistFile,%ProjectTemp%\InfoHostOSMiniIni.au3,Echo,"FILE Not deleted",Warn
Set,%w%,%ProjectTemp%\InfoHostOSMini.au3
FileCreateBlank,%w%
TxtAddline,%w%,"#NoTrayIcon",Append
TxtAddline,%w%,"#RequireAdmin",Append
TxtAddline,%w%,"IniWrite(#$qInfoHostOSMiniIni.ini#$q,#$qinfohostos#$q,#$qosarch#$q,@OSArch)",Append
//Following MUST me x86 NOT %systype% or %OsArch% ..... ;).
ShellExecute,Hide,%Tools%\x86\AU3381.exe,"#$q%w%#$q",%ProjectTemp%
IniRead,%ProjectTemp%\InfoHostOSMiniIni.ini,infohostos,OSArch,%SysTypeVar%
Set,%SysType%,%SysTypeVar%,Permanent
Set,%OSArch%,%SysTypeVar%,Permanent
FileDelete,%ProjectTemp%\InfoHostOSMiniIni.au3
FileDelete,%ProjectTemp%\InfoHostOSMiniIni.ini
Shellexecute,Hide,cmd.exe,"/C del /q /f #$q%ProjectTemp%\InfoHostOSMini.au3#$q"
If,ExistFile,%ProjectTemp%\InfoHostOSMini.au3,Echo,"FILE Not deleted",WARN
Shellexecute,Hide,cmd.exe,"/C del /q /f #$q%ProjectTemp%\InfoHostOSMiniIni.ini#$q"
If,ExistFile,%ProjectTemp%\InfoHostOSMiniIni.ini,Echo,"FILE Not deleted",WARN

[MakeDirsMui_Loop]
StrFormat,Split,%HostMuiLangAll%,|,#c,#9
If,Not,ExistDir,#1\#9,DirMake,#1\#9

[PHostOSCopyTools]
//#1=<FromDir>\<File>, #2=<ToDir> > #9=<File>
StrFormat,FileName,#1,#9
StrFormat,Path,#1,#1
StrFormat,CTRIM,#1,\,#1
StrFormat,CTRIM,#2,\,#2
TxtAddline,%w%,"",Append
TxtAddline,%w%,"Copy /y #$q#1\#9#$q #$q#2#$q",Append
TxtAddline,%w%,"attrib.exe -R -S -H #$q#2\#9#$q",Append
Loop,%ScriptFile%,PHostOSCopyMUITools_Loop,1,%NbLang%,#1,#2,#3,#4,#5,#6,#7,#8,#9

[PHostOSCopyMUITools_Loop]
//#1=<FromDir>, #2=<ToDir> #9=<File> > #7=<MuiLang>
StrFormat,Split,%HostMuiLangAll%,|,#c,#7
//Echo,"Lang#c: #7, <FromDir>=#1, <ToDir>=#2, <File>=#9",Warn
TxtAddline,%w%,"Copy /y #$q#1\#7\#9.mui#$q #$q#2\#7#$q",Append
TxtAddline,%w%,"attrib.exe -R -S -H #$q#2\#7\#9.mui#$q",Append

[HostOSTools]
Echo,"Preparing HostOS tools..."
If,ExistDir,%ProjectTemp%\HostOSTools,DirDelete,%ProjectTemp%\HostOSTools
If,ExistDir,%ProjectTemp%\HostOSTools,Call,DirDelete,%ProjectTemp%\HostOSTools
If,ExistDir,%ProjectTemp%\HostOSTools,Call,Echo,"ProjectTemp\HostOSTools Folder can not be deleted!",Warn,,MessageError,,Halt
DirMake,%ProjectTemp%\HostOSTools
//- Process DirMake and 1HostOSCopy.cmd with %HostMuiLangAll% (eg: es-MX|es-ES|en-US)
Set,%w%,%ProjectTemp%\HostOSTools\1HostOSCopy.cmd
Call,HostMuiLang
StrFormat,RTrim,%HostMuiLangAll%,1,%HostMuiLangAll%
StrFormat,Split,%HostMuiLangAll%,|,0,%NbLang%
//Echo,"HostOSTools Lang: %NbLang% %HostMuiLangAll%"
Loop,%ScriptFile%,MakeDirsMui_Loop,1,%NbLang%,%ProjectTemp%\HostOSTools
//-
Call,HostWindowsDir
FileCreateBlank,%w%
//Run,%ScriptFile%,PHostOSCopyTools,%HostWindowsDir%\cmd.exe,%ProjectTemp%\HostOSTools
Run,%ScriptFile%,PHostOSCopyTools,%HostWindowsDir%\System32\cmd.exe,%ProjectTemp%\HostOSTools
Run,%ScriptFile%,PHostOSCopyTools,%HostWindowsDir%\System32\bcdedit.exe,%ProjectTemp%\HostOSTools
//Run,%ScriptFile%,PHostOSCopyTools,%HostWindowsDir%\reg.exe,%ProjectTemp%\HostOSTools
Run,%ScriptFile%,PHostOSCopyTools,%HostWindowsDir%\System32\reg.exe,%ProjectTemp%\HostOSTools
Run,%ScriptFile%,PHostOSCopyTools,%HostWindowsDir%\regedit.exe,%ProjectTemp%\HostOSTools
//Run,%ScriptFile%,PHostOSCopyTools,%HostWindowsDir%\System32\regedit.exe,%ProjectTemp%\HostOSTools
Run,%ScriptFile%,PHostOSCopyTools,%HostWindowsDir%\System32\attrib.exe,%ProjectTemp%\HostOSTools
//-
TxtAddline,%w%,Exit,Append
//-
FileCreateBlank,%ProjectTemp%\HostOSTools\1HostOSCopyCMD.au3
TxtAddline,%ProjectTemp%\HostOSTools\1HostOSCopyCMD.au3,"#NoTrayIcon",Append
TxtAddline,%ProjectTemp%\HostOSTools\1HostOSCopyCMD.au3,"#RequireAdmin",Append
TxtAddline,%ProjectTemp%\HostOSTools\1HostOSCopyCMD.au3,"RunWait(@ComSpec & #$q /c #$q & '#$q%w%#$q', #$q#$q, @SW_HIDE)",Append
//-
ShellExecute,Hide,%Tools%\%SysType%\AU3381.exe,"#$q%ProjectTemp%\HostOSTools\1HostOSCopyCMD.au3#$q"
//-
If,Not,ExistFile,%ProjectTemp%\HostOSTools\cmd.exe,Run,%scriptfile%,HostOSTools_Halt,cmd.exe
If,Not,ExistFile,%ProjectTemp%\HostOSTools\regedit.exe,Run,%scriptfile%,HostOSTools_Halt,regedit.exe
If,Not,ExistFile,%ProjectTemp%\HostOSTools\reg.exe,Run,%scriptfile%,HostOSTools_Halt,reg.exe

[HostOSTools_Halt]
Set,%var%,#1
Message,"%var% can not be copied to %ProjectTemp%\HostOSTools",Error
Halt,"%var% can not be copied to %ProjectTemp%\HostOSTools"

[WimFltrInfFile]
FileCreateBlank,%w%
TxtAddline,%w%,"[Version]",Append
TxtAddline,%w%,"Signature=#$q%Dollar%Windows NT%Dollar%#$q",Append
TxtAddline,%w%,"Class=#$qActivityMonitor#$q                 ;Determined by the work this filter driver does",Append
TxtAddline,%w%,"Provider=#$qChrisR#$q",Append
TxtAddline,%w%,"DriverVer=06/21/2006,6.0.6001.18000",Append
TxtAddline,%w%,"",Append
TxtAddline,%w%,"[DestinationDirs]",Append
TxtAddline,%w%,"DefaultDestDir=12                        ;#$pwindir#$p\system32\drivers",Append
TxtAddline,%w%,"WimFltr.DriverFiles=12                        ;#$pwindir#$p\system32\drivers",Append
TxtAddline,%w%,"",Append
TxtAddline,%w%,"[DefaultInstall]",Append
TxtAddline,%w%,"OptionDesc=#$qWimFltr Driver#$q",Append
TxtAddline,%w%,"CopyFiles=WimFltr.DriverFiles",Append
TxtAddline,%w%,"",Append
TxtAddline,%w%,"[DefaultInstall.Services]",Append
TxtAddline,%w%,"AddService=#$qWimFltr#$q,,WimFltr.Service",Append
TxtAddline,%w%,"",Append
TxtAddline,%w%,"[DefaultUninstall]",Append
TxtAddline,%w%,"DelFiles=WimFltr.DriverFiles",Append
TxtAddline,%w%,"DelReg=WimFltr.DelRegistry",Append
TxtAddline,%w%,"",Append
TxtAddline,%w%,"[DefaultUninstall.Services]",Append
TxtAddline,%w%,"DelService=WimFltr,0x200                      ;Flags not to stop service first",Append
TxtAddline,%w%,"",Append
TxtAddline,%w%,"[WimFltr.Service]",Append
TxtAddline,%w%,"DisplayName=#$qWimFltr#$q",Append
TxtAddline,%w%,"Description=#$qWindows Image Mini-Filter Driver#$q",Append
TxtAddline,%w%,"ServiceBinary=#$p12#$p\wimfltr.sys             ;#$pwindir#$p\system32\drivers\wimfltr.sys",Append
TxtAddline,%w%,"Dependencies=#$qFltMgr#$q                     ;FltMgr",Append
TxtAddline,%w%,"ServiceType=2                            ;SERVICE_FILE_SYSTEM_DRIVER",Append
TxtAddline,%w%,"StartType=3                            ;SERVICE_DEMAND_START",Append
TxtAddline,%w%,"ErrorControl=1                            ;SERVICE_ERROR_NORMAL",Append
TxtAddline,%w%,"LoadOrderGroup=#$qFSFilter Compression#$q",Append
TxtAddline,%w%,"AddReg=WimFltr.AddRegistry",Append
TxtAddline,%w%,"",Append
TxtAddline,%w%,"[WimFltr.AddRegistry]",Append
TxtAddline,%w%,"HKLM,#$qsystem\currentcontrolset\services\WimFltr#$q,#$qDebugFlags#$q,0x00010001,0x00000001",Append
TxtAddline,%w%,"HKR,#$qInstances#$q,#$qDefaultInstance#$q,0x00000000,#$qWimFltr Instance#$q",Append
TxtAddline,%w%,"HKR,#$qInstances\WimFltr Instance#$q,#$qAltitude#$q,0x00000000,#$q170500#$q",Append
TxtAddline,%w%,"HKR,#$qInstances\WimFltr Instance#$q,#$qFlags#$q,0x00010001,0x0",Append
TxtAddline,%w%,"",Append
TxtAddline,%w%,"[WimFltr.DelRegistry]",Append
TxtAddline,%w%,"HKLM,#$qsystem\currentcontrolset\services\WimFltr#$q,#$qDebugFlags#$q",Append
TxtAddline,%w%,"",Append
TxtAddline,%w%,"[WimFltr.DriverFiles]",Append
TxtAddline,%w%,"WimFltr.sys",Append

[WimMountInfFile]
FileCreateBlank,%w%
TxtAddline,%w%,"[Version]",Append
TxtAddline,%w%,"Signature=#$q%Dollar%Windows NT%Dollar%#$q",Append
TxtAddline,%w%,"Class=#$qActivityMonitor#$q                         ;This is determined by the work this filter driver does",Append
TxtAddline,%w%,"ClassGuid={b86dff51-a31e-4bac-b3cf-e8cfe75c9fc2}    ;This value is determined by the Class",Append
TxtAddline,%w%,"Provider=#$qChrisR#$q",Append
TxtAddline,%w%,"DriverVer=08/22/2001,1.0.0.1",Append
TxtAddline,%w%,"",Append
TxtAddline,%w%,"[DestinationDirs]",Append
TxtAddline,%w%,"wimmount.SystemFiles=11            ;#$pwindir#$p\system32",Append
TxtAddline,%w%,"wimmount.DriverFiles=12            ;#$pwindir#$p\system32\drivers",Append
TxtAddline,%w%,"",Append
TxtAddline,%w%,"[DefaultInstall]",Append
TxtAddline,%w%,"OptionDesc=#$qWimMount Driver#$q",Append
TxtAddline,%w%,"CopyFiles=wimmount.DriverFiles, wimmount.SystemFiles",Append
TxtAddline,%w%,"",Append
TxtAddline,%w%,"[DefaultInstall.Services]",Append
TxtAddline,%w%,"AddService=#$qwimmount#$q,,wimmount.Service",Append
TxtAddline,%w%,"",Append
TxtAddline,%w%,"[DefaultUninstall]",Append
TxtAddline,%w%,"DelFiles=wimmount.DriverFiles, wimmount.SystemFiles",Append
TxtAddline,%w%,"",Append
TxtAddline,%w%,"[DefaultUninstall.Services]",Append
TxtAddline,%w%,"DelService=wimmount,0x200                      ;Ensure service is stopped before deleting",Append
TxtAddline,%w%,"",Append
TxtAddline,%w%,"[wimmount.Service]",Append
TxtAddline,%w%,"Description=#$qWimMount Driver#$q",Append
TxtAddline,%w%,"ServiceBinary=#$p12#$p\wimmount.sys            ;#$pwindir#$p\system32\drivers\",Append
TxtAddline,%w%,"Dependencies=#$qFltMgr#$q",Append
TxtAddline,%w%,"ServiceType=2                            ;SERVICE_FILE_SYSTEM_DRIVER",Append
TxtAddline,%w%,"StartType=3                            ;SERVICE_DEMAND_START",Append
TxtAddline,%w%,"ErrorControl=1                            ;SERVICE_ERROR_NORMAL",Append
TxtAddline,%w%,"LoadOrderGroup=#$qFSFilter Activity Monitor#$q",Append
TxtAddline,%w%,"AddReg=wimmount.AddRegistry",Append
TxtAddline,%w%,"",Append
TxtAddline,%w%,"[wimmount.AddRegistry]",Append
TxtAddline,%w%,"HKR,,#$qDebugFlags#$q,0x00010001 ,0x0",Append
// Win7 wimmount.inf
//TxtAddline,%w%,"HKR,#$qInstances#$q,#$qDefaultInstance#$q,0x00000000,#$qWimmount Instance#$q",Append
//TxtAddline,%w%,"HKR,#$qInstances\Wimmount Instance#$q,#$qAltitude#$q,0x00000000,#$q180700#$q",Append
//TxtAddline,%w%,"HKR,#$qInstances\Wimmount Instance#$q,#$qFlags#$q,0x00010001,0x0",Append
TxtAddline,%w%,"HKR,#$qInstances#$q,#$qDefaultInstance#$q,0x00000000,#$qWIMMount#$q",Append
TxtAddline,%w%,"HKR,#$qInstances\WIMMount#$q,#$qAltitude#$q,0x00000000,#$q180700#$q",Append
TxtAddline,%w%,"HKR,#$qInstances\WIMMount#$q,#$qFlags#$q,0x00010001,0x0",Append
TxtAddline,%w%,"",Append
TxtAddline,%w%,"[wimmount.DriverFiles]",Append
TxtAddline,%w%,"wimmount.sys",Append
TxtAddline,%w%,"",Append
TxtAddline,%w%,"[wimmount.SystemFiles]",Append
TxtAddline,%w%,"wimserv.exe",Append

[Win7DismNotUsedAnymore]
// NOT USED ANYMORE kept for example
//-- [Process] Get - Win7 Dism for XP, 2003 Host OS. Used for Win8 driver integration.
Call,HostOSVersion,,4x
Set,%Win7Dism%,""
If,%HostOSVersion1%,Equal,5,Set,%Win7Dism%,-Win7Dism
If,%Win7Dism%,Equal,-Win7Dism,Run,%scriptfile%,GetWin7Dism
// [Launch_DownloadWTTools] Download Win7Dism for XP, 2003 Host OS. Used for Win8 driver integration.
Call,HostOSVersion,,4x
Set,%Win7Dism%,""
If,%HostOSVersion1%,Equal,5,Set,%Win7Dism%,-Win7Dism
If,%Win7Dism%,Equal,-Win7Dism,Run,%ProjectDir%\Utils\GetWaikTools.script,Launch_Program,%ProjectDir%\Utils\GetWaikTools.script,"-Win7Dism -Silent",CopyWin7Dism
// [GetWin7Dism]
Run,%scriptfile%,CheckWin7Dism
If,Not,-%Win7Dism%,Equal,-,Begin
If,Not,ExistFile,%ProjectDir%\Utils\GetWaikTools.script,Begin
Message,"GetWaikTools Plugin required to dowload Win7 Dism !!!#$x#$xExiting...",Error
Halt,"GetWaikTools Plugin required to dowload Win7 Dism. Exiting..."
End
Else,Begin
// Recover from %GlobalTemplates%\GetWaikTools if tools exist
Run,%ProjectDir%\Utils\GetWaikTools.script,CopyWin7Dism
Run,%scriptfile%,CheckWin7Dism
//- Download with GetWaikTools
If,Not,-%Win7Dism%,Equal,-,Begin
Echo,"Download Win7 Dism tools ..."
Run,%ProjectDir%\Utils\GetWaikTools.script,Launch_Program,%ProjectDir%\Utils\GetWaikTools.script,"%Win7Dism% -Silent",CopyWin7Dism
End
End
End

[CheckWin7Dism]
// NOT USED ANYMORE
// Waik_3 x86 Dism
Set,%Win7Dism%,
If,Not,ExistFile,%Tools%\x86\Win7Dism\dism.exe,Set,%Win7Dism%,-Win7Dism
// Waik_3 x64 Dism
If,Not,ExistFile,%Tools%\x64\Win7Dism\dism.exe,Set,%Win7Dism%,-Win7Dism

[History-Old]
History003=Homes32 - Interface tweaks.
History004=ChrisR - Extract and Run FindWimTools only if Retrieve WAIK or System enabled
History005=ChrisR - Disable Retreive Checkbox if wim tools already here
History006=Lancelot - Additional check variable %SysType% to work in standalone (=Brad findings fixed - post 50-51 http://theoven.org/index.php?topic=147.msg2827#msg2827 )
History007=Lancelot - IniVariables added
History008=ChrisR - FindWimTools.exe unupxed to avoid idiot AV false positive ;)
History009=Lancelot no need Read Env here
History010=ChrisR - NoWarn Filedelete FindWimTools.exe
History012=ChrisR - GetWaikTools: WAIK Tools dowload by JFX (Uses GetWaikTools Plugin)
History013=Lancelot - instead of ChangeInterface setpermanent for checkbox
History014=ChrisR - improvement if extracted from your source and ExtractWimFolder selected
History016=ChrisR - Retrieve, copy oscdimg.exe in tools folder
History017=ChrisR - Recover WAIK tools in globaltemplate if exists before downloading
History018=ChrisR - Following AU3381 updated

[AuthorEncoded]
Retrieve.bmp=8314,11086
Logo=Retrieve.bmp

[InterfaceEncoded]
GetWaik3232.bmp=2242,2990
WaikToolsInfo.txt=231,308
DoubleJDesignRavenna3dArrowDown0016016.bmp=622,830
BokehliciaCaptivaSoftwareupload0016016.bmp=676,902
AmperossQetto2Move0016016.bmp=893,1191

[EncodedFile-AuthorEncoded-Retrieve.bmp]
lines=2
[encoded data, 11092 characters]

[EncodedFile-InterfaceEncoded-GetWaik3232.bmp]
lines=0
0=eJztl3lQVFcWxk1mnCWLlUlcoolRo8YFEQ3RBkHccQlRR1ARFAFXhIwLiBtGVBQwLgE3DIpBjRpLBAyrDURoulUE26ZpNGEJqECDGFkUaLrp31zIlBNrIGbmv6nKq/rq3ap7633fufe755w38ZOENzq1PaMFBgv0Fegn8FLbqFMn/3/N//IBfsf/IQwGAw0NDdTW1lJTU8NjgdZ3XV0djY2N6PV6/ufvtzRibCrF+DQfdKUY9I00NzdTVVVFSkoKwcHBrFnqjrf9bFbbz2C1qwNrvZaze/duLly40LZGoVCg0WjQarVteoxG4wv1GLXHMSgt0Mu7YMh8Fb3srxhkf4Ybf8KoNEEdY8vXe8axKXgKHqGzCQh3JGqvE+n+88g8uIi0Yy6c2L2A/Xu2ER8fj1QqRSaToVarqaioaIuhXW59LQbFYPRpwzBkWNIiF7g2AmPOMMi1BNU80HhBsQfcd4If7an5fhHSQm++VH9G5Im1xOxxQXF0KcUJPpSleRFzbCWXY6NRKpXP9qK+vr5d/pZbM9FLp2NIM8WgmkXL3cVwxx7Uo2mSdRHc78HdWQJfQoFC8GcKLWcF9kPpHu5rj3IrP5Lcy+Fkf7ML2RFnimNWIo9wRZocT2VlZRva84SxVob+ipXYbxGrOPNfzuXFH+WAnYTLHqbkRvan4fYQ+F7oKgqD8h+h8hFoiwTkYhxFS1UCdWV5XD8d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gfb72t/xO16EfwL7HAmceJzjd08tCU/MzDY2MjbSS8otYBgFIwpsE4DQxRzY5aVObk5jYAIAsLAIMoKSzrgBAAAAAgAAACsAAABzCAAAAAAAAAEAAAAAAAAAAAAAAA

[EncodedFile-InterfaceEncoded-WaikToolsInfo.txt]
lines=0
0=eJyF0L0KwjAQwPE9kHe4F2hmcSu4lOKqc5pc60E+Si9qfXsTpBhQMduPu5A/ATgRJw1t1++laH6dPIIZyU8KVywgrydcNzHzhbyyzhXd856eqeLo0qIojDX5wVJIAXCmsIP20MO/gMHYIca0PZqJlt7MI0aTvhdGNrbK/0z08RrSK6rJSf5Y3IX8N85VtxiXW+ETBvBZOnicEwxPzMwOyc/PKfbMS8vXK6koYRgFIwhYMELo6TjkpTZuPMLABAB6vQnbMwnVWgEAAAACAAAALAAAAJcAAAAAAAAAAQAAAAAAAAAAAAAA

[DownloadXXX]
Call,DownloadXQ

[UploadXXX]
Call,UploadXQ

[EncodedFile-InterfaceEncoded-DoubleJDesignRavenna3dArrowDown0016016.bmp]
lines=0
0=eJzNk09Ik2Ecxw06BF2KqG5ih1EgYZZu7+v7vnu3d++2MpelRFHgQZEaJLVIXSxrW4Wauf7Nwha2rQ7dOgT9IQT1EkQHi+hSHfRSUZrMcp389PjSoUib3vrB9/I8fD78fr+Hxwi0LS+yyi6ySWSVyGqRZUUl1rnr1/3vBfy3+TTxkabuAzx4dp+lsu/G31LRXIrjaCmeVjtfpj4v2jH+YQwpWIYc3orctgUptJkT/UcWxc/1rLXYqYpKqGcklEglcns5DuF48uLhPx2TUxOYIRWlU8PZraOdU1GjMsop4RO9+DucfM1NzuvIfctR3Wai9hq4rvrREybOCy608xpqrAqlQzhObiOSbv2Ln8nPsDvsZ33dSoob1mE7XIIsetAvCUePG63TiRpXUE47rJ0MvRz8wzH9fZqR0SHSj1LUhn2s8a6gMi7hTm7HddmLftHA2aVT2mJjY3Mx7naJ/I/8vHN0Zc5avKNLw+gP4O7bgeuKD73XQyDqI5QM8ur96I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