[Main]
Title=PostConfig
Type=Plugin
Author=NightMan, ChrisR, JFX
Description=Finalizing WinPESE...
Credits=Lancelot, http://TheOven.org
Version=063
Download_Level=0
Level=8
Selected=True
Mandatory=False
NoWarning=False
Contact=http://TheOven.org
Date=2017.11.22
Depend=
Disable=
Web1=http://w7pese.cwcodes.net/Projects/Win7PESE/Finals/yy_1-postconfig.script
CertifiedBy=
Certification=
HistoryNotes01=--- DirMove Error info - Start
HistoryNotes02=Possible cause:
HistoryNotes03=The action can't be completed because the Folder or a File in it is open in another program.
HistoryNotes04=Reason of some known Failures:
HistoryNotes05=1) Files having very long path.
HistoryNotes06=2) Antivirus Lock files during scan.
HistoryNotes07=( Adding 'Project Folder' and 'Source Folder' to Exclusion list do not fix on some AV -  Totally Disable AV )
HistoryNotes08=Solutions to known Failures:
HistoryNotes09=1-1) Use Official MS Distribution. ( Updated - Beta etc. Contains very long paths - NOT Supported.)
HistoryNotes10=1-2) Use short folder for project ex: D:\Oven
HistoryNotes11=1-3) Use short folder for source ex: D:\S\Wx64
HistoryNotes12=--- DirMove Error info - Finish
History026=ChrisR - Win7pese - Win8pese. The old history is stored in the section [History]
History026=ChrisR - Target Image
History027=ChrisR - Plugin renamed 3-postconfig -> yy_1-postconfig
History028=anshad - Added Win8 "windows is loading" progress bar
History029=ChrisR - Fix double comma
History030=ChrisR - Adjustment to get single plugin
History031=ChrisR - Add the flag 9 to the boot.wim for running setup from within windows to upgrade, thanks halikus.
History032=ChrisR - Moved back %BootTMP%\Program Files(x86) if Target Image folder used
History033=2aCD   - Use xcopy rather than filecopy to preserve attributes while copying the other folders
History034=ChrisR - Include files in boot.wim Root (Ram)
History035=ChrisR - Remove an old test for .pdf association! thanks anshad
History036=ChrisR - Clean Recent Program for Win8.1
History037=ChrisR - Set bootmenupolicy legacy for UEFI, thanks anshad
History038=ChrisR - Fix path for delete the log data of SMI\Store\Machine\SCHEMA.DAT. thanks neon2m
History039=ChrisR - The following of Bypass Driver Signing (see "1-Copy Files). Thanks JFX http://theoven.org/index.php?topic=866.msg11055#msg11055
History040=ChrisR - Set the BCD timeout defined in "Create ISO" plugin
History041=ChrisR - Change the BCD description "Windows setup" => %ProjectName% x86 or x64 (+UEFI for efi bcd)
History042=ChrisR - Set description only if Multi-Wim is not selected. Otherwise, the description is written in the latter
History043=Lancelot - added Emulator options // changed interface description after KYHI post reply 1 http://TheOven.org/index.php?topic=1177
History044=Lancelot - change folder to %ISODir%\TargetImage\WIM
History045=ChrisR - choice to use wimlib for capturing. in Wimlib 1.7.5-Beta2 the capture can go up to 2 times faster
History046=ChrisR - BCD adjustment to bypass Driver Signing is only done for BIOS computer
History047=ChrisR - BCDedit DISABLE_INTEGRITY_CHECKS & NoIntegrityChecks moved in 1-Files plugin with option: Patch winload.exe to bypass Driver Signing (patch winload.exe
History048=ChrisR - fix iniread zMultiWim for small Win7pese. zMultiWim not included
History049=ChrisR - bootmenupolicy legacy also for windows 10
History050=Lancelot - Added Del_Desktop_Desktopini_CheckBox - (Missing Optimization plugin on Win10PESE ;) - Better to put none-project specific optimizations here to be sure...)
History051=ChrisR - halt the build in case of Xcopy error - Date:2016.04.03
History056=Lancelot - Call,DirMove fix - Winbuilder Bug -> DirMove - Failed to move directory [%BaseDir%\Target\Win10PESE\xxxxx] to: [%BaseDir%\ISO\TargetImage\WIM\boot.tmp]: Unknown error - Reply 15  http://TheOven.org/index.php?topic=1924 - Date:2016.11.09 - Date:2016.11.10
History057=Lancelot - To get Same path debt : Set,%TargetImage%,%ISODir%\TargetImage\WIM --> Set,%TargetImage%,%ISODir%\TI\WIM // %BootTMP%=%TargetDir%\boot.tmp -> %BootTMP%=%TargetDir%\b.tmp // Set,%BootTMP%,%TargetImage%\boot.tmp --> Set,%BootTMP%,%TargetImage%\b.tmp - Date:2016.11.11
History058=ChrisR - DirMove with Unknown error and Halt is replaced by SHDirMove - Date:2016.12.07
History059=ChrisR - Set the NTFS permissions on BootTMP to Full Control to everyone - it should allows to avoid the black screen at startup - Date:2016.12.22
History060=Lancelot - Add qEmu_X support // Delete ISOfileVar to save space before repack - Date:2017.08.24
History061=Lancelot - Message : Directory still not Moved Error : Improved with: Reason of some known Failures: + Solutions to known Failures: - Reply10: http://TheOven.org/index.php?topic=2262.msg24446#msg24446 - Date:2017.10.25
History062=ied206 - Typo fixed Reply 3 http://TheOven.org/index.php?topic=2271.msg24582#msg24582 - Date:2017.11.08
History063=Lancelot %ISODir% deprecated - Date:2017.11.22

[Variables]
%i32%=%InstallSRC%\Windows\System32
%bw%=%BootSRC%\Windows
%tw%=%TargetDir%\Windows
%b32%=%bw%\system32
%t32%=%tw%\system32
%BootTMP%=%TargetDir%\b.tmp
%RootRAMFolder%=%GlobalTemplates%\RootRAM
%RegeditexeFolder%=

[ProcessImageISO]
Run,%ScriptFile%,Process
If,Not,ExistFile,%ScriptDir%\yy_2-iso.script,Message,"yy_2-iso script required to create new ISO !!!",Error
Else,Run,%ScriptDir%\yy_2-iso.script,ProcessISO,%ScriptDir%\yy_2-iso.script

[Process]
If,%Del_Desktop_Desktopini_CheckBox%,Equal,True,Begin
Call,TargetDesktop
If,ExistFile,%TargetDesktop%\Desktop.ini,Call,FileDelete,%TargetDesktop%\Desktop.ini
End
//-
Echo,"Processing %ScriptTitle% For %ProjectName%..."
If,ExistFile,%ProjectTemp%\HostOSTools\regedit.exe,Set,%RegeditexeFolder%,%ProjectTemp%\HostOSTools\
If,Not,ExistFile,%ProjectTemp%\HostOSTools\regedit.exe,Begin
If,Not,%SysType%,Equal,x86,Echo,"regedit.exe MAY write wrong values",WARN
End
IniRead,%ProjectDir%\script.project,IniVariables,SaveConditionLogAlways,%SaveConditionLogAlways%
If,%SaveConditionLogAlways%,Equal,1,Begin
If,ExistFile,%ProjectTemp%\SupportLog_Execute.script,Begin
If,ExistSection,%ProjectTemp%\SupportLog_Execute.script,Prepack,Begin
Exec,%ProjectTemp%\SupportLog_Execute.script,Prepack
End
End
End
//-
If,%ProjectName%,Equal,Win7PESE,StrFormat,LEFT,%ProjectName%,6,%ImageName%
If,%ProjectName%,Equal,Win8PESE,StrFormat,LEFT,%ProjectName%,6,%ImageName%
If,%ProjectName%,Equal,Win8.1SE,StrFormat,LEFT,%ProjectName%,6,%ImageName%
If,%ProjectName%,Equal,Win10PESE,StrFormat,LEFT,%ProjectName%,7,%ImageName%
Set,%CDFlagfile%,%ImageName%.cd
IniRead,%ProjectDir%\script.project,IniVariables,WimTool,%WimTools%
IniRead,%ProjectDir%\script.project,IniVariables,WimToolFile,%WimToolFile%
If,%WimTools%,Equal,ImageX,Set,%ImageX%,%WimToolFile%
If,%WimTools%,Equal,WimUtil,Set,%WimUtil%,%WimToolFile%
IniRead,%ProjectDir%\script.project,IniVariables,BuildModel,%BuildModel%
IniRead,%ProjectDir%\script.project,IniVariables,BootSRC,%BootSRC%
IniRead,%ProjectDir%\script.project,IniVariables,InstallSRC,%InstallSRC%
IniRead,%ProjectDir%\script.project,IniVariables,ShowImageX,%ShowImageX%
IniRead,%ProjectDir%\script.project,IniVariables,ShowImageX,%ShowWimlib%
IniRead,%ProjectDir%\script.project,IniVariables,ShowWimUtil,%ShowWimUtil%
IniRead,%ProjectDir%\script.project,IniVariables,ExtractWimFolder,%ExtractWimFolder%
//-
StrFormat,Path,%IsoFile%,%IsoFolder%
StrFormat,CTrim,%IsoFolder%,\,%IsoFolder%
//-
If,%TargetImage_CheckBox%-%BuildModel%,Equal,True-RAM,Set,%TargetImage%,%IsoFolder%\TI\WIM
Else,Set,%TargetImage%,%TargetDir%
Set,%BootTMP%,%TargetImage%\b.tmp
IniWrite,%ProjectDir%\script.project,IniVariables,TargetImage,%TargetImage%
//-
If,Not,ExistFile,%Tools%\%SourceArch%\bcdedit.exe,FileCopy,%InstallSRC%\Windows\System32\bcdedit.exe,%Tools%\%SourceArch%
Set,%BcdEditExe%,%Tools%\%OSArch%\bcdedit.exe
If,Not,ExistFile,%BcdEditExe%,Set,%BcdEditExe%,%Tools%\x86\bcdedit.exe
//source x64 host x86
If,Not,ExistFile,%BcdEditExe%,Message,"%Tools%\%OSArch%\bcdedit.exe NOT found. Build Stop Now",Error
If,Not,ExistFile,%BcdEditExe%,Halt,"%Tools%\%OSArch%\bcdedit.exe NOT found. Build Stop Now"
//-
//- Write IsoName in Internal ini file MountPEmedia.ini. ISO boot, at startup MountPEmedia.exe checks if imdisk exist, if yes and if Iso filename (set in in MountPEmedia.ini) is available on CD-USB drives, it will mount it on drive Y.
Call,AddInterface,%ProjectDir%\Finals\yy_2-iso.script,Interface,""
Set,%tmout%,%pNumberBox1%
Run,%ScriptDir%\yy_2-iso.script,IsoName
IniRead,%ProjectDir%\script.project,IniVariables,ISOfileVar,%ISOfileVar%
If,Not,%ISOfileVar%-,Equal,-,Call,FileDelete,%ISOfileVar%
StrFormat,FILENAME,%ISOfileVar%,%ISOfileName%
If,Not,ExistFile,%Target_Sys%\MountPEmedia.ini,FileCreateBlank,%Target_Sys%\MountPEmedia.ini
If,-%ISOBootFolder_TextBox%,Equal,-,IniWrite,%Target_Sys%\MountPEmedia.ini,IsoInfo,IsoName,%ISOfileName%
Else,IniWrite,%Target_Sys%\MountPEmedia.ini,IsoInfo,IsoName,%ISOBootFolder_TextBox%\%ISOfileName%
//-
If,%ProjectName%%BuildType%,Equal,Win8.1SEOS,Run,%ScriptFile%,CleanRecentProgram
//-
// If not extracted wim folder - UnMount wim files and check that UnMounted successfully (After checking bcdedit.exe)
If,Not,%ExtractWimFolder%,Equal,Yes,Run,%ScriptFile%,UnMountWim
If,Not,ExistFile,%TargetDir%\%CDFlagfile%,FileCreateBlank,%TargetDir%\%CDFlagfile%
//-
//Call,HostWindowsDir
////ShellExecute,Hide,#$q%TargetDir%\Windows\System32\bcdedit.exe#$q,"/store #$q%TargetDir%\boot\bcd#$q /set {default} quietboot on","%HostWindowsDir%\system32"
////enable ntbtlog.txt
////ShellExecute,Hide,#$q%TargetDir%\Windows\System32\bcdedit.exe#$q,"/store #$q%TargetDir%\boot\bcd#$q /set {default} bootlog on","%HostWindowsDir%\system32"
// Add ChrisR
Run,%ScriptFile%,BcdMenu
If,ExistFile,%TargetDir%\boot\bcd.LOG*,FileDelete,%TargetDir%\boot\bcd.LOG*
//-
If,ExistFile,%Target_Sys%\config\*.LOG1,FileDelete,%Target_Sys%\config\*.LOG1
If,ExistFile,%Target_Sys%\config\*.LOG2,FileDelete,%Target_Sys%\config\*.LOG2
If,ExistFile,%Target_Sys%\config\*.blf,FileDelete,%Target_Sys%\config\*.blf
If,ExistFile,%Target_Sys%\config\*.regtrans-ms,FileDelete,%Target_Sys%\config\*.regtrans-ms
If,ExistFile,%TargetProfilesUserDir%\*.LOG1,FileDelete,%TargetProfilesUserDir%\*.LOG1
If,ExistFile,%TargetProfilesUserDir%\*.LOG2,FileDelete,%TargetProfilesUserDir%\*.LOG2
If,ExistFile,%TargetProfilesUserDir%\*.blf,FileDelete,%TargetProfilesUserDir%\*.blf
If,ExistFile,%TargetProfilesUserDir%\*.regtrans-ms,FileDelete,%TargetProfilesUserDir%\*.regtrans-ms
If,ExistFile,%Target_Sys%\SMI\Store\Machine\*.LOG1,FileDelete,%Target_Sys%\SMI\Store\Machine\*.LOG1
If,ExistFile,%Target_Sys%\SMI\Store\Machine\*.LOG2,FileDelete,%Target_Sys%\SMI\Store\Machine\*.LOG2
If,ExistFile,%Target_Sys%\SMI\Store\Machine\*.blf,FileDelete,%Target_Sys%\SMI\Store\Machine\*.blf
If,ExistFile,%Target_Sys%\SMI\Store\Machine\*.regtrans-ms,FileDelete,%Target_Sys%\SMI\Store\Machine\*.regtrans-ms
//-
If,%BuildModel%,Equal,RAM,Run,%ScriptFile%,PackBoot
If,%BuildModel%,Equal,Normal,Run,%ScriptFile%,NoPackBoot
////If,%pCheckBox2%,Equal,true,Run,%ScriptFile%,PackPrograms

[UnMountWim]
If,%WimTools%,Equal,ImageX,Begin
Echo,"UnMounting Wim files (BootSRC) with %WimTools% ..."
If,ExistDir,%BootSRC%\Windows,ShellExecute,%ShowImageX%,%IMAGEX%,"/unmount #$q%BootSRC%#$q"
Echo,"%WimTools% unmount Wim files (BootSRC) return : %ExitCode%"
//-
Echo,"UnMounting Wim files (InstallSRC) with %WimTools% ..."
If,ExistDir,%InstallSRC%\Windows,ShellExecute,%ShowImageX%,%IMAGEX%,"/unmount #$q%InstallSRC%#$q"
Echo,"%WimTools% unmount Wim files (InstallSRC) return : %ExitCode%"
End
//-
If,%WimTools%,Equal,WimUtil,Begin
Echo,"UnMounting Wim files (BootSRC) with %WimTools% ..."
If,ExistDir,%BootSRC%\Windows,ShellExecute,Hide,%WIMUTIL%,"/unmount #$q%BootSRC%#$q %ShowWimUtil% /nowarn",%Tools%\%OSArch%\
Echo,"%WimTools% unmount Wim files (BootSRC) return : %ExitCode%"
//-
Echo,"UnMounting Wim files (InstallSRC) with %WimTools% ..."
If,ExistDir,%InstallSRC%\Windows,ShellExecute,Hide,%WIMUTIL%,"/unmount #$q%InstallSRC%#$q %ShowWimUtil% /nowarn",%Tools%\%OSArch%\
Echo,"%WimTools% unmount Wim files (InstallSRC) return : %ExitCode%"
End
// Check that the image is well unmounted (some issues encountered sometimes with wimmount driver, who locked the folder)
Run,%scriptfile%,CheckUnMountInstallWim
Run,%scriptfile%,CheckUnMountBootWim

[CheckUnMountInstallWim]
If,ExistDir,%InstallSRC%,Begin
Retrieve,FolderSize,%InstallSRC%,%ISRCsizeFolder%
If,%ISRCsizeFolder%,Equal,0,Begin
If,ExistDir,%InstallSRC%,Shellexecute,Hide,cmd.exe,"/C rd /s /q #$q%InstallSRC%#$q"
If,ExistDir,%InstallSRC%,Message,"%InstallSRC% Folder can not be deleted !!!#$x#$xExiting...",Error
If,ExistDir,%InstallSRC%,Halt,"%InstallSRC% Folder can not be deleted. Exiting..."
DirMake,%InstallSRC%
End
Else,Begin
Message,"%InstallSRC% Can not be Unmounted or there are files in folder !!!#$x#$xExiting...",Error
Halt,"%InstallSRC% Can not be Unmounted or there are files in folder. Exiting..."
End
End

[CheckUnMountBootWim]
If,ExistDir,%BootSRC%,Begin
Retrieve,FolderSize,%BootSRC%,%BSRCsizeFolder%
If,%BSRCsizeFolder%,Equal,0,Begin
If,ExistDir,%BootSRC%,Shellexecute,Hide,cmd.exe,"/C rd /s /q #$q%BootSRC%#$q"
If,ExistDir,%BootSRC%,Message,"%BootSRC% Folder can not be deleted !!!#$x#$xExiting...",Error
If,ExistDir,%BootSRC%,Halt,"%BootSRC% Folder can not be deleted. Exiting..."
DirMake,%BootSRC%
End
Else,Begin
Message,"%BootSRC% Can not be Unmounted or there are files in folder !!!#$x#$xExiting...",Error
Halt,"%BootSRC% Can not be Unmounted or there are files in folder. Exiting..."
End
End

[PackBoot]
Echo,"Preparing boot.wim, Be patient..."
If,Not,%TargetImage%,Equal,%TargetDir%,Begin
If,ExistDir,%TargetImage%,Echo,"Deleting [%TargetImage%]"
If,ExistDir,%TargetImage%,Shellexecute,Hide,cmd.exe,"/C rd /s /q #$q%TargetImage%#$q"
If,ExistDir,%TargetImage%,Call,DirDelete,%TargetImage%
If,ExistDir,%TargetImage%,Call,Echo,"%TargetImage% could not be deleted!",Warn
If,ExistDir,%TargetImage%,Message,"%TargetImage% could not be deleted!",Error
If,ExistDir,%TargetImage%,Halt,"%TargetImage% could not be deleted!"
End
//-
DirMake,%BootTMP%
// Set the NTFS permissions on BootTMP to Full Control to everyone - it should allows to avoid the black screen at startup
ShellExecute,Hide,%Tools%\%OSArch%\SetAcl.exe," -ot #$qfile#$q -on #$q%BootTMP%#$q -actn ace -actn setprot  -op #$qdacl:p_nc#$q  -ace #$qn:S-1-1-0;p:full;s:y#$q"
If,Not,%ExitCode%,Equal,0,Call,Echo,"SetAcl - NTFS permission on BootTMP FAIL -> Black Screen on boot",Warn
//History 13
If,ExistDir,"%targetdir%\Program Files (x86)",Run,%ScriptFile%,SHDirMove_x3,"%targetdir%\Program Files (x86)",%BootTMP%
If,Not,ExistDir,"%targetdir%\Program Files",DirMake,"%targetdir%\Program Files"
Run,%ScriptFile%,SHDirMove_x3,"%targetdir%\Program Files",%BootTMP%
Run,%ScriptFile%,SHDirMove_x3,%targetdir%\ProgramData,%BootTMP%
If,ExistDir,%targetdir%\sources,Run,%ScriptFile%,SHDirMove_x3,%targetdir%\sources,%BootTMP%
Run,%ScriptFile%,SHDirMove_x3,%targetdir%\Users,%BootTMP%
Run,%ScriptFile%,SHDirMove_x3,%targetdir%\Windows,%BootTMP%
//--
// If the other directory for files exists (and isn't empty), then lets copy it over to the build area.
If,%IncludeinWimRoot_CheckBox%,Equal,True,Begin
If,Not,ExistDir,%RootRAMFolder%,DirMake,%RootRAMFolder%
Retrieve,FolderSize,%RootRAMFolder%,%RootRAMFolderSize%
If,Not,%RootRAMFolderSize%,Equal,0,Begin
Echo,"Copying Additional files to CD Root... Please Wait.."
//FileCopy * have unicode bug - workaround with DirCopy * bug
//DirCopy,%RootRAMFolder%\*,%BootTMP%
Shellexecute,hide,xcopy.exe,"#$q%RootRAMFolder%\*.*#$q #$q%BootTMP%\#$q /i /s /e /r /v /k /f /c /h /y"
If,Not,%ExitCode%,Equal,0,Call,Echo,"XCOPY - A problem occurred while copying Additional files to CD Root",Warn,,MessageError,,Halt
End
End
//--
////add 14.12.2007 for RIS booting
FileCopy,%targetdir%\bootmgr,%BootTMP%\bootmgr
If,Not,ExistDir,%TargetImage%\sources,DirMake,%TargetImage%\sources
//--
If,%pScrollB_WimTools%,Equal,Wimlib,Begin
If,ExistFile,%Tools%\x86\wimlib\wimlib-imagex.exe,Set,%WimlibImagex%,%Tools%\x86\wimlib\wimlib-imagex.exe
If,ExistFile,%Tools%\%OSArch%\wimlib\wimlib-imagex.exe,Set,%WimlibImagex%,%Tools%\%OSArch%\wimlib\wimlib-imagex.exe
If,Not,ExistFile,%WimlibImagex%,Set,%pScrollB_WimTools%,"Defined in Images configuration"
Else,Begin
Echo,"Packing boot.wim with WimLib, Be patient..."
If,%pCompressionGroup%,Equal,0,ShellExecute,%ShowWimlib%,%WimlibImagex%,"capture #$q%BootTMP%#$q #$q%TargetImage%\sources\boot.wim#$q #$q%ImageName%_%SourceArch%#$q #$q%ImageName%_%SourceArch%#$q --boot --flags=9 --compress=XPRESS --verbose"
If,%pCompressionGroup%,Equal,1,ShellExecute,%ShowWimlib%,%WimlibImagex%,"capture #$q%BootTMP%#$q #$q%TargetImage%\sources\boot.wim#$q #$q%ImageName%_%SourceArch%#$q #$q%ImageName%_%SourceArch%#$q --boot --flags=9 --compress=LZX --verbose"
Echo,"Wimlib Packing boot.wim return : %ExitCode%"
If,Not,%ExitCode%,Equal,0,Run,%scriptfile%,ErrorPack,boot.wim
End
End
If,Not,%pScrollB_WimTools%,Equal,Wimlib,Begin
Echo,"Packing boot.wim with %WimTools%, Be patient..."
If,%WimTools%,Equal,ImageX,Begin
If,%pCompressionGroup%,Equal,0,ShellExecute,%ShowImageX%,%IMAGEX%,"/capture #$q%BootTMP%#$q #$q%TargetImage%\sources\boot.wim#$q #$q%ImageName%_%SourceArch%#$q #$q%ImageName%_%SourceArch%#$q /boot /flags #$q9#$q"
If,%pCompressionGroup%,Equal,1,ShellExecute,%ShowImageX%,%IMAGEX%,"/capture #$q%BootTMP%#$q #$q%TargetImage%\sources\boot.wim#$q #$q%ImageName%_%SourceArch%#$q #$q%ImageName%_%SourceArch%#$q /boot /flags #$q9#$q /compress maximum"
Echo,"%WimTools% Packing boot.wim return : %ExitCode%"
If,Not,%ExitCode%,Equal,0,Run,%scriptfile%,ErrorPack,boot.wim
End
If,%WimTools%,Equal,WimUtil,Begin
If,%pCompressionGroup%,Equal,0,ShellExecute,Hide,%WIMUTIL%,"/capture #$q%BootTMP%#$q #$q%TargetImage%\sources\boot.wim#$q #$q%ImageName%#$q /boot /xpress %ShowWimUtil%"
If,%pCompressionGroup%,Equal,1,ShellExecute,Hide,%WIMUTIL%,"/capture #$q%BootTMP%#$q #$q%TargetImage%\sources\boot.wim#$q #$q%ImageName%#$q /boot /lzx %ShowWimUtil%"
Echo,"%WimTools% Packing boot.wim return : %ExitCode%"
If,Not,%ExitCode%,Equal,0,Run,%scriptfile%,ErrorPack,boot.wim
End
End
//--
//-- If TargetImage selected, copy what remains in TargetDir to TargetImage and restore all folders of BootTMP to TargetDir
If,Not,%TargetImage%,Equal,%TargetDir%,Begin
Echo,"Copy the other folders in Target Image, Be patient..."
// 2aCD use xcopy rather than filecopy (dircopy to support unicode) to preserve attributes while copying the other folders
Shellexecute,hide,xcopy.exe,"#$q%TargetDir%\*.*#$q #$q%TargetImage%\#$q /i /s /e /r /v /k /f /c /h /y"
If,Not,%ExitCode%,Equal,0,Call,Echo,"XCOPY - A problem occurred while copying the other folders",Warn,,MessageError,,Halt
// Do not move back the files from RootRAMFolder (just included in boot.wim but not in %TargetDir%)
If,ExistDir,"%BootTMP%\Program Files (x86)",Run,%ScriptFile%,SHDirMove_x3,"%BootTMP%\Program Files (x86)",%TargetDir%
Run,%ScriptFile%,SHDirMove_x3,"%BootTMP%\Program Files",%TargetDir%
Run,%ScriptFile%,SHDirMove_x3,%BootTMP%\ProgramData,%TargetDir%
If,ExistDir,%BootTMP%\sources,Run,%ScriptFile%,SHDirMove_x3,%BootTMP%\sources,%TargetDir%
Run,%ScriptFile%,SHDirMove_x3,%BootTMP%\Users,%TargetDir%
Run,%ScriptFile%,SHDirMove_x3,%BootTMP%\Windows,%TargetDir%
End
DirDelete,%BootTMP%

[SHDirMove_x3]
If,Not,ExistFile,%ProjectTemp%\SHDirMove.exe,ExtractFile,%ScriptFile%,Folder,SHDirMove.exe,%ProjectTemp%
System,FILEREDIRECT,OFF
ShellExecute,Open,%ProjectTemp%\SHDirMove.exe,"#$q#1#$q #$q#2#$q"
Set,%DirMove_ExitCode%,%ExitCode%
System,FILEREDIRECT,ON
//-
If,Not,%DirMove_ExitCode%,Equal,0,Begin
StrFormat,HEX,%DirMove_ExitCode%,%HDirMove_ExitCode%
Message,"!!! Directory not Moved Warning 1/2 !!! #$x#$x#1 #$x#$xPossible cause:#$xThe action can't be completed because the Folder or a File in it is open in another program. #$xOr look at the Error Code: %DirMove_ExitCode% (0x%HDirMove_ExitCode%)#$x#$xClose the Folder or File and try again.",Warning
//-
System,FILEREDIRECT,OFF
ShellExecute,Open,%ProjectTemp%\SHDirMove.exe,"#$q#1#$q #$q#2#$q"
Set,%DirMove_ExitCode%,%ExitCode%
System,FILEREDIRECT,ON
//-
If,Not,%DirMove_ExitCode%,Equal,0,Begin
StrFormat,HEX,%DirMove_ExitCode%,%HDirMove_ExitCode%
Message,"!!! Directory still not Moved Warning 2/2 !!! #$x#$x#1 #$x#$xPossible cause:#$xThe action can't be completed because the Folder or a File in it is open in another program. #$xOr look at the Error Code: %DirMove_ExitCode% (0x%HDirMove_ExitCode%)#$x#$xClose the Folder or File and try again.",Warning
//-
System,FILEREDIRECT,OFF
ShellExecute,Open,%ProjectTemp%\SHDirMove.exe,"#$q#1#$q #$q#2#$q"
Set,%DirMove_ExitCode%,%ExitCode%
System,FILEREDIRECT,ON
//-
If,Not,%DirMove_ExitCode%,Equal,0,Begin
StrFormat,HEX,%DirMove_ExitCode%,%HDirMove_ExitCode%
//Message,"!!! Directory still not Moved Error!!! #$x#$x#1 #$x#$xPossible cause:#$xThe action can't be completed because the Folder or a File in it is open in another program. #$xOr look at the Error Code: %DirMove_ExitCode% (0x%HDirMove_ExitCode%)#$x#$xBuild will now halt.",Error
Message,"!!! Directory still not Moved Error!!! #$x#$x#1 #$x#$xPossible cause:#$xThe action can't be completed because the Folder or a File in it is open in another program. #$xOr look at the Error Code: %DirMove_ExitCode% (0x%HDirMove_ExitCode%)#$x#$xReason of some known Failures:#$x1) Files having very long path.#$x2) Antivirus Lock files during scan.#$x( Adding 'Project Folder' and 'Source Folder' to Exclusion list do not fix on some AV -  Totally Disable AV ) #$x#$xSolutions to known Failures:#$x1-1) Use Official MS Distribution. ( Updated - Beta etc. Contains very long paths - NOT Supported.)#$x1-2) Use short folder for project ex: D:\Oven#$x1-3) Use short folder for source ex: D:\S\Wx64#$x#$x#$x#$x#$x#$xBuild will now halt.",Error
// Try to restore previous moved BootTMP folders to TargetDir before halt
System,FILEREDIRECT,OFF
If,ExistDir,"%BootTMP%\Program Files (x86)",ShellExecute,Open,%ProjectTemp%\SHDirMove.exe,"#$q%BootTMP%\Program Files (x86)#$q #$q%TargetDir%#$q"
If,ExistDir,"%BootTMP%\Program Files",ShellExecute,Open,%ProjectTemp%\SHDirMove.exe,"#$q%BootTMP%\Program Files#$q #$q%TargetDir%#$q"
If,ExistDir,%BootTMP%\ProgramData,ShellExecute,Open,%ProjectTemp%\SHDirMove.exe,"#$q%BootTMP%\ProgramData#$q #$q%TargetDir%#$q"
If,ExistDir,%BootTMP%\sources,ShellExecute,Open,%ProjectTemp%\SHDirMove.exe,"#$q%BootTMP%\sources#$q #$q%TargetDir%#$q"
If,ExistDir,%BootTMP%\Users,ShellExecute,Open,%ProjectTemp%\SHDirMove.exe,"#$q%BootTMP%\Users#$q #$q%TargetDir%#$q"
If,ExistDir,%BootTMP%\Windows,ShellExecute,Open,%ProjectTemp%\SHDirMove.exe,"#$q%BootTMP%\Windows#$q #$q%TargetDir%#$q"
System,FILEREDIRECT,ON
//-
Call,Echo,"Directory #1 not Moved! Halt",Warn,,,,Halt
End
End
End

[NoPackBoot]
Echo,"Preparing boot directly from cd..."
ShellExecute,Hide,%BcdEditExe%,"/store #$q%TargetImage%\boot\bcd#$q /set {default} device boot",%Tools%\%OSArch%\
ShellExecute,Hide,%BcdEditExe%,"/store #$q%TargetImage%\boot\bcd#$q /set {default} osdevice boot",%Tools%\%OSArch%\

[PackPrograms]
If,Not,ExistDir,"%WinPE_Temp%\Program Files",Halt,"Folder %WinPE_Temp%\Program Files not found"
If,Not,ExistFile,"%WinPE_Temp%\Program Files\program.cd",FileCreateBlank,"%WinPE_Temp%\Program Files\program.cd"
//--
If,%pScrollB_WimTools%,Equal,Wimlib,Begin
If,ExistFile,%Tools%\x86\wimlib\wimlib-imagex.exe,Set,%WimlibImagex%,%Tools%\x86\wimlib\wimlib-imagex.exe
If,ExistFile,%Tools%\%OSArch%\wimlib\wimlib-imagex.exe,Set,%WimlibImagex%,%Tools%\%OSArch%\wimlib\wimlib-imagex.exe
If,Not,ExistFile,%WimlibImagex%,Set,%pScrollB_WimTools%,"Defined in Images configuration"
Else,Begin
Echo,"Packing programs.wim with Wimlib, Be patient..."
If,%pCompressionGroup%,Equal,0,ShellExecute,%ShowWimlib%,%WimlibImagex%,"capture #$q%WinPE_Temp%\Program Files#$q #$q%TargetImage%\programs.wim#$q #$q%ImageName%%#$q --boot --compress=XPRESS --verbose
If,%pCompressionGroup%,Equal,1,ShellExecute,%ShowWimlib%,%WimlibImagex%,"capture #$q%WinPE_Temp%\Program Files#$q #$q%TargetImage%\programs.wim#$q #$q%ImageName%#$q --boot --compress=LZX --verbose
Echo,"Wimlib Packing programs.wim return : %ExitCode%"
If,Not,%ExitCode%,Equal,0,Run,%scriptfile%,ErrorPack,programs.wim
End
End
If,Not,%pScrollB_WimTools%,Equal,Wimlib,Begin
Echo,"Packing programs.wim with %WimTools%, Be patient..."
If,%WimTools%,Equal,ImageX,Begin
If,%pCompressionGroup%,Equal,0,ShellExecute,%ShowImageX%,%IMAGEX%,"/capture #$q%WinPE_Temp%\Program Files#$q #$q%TargetImage%\programs.wim#$q #$q%ImageName%#$q /boot"
If,%pCompressionGroup%,Equal,1,ShellExecute,%ShowImageX%,%IMAGEX%,"/capture #$q%WinPE_Temp%\Program Files#$q #$q%TargetImage%\programs.wim#$q #$q%ImageName%#$q /boot /compress maximum"
Echo,"%WimTools% Packing programs.wim return : %ExitCode%"
If,Not,%ExitCode%,Equal,0,Run,%scriptfile%,ErrorPack,programs.wim
End
If,%WimTools%,Equal,WimUtil,Begin
If,%pCompressionGroup%,Equal,0,ShellExecute,Hide,%WIMUTIL%,"/capture #$q%WinPE_Temp%\Program Files#$q #$q%TargetImage%\programs.wim#$q #$q%ImageName%#$q /boot /xpress %ShowWimUtil%"
If,%pCompressionGroup%,Equal,1,ShellExecute,Hide,%WIMUTIL%,"/capture #$q%WinPE_Temp%\Program Files#$q #$q%TargetImage%\programs.wim#$q #$q%ImageName%#$q /boot /lzx %ShowWimUtil%"
Echo,"%WimTools% Packing programs.wim return : %ExitCode%"
If,Not,%ExitCode%,Equal,0,Run,%scriptfile%,ErrorPack,programs.wim
End
End
//--
DirDelete,"%WinPE_Temp%\Program Files"

[BcdMenu]
Echo,"Bcdedit /store bcd set {bootmgr} locale %DistLang%"
Set,%Win8Bcd%,Noo
If,%OS%,Equal,Win8,Set,%Win8Bcd%,Yes
If,%OS%,Equal,Win8.1,Set,%Win8Bcd%,Yes
If,%OS%,Equal,Win10,Set,%Win8Bcd%,Yes
// Set description only if Multi-Wim is not selected. Otherwise, the description is written in the latter
Set,%MultiWim_Selected%,False
If,ExistFile,%ProjectDir%\OtherOS\zMultiWim.script,IniRead,%ProjectDir%\OtherOS\zMultiWim.script,Main,Selected,%MultiWim_Selected%
//-
ShellExecute,Hide,%BcdEditExe%,"/store #$q%TargetDir%\Boot\bcd#$q /set {default} locale %DistLang%",%Tools%\%OSArch%\
If,Not,%MultiWim_Selected%,Equal,True,ShellExecute,Hide,%BcdEditExe%,"/store #$q%TargetDir%\Boot\bcd#$q /set {default} description #$q%ProjectName% %SourceArch%#$q",%Tools%\%OSArch%\
ShellExecute,Hide,%BcdEditExe%,"/store #$q%TargetDir%\Boot\bcd#$q /set {bootmgr} locale %DistLang%",%Tools%\%OSArch%\
ShellExecute,Hide,%BcdEditExe%,"/store #$q%TargetDir%\Boot\bcd#$q /set {memdiag} locale %DistLang%",%Tools%\%OSArch%\
ShellExecute,Hide,%BcdEditExe%,"/store #$q%TargetDir%\Boot\bcd#$q /set {bootmgr} timeout %tmout%",%Tools%\%OSArch%\
If,%Win8Bcd%,Equal,Yes,Begin
// Show progress bars "windows is loading"
ShellExecute,Hide,%BcdEditExe%,"/store #$q%TargetDir%\Boot\bcd#$q /set {default} bootmenupolicy legacy",%Tools%\%OSArch%\
End
//-
If,ExistFile,%TargetDir%\efi\microsoft\boot\bcd,Begin
ShellExecute,Hide,%BcdEditExe%,"/store #$q%TargetDir%\efi\microsoft\boot\bcd#$q /set {default} locale %DistLang%",%Tools%\%OSArch%\
If,Not,%MultiWim_Selected%,Equal,True,ShellExecute,Hide,%BcdEditExe%,"/store #$q%TargetDir%\efi\microsoft\boot\bcd#$q /set {default} description #$q%ProjectName% %SourceArch% UEFI#$q",%Tools%\%OSArch%\
ShellExecute,Hide,%BcdEditExe%,"/store #$q%TargetDir%\efi\microsoft\boot\bcd#$q /set {bootmgr} locale %DistLang%",%Tools%\%OSArch%\
ShellExecute,Hide,%BcdEditExe%,"/store #$q%TargetDir%\efi\microsoft\boot\bcd#$q /set {memdiag} locale %DistLang%",%Tools%\%OSArch%\
ShellExecute,Hide,%BcdEditExe%,"/store #$q%TargetDir%\efi\microsoft\Boot\bcd#$q /set {bootmgr} timeout %tmout%",%Tools%\%OSArch%\
If,%Win8Bcd%,Equal,Yes,Begin
// Show progress bars "windows is loading"
ShellExecute,Hide,%BcdEditExe%,"/store #$q%TargetDir%\efi\microsoft\boot\bcd#$q /set {default} bootmenupolicy legacy",%Tools%\%OSArch%\
End
End

[CleanRecentProgram]
// Recent Program with Administrator in link does not work for now
RegHiveLoad,Tmp_Default,%RegDefault%
If,ExistRegSection,HKLM,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist,Begin
If,Not,ExistDir,%ProjectTemp%\RecentProgram,DirMake,%ProjectTemp%\RecentProgram
// Save RecentProgram.reg
ShellExecute,hide,%RegeditexeFolder%regedit.exe,"/e #$q%Target_Sys%\RecentProgram.reg#$q #$qHKEY_LOCAL_MACHINE\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{F4E57C4B-2036-45F0-A9AB-443BCFE33D9F}\Count#$q"
//RegDelete,HKLM,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist
If,ExistFile,%Target_Sys%\RecentProgram.reg,Begin
// Save Tmp_RecentProgram.reg
If,ExistFile,%ProjectTemp%\RecentProgram\Tmp_RecentProgram.reg,Call,FileDelete,%ProjectTemp%\RecentProgram\Tmp_RecentProgram.reg
FileCopy,%Target_Sys%\RecentProgram.reg,%ProjectTemp%\RecentProgram\Tmp_RecentProgram.reg
//-
// Convert [HKEY_LOCAL_MACHINE\Tmp_Default to [HKEY_CURRENT_USER
Set,%w%,%ProjectTemp%\RecentProgram\Convert.au3
If,ExistFile,%w%,Call,FileDelete,%w%
FileCreateBlank,%w%
TxtAddLine,%w%,"Opt(#$qTrayIconHide#$q, 1)",Append
TxtAddLine,%w%,"Local $file=$cmdline[1]",Append
TxtAddLine,%w%,"Local $regrep=FileRead($file)",Append
TxtAddLine,%w%,"$regrep=StringReplace($regrep,#$q[HKEY_LOCAL_MACHINE\Tmp_Default#$q,#$q[HKEY_CURRENT_USER#$q)",Append
TxtAddLine,%w%,"FileDelete($file)",Append
TxtAddLine,%w%,"FileWriteLine($file,$regrep)",Append
ShellExecute,Open,%Tools%\x86\AU3381.exe,"#$q%w%#$q #$q%Target_Sys%\RecentProgram.reg#$q"
//AddAutoRun,RecentProgram,%SystemRoot%\regedit.exe,"/s %SystemRoot%\system32\RecentProgram.reg",3
End
//-
// Remove RecentProgram not based on StartMenu that does not work: {N77S5Q77-2R2O-44P3-N6N2-NON601054N51} rot13
Set,%w%,%ProjectTemp%\RecentProgram\RecentStartMenuOnly.au3
If,ExistFile,%w%,Call,FileDelete,%w%
FileCreateBlank,%w%
TxtAddLine,%w%,"Opt(#$qTrayIconHide#$q, 1)",Append
TxtAddLine,%w%,"For $i=1 to 99",Append
TxtAddLine,%w%,"	Local $RProt13=RegEnumVal(#$qHKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{F4E57C4B-2036-45F0-A9AB-443BCFE33D9F}\Count#$q, $i)",Append
TxtAddLine,%w%,"	If @error <> 0 then ExitLoop",Append
TxtAddLine,%w%,"	Local $Pos=StringInStr($RProt13, #$q{N77S5Q77-2R2O-44P3-N6N2-NON601054N51}#$q)",Append
TxtAddLine,%w%,"	If $Pos <> 1 then",Append
TxtAddLine,%w%,"		RegDelete (#$qHKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{F4E57C4B-2036-45F0-A9AB-443BCFE33D9F}\Count\#$q, $RProt13)",Append
TxtAddLine,%w%,"		$i-=1",Append
TxtAddLine,%w%,"	EndIf",Append
TxtAddLine,%w%,"Next",Append
ShellExecute,Open,%Tools%\x86\AU3381.exe,"#$q%w%#$q"
End
RegHiveUnLoad,Tmp_Default

[ErrorPack]
If,%WimTools%,Equal,WimUtil,Begin
Call,HostTempDir
If,ExistFile,%HostTempDir%\WimUtil.log,Begin
If,Not,ExistDir,%ProjectTemp%\SupportLog_AddFiles,DirMake,%ProjectTemp%\SupportLog_AddFiles
FileCopy,%HostTempDir%\WimUtil.log,%ProjectTemp%\SupportLog_AddFiles
End
End
//
Message,"A problem occurred to Pack #1 with %WimTools% return Code : %ExitCode% !!!#$x#$xExiting..."
Halt,"A problem occurred to Pack  #1 with %WimTools% return Code : %ExitCode%. Exiting..."

[EchoWarn10]
Echo,#1,Warn
Echo,#1,Warn
Echo,#1,Warn
Echo,#1,Warn
Echo,#1,Warn
Echo,#1,Warn
Echo,#1,Warn
Echo,#1,Warn
Echo,#1,Warn
Echo,#1,Warn

[TargetImage_Choice]
System,CURSOR,Wait
If,%TargetImage_CheckBox%,Equal,True,Begin
Visible,%TargetImage_Button%,True,PERMANENT
Visible,%TargetImageISO_Button%,True,PERMANENT
Visible,%E_Bevel%,True,PERMANENT
Visible,%E_TargetImage_Button%,True,PERMANENT
Visible,%E_TargetImageISO_Button1%,True,PERMANENT
Visible,%E_ScrollBox%,True,PERMANENT
Visible,%E_Button1%,True,PERMANENT
End
Else,Begin
Visible,%TargetImage_Button%,False,PERMANENT
Visible,%TargetImageISO_Button%,False,PERMANENT
Visible,%E_Bevel%,False,PERMANENT
Visible,%E_TargetImage_Button%,False,PERMANENT
Visible,%E_TargetImageISO_Button1%,False,PERMANENT
Visible,%E_ScrollBox%,False,PERMANENT
Visible,%E_Button1%,False,PERMANENT
End
System,RefreshInterface
System,CURSOR,Normal

[OpenRootRAMFolder]
Call,OpenDir,%RootRAMFolder%

[temp]
pCheckBox2="Pack program.wim (request ramdisk and wim plugins)",1,3,12,60,273,18,False

[Interface]
pBevel1=pBevel1,1,12,0,95,541,170
pCompressionGroup=Compression,1,14,196,15,82,67,normal,maximum,0
pTextL_WimTools="Wim Tools",1,1,6,28,60,18,8,Normal
pScrollB_WimTools=Wimlib,1,4,4,42,182,21,Wimlib,"Defined in Images configuration"
TargetImage_CheckBox="Build in Target Image folder",1,3,4,101,191,18,True,_TargetImage_Choice_,True
TargetImage_Button="       Create new Target Image      ",1,8,4,133,201,30,Process,Target.bmp,False,_Process_,False
TargetImageISO_Button=" Create new Target Image and ISO",1,8,4,167,201,30,ProcessImageISO,CreateISO.bmp,False,_ProcessImageISO_,False
IncludeinWimRoot_Bevel=pBevel6,1,12,287,1,215,57
IncludeinWimRoot_CheckBox=" Include files in boot.wim Root (Ram)",1,3,297,4,204,16,False
OpenRootWimFolder_Button="Put Files for boot.wim Root Here",1,8,294,19,204,34,OpenRootRAMFolder,CD_16x16.bmp,True,False,_OpenRootRAMFolder_,True
TargetImage_TextFile=TargetImage.txt,1,6,267,99,268,133
E_Bevel=pBevel1,1,12,4,220,208,39
E_TargetImage_Button=,1,8,7,227,28,25,Em_Process,Target.bmp,False,_Em_Process_,False,"__Create new Target Image and Start Emulator"
E_TargetImageISO_Button1=,1,8,36,227,35,25,Em_ProcessImageISO,CreateISO.bmp,False,_Em_ProcessImageISO_,False,"__Create new Target Image and ISO and Start Emulator"
E_ScrollBox="Best Emulation",1,4,74,229,108,21,"Best Emulation",VMWare,VirtualBox,VirtualPC,qEmuX,qEmu
E_Button1=Em,1,8,185,227,25,25,Em_ScrollBox,0,False,False,_Em_ScrollBox_,False,"__Start Emulator"
Button_Info="More Info",1,8,463,235,71,26,Open_Information,Exclamation.bmp,False,False,_Open_Information_,False,__Information
WebLabel_Plugin="Plugin Page",1,10,223,0,55,18,http://TheOven.org/index.php?board=9
Button_Download=,1,8,517,21,24,24,DownloadXXX,DoubleJDesignRavenna3dArrowDown0016016.bmp,False,False,_DownloadXXX_,False,"__DOWNLOAD Plugin"
Button_Upload=,1,8,517,-1,24,24,UploadXXX,BokehliciaCaptivaSoftwareupload0016016.bmp,False,False,_UploadXXX_,False,"__UPLOAD Plugin (Admins Only)"
Button_CompareEdit=,1,8,517,50,24,24,CompareEditXXX,AmperossQetto2Move0016016.bmp,False,False,_CompareEditXXX_,False,"__DOWNLOAD and Compare with an Editor"
Del_Desktop_Desktopini_CheckBox="Delete Desktop\Desktop.ini",1,3,297,61,169,18,True
Optimizations_Bevel=pBevel2,1,12,287,59,215,23

[Open_Information]
If,Not,ExistDir,%ProjectTemp%,DirMake,%ProjectTemp%
ExtractFile,%ScriptFile%,Folder,TargetImage_ChrisR.txt,%ProjectTemp%
Call,StartDoc,%ProjectTemp%\TargetImage_ChrisR.txt

[Em_Process]
Run,%ScriptFile%,Process
Run,%ScriptFile%,Em_ScrollBox

[Em_ProcessImageISO]
Run,%ScriptFile%,ProcessImageISO
Run,%ScriptFile%,Em_ScrollBox

[Em_ScrollBox]
If,%E_ScrollBox%,Equal,"Best Emulation",Begin
If,ExistFile,%ProjectDir%\VirtualTest\AA_Best_Emulation.script,Exec,%ProjectDir%\VirtualTest\AA_Best_Emulation.script,Process
End
If,%E_ScrollBox%,Equal,qEmu,Begin
If,ExistFile,%ProjectDir%\VirtualTest\qEmu.script,Exec,%ProjectDir%\VirtualTest\qEmu.script,Process
End
If,%E_ScrollBox%,Equal,qEmuX,Begin
If,ExistFile,%ProjectDir%\VirtualTest\qEmu_X.Script,Exec,%ProjectDir%\VirtualTest\qEmu_X.Script,Process
End
If,%E_ScrollBox%,Equal,VirtualBox,Begin
If,ExistFile,%ProjectDir%\VirtualTest\VirtualBox.script,Exec,%ProjectDir%\VirtualTest\VirtualBox.script,Process
End
If,%E_ScrollBox%,Equal,VirtualPC,Begin
If,ExistFile,%ProjectDir%\VirtualTest\VirtualPC.script,Exec,%ProjectDir%\VirtualTest\VirtualPC.script,Process
End
If,%E_ScrollBox%,Equal,VMWare,Begin
If,ExistFile,%ProjectDir%\VirtualTest\VMWare.script,Exec,%ProjectDir%\VirtualTest\VMWare.script,Process
End

[History_OLD]
History013=JFX - Added Program Files (x86) to capture if they exist
History014=ChrisR - set locale lang with bcdedit
History016=ChrisR - Mount/capture with WimUtil in addition if configured
History018=ChrisR - Using bcdedit.exe (x86) on a x64 HostOS works, thanks Lancelot X 2
History019=Lancelot IniVariables support added
History020=Lancelot Unmount after bcdedit.exe check
History021=Lancelot added new IniVariables
History022=ChrisR - message-halt if A problem Occurred to Capture boot.wim or programs.wim
History024=Lancelot SupportLog_Execute.script,Prepack added to the very begining of [Process]
History025=ChrisR - Write IsoName in Internal ini file MountPEmedia.ini. ISO boot, at startup MountPEmediaIso.exe checks if imdisk exist, if yes and if Iso filename (set in in MountPEmedia.ini) is available on CD-USB drives, it will mount it on drive Y. Same in External Ini file Win7(8)PESE.ini (see PostConfig Plugin). Thank you for the shared idea Lancelot.
History049=Macro Library updated v049

[AuthorEncoded]
PostConfig.jpg=2506,3342
Logo=PostConfig.jpg

[EncodedFile-AuthorEncoded-PostConfig.jpg]
lines=0
0=eJydk3s80/sfx7/fzezCkrvhpKJO7pkm9yWpcFwTiegQkuJILmUsxCJdWDiIYm5TmtjcGXI5khwiNTFDF0q2nLSO2X7T45zz++f3x+/3e30+78/n9Xh8bu/n4/34iF6KZoDNDgftDwIgCAInxQ0QcYDTdnGhwQDg5AToAACAACRAVQAmdqA4rEG1f/xBcBcA/e7FI2gEQMReVhzOwHeRKQAAff/37PpzaPgFA2c7j60xxgY4A1PxS5OALQABwY3+l6Aw6IYkJSSgMLgkHL4RCKQUEoFAIeBwFBqFkpIWC47cJIOW3rThNy7ZOL5xStylEXCE9P8sUScgiwDMAXMouB2AyIJQWVDUA2iIoWDgdwF/CYRAJWCS4pRQUuINjM3i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6+DdX/fmhcxjWCX8OOyna21+teMWGUVQIhe6gWDXRCobqctLDJofoDQvv/tSQ6mk2+VFepSWH7DZu4BT/qYxWfUKmm8giC1EcivAFm+toZctJo3JEgOwxgcP4HhX6JLXAtNAldxar8ER9oA2OUEluhvGeGR8n1k4IFFo5pE6ZV4WdHZI8vyTaorLfD9yPqrh53sLqCvq3nkdX8g+CC9nwUeZPjOWXaxytlSldgT7/wiLmMprTul0S2S+ofyADTey/i2A7hcp0D5N22miDN9MeNIJJ7MGKdzr05orlCCeiTBvvTY93G7Xab9TE5ZtGGNGIoxorUJ6YuZF3TmH3aWtchmkTquBoCy9TOlEE0NoJUBEAQ4iA5EeCsHWqUGf6GMF07AsRQbBktCTRW6W8NZMXF0qCopvy59ZnArdObzaTYly6hRQmtWmsKQnUSY8vxVd2R6SdXj6nZmyY+tEmwPXU3anoh3OPmXDBDg5C85o9t5G0p6nEguLoZKKiKFOFoii+pz4rc3eevvoVK3COcrsfsJUm/l5kwXzipsQePIO5JALmiBoCy7zDKX0detyvpOUsmr5hQFQIMazZ81hQEWUwOR+cutPXr+OluEasJHjyej/dlRglGI3pz+fiYtIZ951GsrEeK2MXaIdK6Y9Pltvhp/fGEvlh09Ok1rw3ObWLfqOtZHLHgGF2bN3n9izRq38BpGanLnic4wvILy5xzs9Ly0zXyypIZxgFIwuYcUHoGk7s8pv7p15mYAIAwSMI656sdK8BAAAAAgAAACoAAAB8CQAAAAAAAAEAAAAAAAAAAAAAAA

[InterfaceEncoded]
CD_16x16.bmp=669,892
CreateISO.bmp=1403,1871
Target.bmp=1043,1391
TargetImage.txt=302,403
Exclamation.bmp=452,603
DoubleJDesignRavenna3dArrowDown0016016.bmp=622,830
BokehliciaCaptivaSoftwareupload0016016.bmp=676,902
AmperossQetto2Move0016016.bmp=893,1191

[DownloadXXX]
Call,DownloadXQ

[UploadXXX]
Call,UploadXMultiQ,,%ProjectDir%\Utils\WebRoots_SE.Script||WebRoot

[EncodedFile-InterfaceEncoded-Double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CYAgGzB5MpStEo8DltawMiI0K9Go0pfn3z3LtzaImPhLeXbQuWPjkQiYbfbHQ4Hsg8c7VdOfRhyzfv94fv3pe5uGAgAWkUW9/lgV5eEDBAKpXgyBX+rz+a/wXydj6Ace0uur+B2/w0GdycmqPZ22ukUAVDgnq/RIi6X0NkpIgP4/ZAk+cCy29mjXdBrCec8RWW2t+HICNBomKkpkuMkNAIPciRJ0OsF/f0Q/fnmTYgiMzi4PjSEj49Tvb2wvh729ECXS+K4gxzh6svcKooSiUCLRbp1S750SSwr20WoqhJu3IAYxofDAELlJRmo/wHSmAy0eJzjCkksSk8t0UvKLWAYBSMPqLFA6JPM2OWvP0p6wMAEAGgNB9LM/W74AQAAAAIAAAAmAAAAyQMAAAAAAAABAAAAAAAAAAAAAAA

[EncodedFile-InterfaceEncoded-TargetImage.txt]
lines=0
0=eJxVkEFOw0AMRfdI3OHvQqXSA7BrUEFZoFa0F3AyTjLqZIxmHIXcnpkJC1hZst//3/bJU+sY3cjdvZVvVPVsnYH1uFEYWNFMNDB6cYZD9fiAD7ozVpkD2kI+1XZA7WbGxdGKelYVv0vg8e12+tygfSq5HSFfHEiteHL7xKDpsxfIGHheoKP1Q8RidcxTPOM6kXN4D8z+b8Dv9GhMEqC3jiNYu0ORQnTkgIXWmLnqNTApl4B/R5E3aK7nqphtGyZ9istIXisrDjZKAYq1zAonEnOq2omhgsDbJ152PxgfbHp4nOMPSSxKTy3xzE1MT9UrqShhGAUjCvgyQugHOOT5ZdZeZWACAK3ECMXFcAZQAQAAAAIAAAAqAAAA4AAAAAAAAAABAAAAAAAAAAAAAAA

[EncodedFolders]
Folder
InterfaceEncoded

[Folder]
TargetImage_ChrisR.txt=338,451
SHDirMove.exe=6741,8988

[EncodedFile-Folder-TargetImage_ChrisR.txt]
lines=0
0=eJw1kDtuwzAQRHsDusO0AQQfwF2KFGmSIDbgei2upUX4kcmlBeX0WcoOQIDFfPiGZ9EJOklBmlVSPHS708Q4Szy+ARJoZJg4ZCZlB4kgRF5wTd5x3qPZTV/Ee/wwz9bFOFEeWZ8e1KipDhO7fbfrdq/uTlGt9vlSCWTRMTNHXKpqirDz5esosSBzoHaTX2htjJypYZK3so+EOaeL59Ai7EQljpjkzsXUb7biFbXwtXrfY00VAxm/c/1m7jHUoinIL2/UulFb8ihhtmTmx+pNbJsfhuenUHR4LwmHl7bqM1rASaH/dT1EreFWJXNBSNmWzjRwI52c2/8BKNqBxHicEwtJLEpPLfHMTUxPjXfOKMosDtIrqShhGAUjA1QwQui/OOSrtr0SY2ACAFFVDEHHr/MWAQAAAAIAAAAxAAAA/QAAAAAAAAABAAAAAAAAAAAAAAA

[EncodedFile-Folder-SHDirMove.exe]
lines=2
[encoded data, 8994 characters]

