[Main]
Title=Main Configuration
Type=Plugin
Author=NightMan, yahooUK, JFX, ChrisR
Description=(Win7PESE) Win7PE SE Main Configuration Editor
Credits=http://TheOven.org
Version=060
Download_Level=0
Level=1
Selected=True
Mandatory=True
NoWarning=False
Contact=http://TheOven.org
Date=2017.11.22
Depend=
Disable=
Web1=http://w7pese.cwcodes.net/Projects/Win7PESE/config.script
CertifiedBy=
Certification=
HistoryNotes01=WARNING Iso plugin "Create ISO" call the config plugin section [CommonSettings] to reset Boot Manager, etc.
History045=ChrisR - The old history is stored in the section [History-Old]
History046=ChrisR - Harmonization Win7 Win8PESE Win8.1SE
History047=ChrisR - We now use Win 8 ADK tools, faster than Win7 ADK
History048=ChrisR - Korean Format by ied206
History049=ied206 - Korean locale
History051=ChrisR - Init variable EFI boot menu. Removed wpeinit run mode from interface
History052=JFX - Added Hidden feature ("Main Configuration" + "PreConfig") Reason behind, I'm playing with different wimmount and wofadk drivers and everytime I build a project they get set to ADK 5 one.  -> IniWrite,%ProjectDir%\script.project,IniVariables,InstallWimSYSMount,1 + IniRead,%ProjectDir%\script.project,IniVariables,InstallWimSYSMount,%t% ....
History053=Lancelot - Fixed IniVariables,OS
History054=ChrisR - Multi Fallback Languages support - Date:2016.11.23
History055a=Lancelot - Added Protection to Clear Temp button [Clean_Temp_Files] - KYHI Reply 18 - http://theoven.org/index.php?topic=1472.msg17402#msg17402
History055b=Lancelot Call,DirDeleteE,%ProjectTemp% // Call,DirDeleteE,%BaseDir%\Temp\Macro_Library
History055c=Lancelot Added NoPluginCache option
History055=Lancelot Enable SupportLog --> Disable All PluginCache ;) - Date:2017.01.31
History057=Lancelot Add UnBlock_Tools to avoid Tools (ex: %Tools%\7z.exe) get blocked during build x2 - Date:2017.09.19
History058=Lancelot Fixed typo - Thanks to ied206 PEBakery Auto Syntax Checking Reply 3 http://TheOven.org/index.php?topic=2271.msg24582#msg24582 - Date:2017.11.08
History059=Lancelot - Fixed Halt can have [0] ~ [1] arguments - Thanks to ied206 PEBakery Auto Syntax Checking Reply 3 http://TheOven.org/index.php?topic=2271.msg24582#msg24582 - Date:2017.11.11
History060=Lancelot %ISODir% deprecated - Date:2017.11.22

[Interface]
pTextLabel1=" Win7PE SE Main Configuration",1,1,50,12,170,18,8,Bold
pTextL_Build="Build model",1,1,8,41,89,18,8,Normal
pScrollB_Build="In RAM (boot.wim)",1,4,102,38,150,21,Normal,"In RAM (boot.wim)",_BuildModel_Choice_,True
pTextL_Screen="Screen Resolution",1,1,8,68,89,18,8,Normal
pScrollB_Screen="1024x768x  (4:3)",1,4,102,65,150,21,"800x600x  (4:3)","1024x768x  (4:3)","1280x800x  (16:10)","1280x1024x  (5:4)","1366x768x  (16:9)","1440x900x  (16:10)","1600x900x  (16:9)","1680x1050x  (16:10)","1920x1080x  (16:9)"
pTextL_Boot="Boot Manager",1,1,8,100,80,18,8,Normal
pScrollB_Boot="Grub4Dos (recomended)",1,4,102,97,150,21,"Grub4Dos (recomended)",IsoLinux,BCDW,Standard,Auto,_BootMgr_Choice_,True
pTextL_Skin="Boot Manager skin",1,1,8,127,89,18,8,Normal
pScrollB_SkinG=GFX-BootMenu,1,4,102,124,150,21,Text,GFX-BootMenu,Face,Gentleblue,Zion,SunRise,SunSet
pScrollB_SkinI=SunRise,0,4,102,124,150,21,Text,Face,Gentleblue,Zion,SunRise,SunSet
LaunchGFXboot_button=GFX-Boot,1,8,257,123,78,23,LaunchGFXboot,BLogo.bmp,False,_LaunchGFXboot_,False,"__Launch GFX boot customizer"
pTextL_Locale="System Locale",1,1,8,159,89,18,8,Normal
pScrollB_Locale="Import HostOS",1,4,102,156,150,21,"Import HostOS",Auto,"Belgian French",French,German,Greek,Hebrew,Hungarian,Italian,Korean,Portuguese,Russian,Spanish,Swedish,Turkish,"UK English"
Locale_Info_Button=,1,8,257,156,22,22,Locale_Info,Exclamation.bmp,False,_Locale_Info_,False
pTextL_Format=Format,1,1,8,186,89,18,8,Normal
pScroll_Format="Import HostOS",1,4,102,183,150,21,"Import HostOS",Auto,"Belgian French",French,German,Greek,Hebrew,Hungarian,Italian,Korean,Portuguese,Russian,Spanish,Swedish,Turkish,"UK English"
pTextL_KeyBoard=KeyBoard,1,1,8,213,89,18,8,Normal
pScroll_KeyBoard="Import HostOS",1,4,102,210,150,21,"Import HostOS",Auto,"Belgian French",French,German,Greek,Hebrew,Hungarian,Italian,Portuguese,Russian,Spanish,Swedish,Turkish,"UK English"
KeyBoard_Info_Button=,1,8,257,210,22,22,KeyBoard_Info,Exclamation.bmp,False,_KeyBoard_Info_,False
pTextL_TimeZone=TimeZone,1,1,8,240,89,18,8,Normal
pScroll_TimeZone="Import HostOS",1,4,102,237,350,21,"Import HostOS",Auto,"(UTC-12:00) International Date Line West","(UTC-11:00) Coordinated Universal Time-11","(UTC-11:00) Samoa","(UTC-10:00) Hawaii","(UTC-09:00) Alaska","(UTC-08:00) Baja California","(UTC-08:00) Pacific Time (US & Canada)","(UTC-07:00) Arizona","(UTC-07:00) Chihuahua, La Paz, Mazatlan","(UTC-07:00) Mountain Time (US & Canada)","(UTC-06:00) Central America","(UTC-06:00) Central Time (US & Canada)","(UTC-06:00) Guadalajara, Mexico City, Monterrey","(UTC-06:00) Saskatchewan","(UTC-05:00) Bogota, Lima, Quito","(UTC-05:00) Eastern Time (US & Canada)","(UTC-05:00) Indiana (East)","(UTC-04:30) Caracas","(UTC-04:00) Asuncion","(UTC-04:00) Atlantic Time (Canada)","(UTC-04:00) Cuiaba","(UTC-04:00) Georgetown, La Paz, Manaus, San Juan","(UTC-04:00) Santiago","(UTC-03:30) Newfoundland","(UTC-03:00) Brasilia","(UTC-03:00) Buenos Aires","(UTC-03:00) Cayenne, Fortaleza","(UTC-03:00) Greenland","(UTC-03:00) Montevideo","(UTC-02:00) Coordinated Universal Time-02","(UTC-02:00) Mid-Atlantic","(UTC-01:00) Azores","(UTC-01:00) Cape Verde Is.","(UTC) Casablanca","(UTC) Coordinated Universal Time","(UTC) Dublin, Edinburgh, Lisbon, London","(UTC) Monrovia, Reykjavik","(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna","(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague","(UTC+01:00) Brussels, Copenhagen, Madrid, Paris","(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb","(UTC+01:00) West Central Africa","(UTC+01:00) Windhoek","(UTC+02:00) Amman","(UTC+02:00) Athens, Bucharest, Istanbul","(UTC+02:00) Beirut","(UTC+02:00) Cairo","(UTC+02:00) Damascus","(UTC+02:00) Harare, Pretoria","(UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius","(UTC+02:00) Jerusalem","(UTC+02:00) Minsk","(UTC+03:00) Baghdad","(UTC+03:00) Kuwait, Riyadh","(UTC+03:00) Moscow, St. Petersburg, Volgograd","(UTC+03:00) Nairobi","(UTC+03:30) Tehran","(UTC+04:00) Abu Dhabi, Muscat","(UTC+04:00) Baku","(UTC+04:00) Port Louis","(UTC+04:00) Tbilisi","(UTC+04:00) Yerevan","(UTC+04:30) Kabul","(UTC+05:00) Ekaterinburg","(UTC+05:00) Islamabad, Karachi","(UTC+05:00) Tashkent","(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi","(UTC+05:30) Sri Jayawardenepura","(UTC+05:45) Kathmandu","(UTC+06:00) Astana","(UTC+06:00) Dhaka","(UTC+06:00) Novosibirsk","(UTC+06:30) Yangon (Rangoon)","(UTC+07:00) Bangkok, Hanoi, Jakarta","(UTC+07:00) Krasnoyarsk","(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi","(UTC+08:00) Irkutsk","(UTC+08:00) Kuala Lumpur, Singapore","(UTC+08:00) Perth","(UTC+08:00) Taipei","(UTC+08:00) Ulaanbaatar","(UTC+09:00) Osaka, Sapporo, Tokyo","(UTC+09:00) Seoul","(UTC+09:00) Yakutsk","(UTC+09:30) Adelaide","(UTC+09:30) Darwin","(UTC+10:00) Brisbane","(UTC+10:00) Canberra, Melbourne, Sydney","(UTC+10:00) Guam, Port Moresby","(UTC+10:00) Hobart","(UTC+10:00) Vladivostok","(UTC+11:00) Magadan","(UTC+11:00) Solomon Is., New Caledonia","(UTC+12:00) Auckland, Wellington","(UTC+12:00) Coordinated Universal Time+12","(UTC+12:00) Fiji","(UTC+12:00) Petropavlovsk-Kamchatsky - Old","(UTC+13:00) Nuku'alofa"
pButton_Save=" Save",1,8,55,280,154,30,Process,Save.bmp,False,_Process_,False
pProjectCleanButton_Basic=,1,8,353,1,45,41,Clean_Temp_Files_Button,dustr.bmp,False,False,_Clean_Temp_Files_Button_,False,"__ Clean Temporary files"
Log_LogAlways_Button_T="Create Support Log",1,8,377,103,132,18,Log_LogAlways_T,unchecked.bmp,True,False,_Log_LogAlways_T_,True,__LogAlways_Change_to_ENABLE
Log_LogAlways_Button_F="Create Support Log",0,8,377,103,132,18,Log_LogAlways_F,checked.bmp,True,False,_Log_LogAlways_F_,True,__LogAlways_Change_to_DISABLE
Log_LogAlways_CheckBox="Create Support Log",0,3,538,104,129,16,False
pBevel1=pBevel1,1,12,352,44,183,113
pTextLabel2="Create Support Log",1,1,359,47,165,23,12,Bold
pTextLabel3="In case of trouble to get feedback enable 'Create Support Log'",1,1,358,72,165,28,8,Normal
pTextLabel4="and provide log_201...Win7PESE_Support.7z",1,1,356,124,173,28,8,Normal
SupportLogExecute_Button_T=SupportLogExecute,0,8,377,162,132,18,SupportLogExecute_T,unchecked.bmp,True,False,_SupportLogExecute_T_,True,"__SupportLogExecute_Change_to_True 'Create Support Log' required"
SupportLogExecute_Button_F=SupportLogExecute,0,8,377,162,132,18,SupportLogExecute_F,checked.bmp,True,False,_SupportLogExecute_F_,True,__SupportLogExecute_Change_to_False
SupportLogExecute_CheckBox=SupportLogExecute,0,3,539,164,129,16,True
pBevel2=pBevel2,0,12,352,156,183,30
NoWarnRegOverWrite_Button_T=NoWarnRegOverWrite,0,8,377,189,132,18,NoWarnRegOverWrite_T,unchecked.bmp,True,False,_NoWarnRegOverWrite_T_,True,__NoWarnRegOverWrite_Change_to_True
NoWarnRegOverWrite_Button_F=NoWarnRegOverWrite,0,8,377,189,132,18,NoWarnRegOverWrite_F,checked.bmp,True,False,_NoWarnRegOverWrite_F_,True,__NoWarnRegOverWrite_Change_to_False
NoWarnRegOverWrite_CheckBox=NoWarnRegOverWrite,0,3,538,191,129,16,True
NoWarnFileOverWrite_Button_T=NoWarnFileOverWrite,0,8,377,209,132,18,NoWarnFileOverWrite_T,unchecked.bmp,True,False,_NoWarnFileOverWrite_T_,True,__NoWarnFileOverWrite_Change_to_True
NoWarnFileOverWrite_Button_F=NoWarnFileOverWrite,0,8,377,209,132,18,NoWarnFileOverWrite_F,checked.bmp,True,False,_NoWarnFileOverWrite_F_,True,__NoWarnFileOverWrite_Change_to_False
NoWarnFileOverWrite_CheckBox=NoWarnFileOverWrite,0,3,538,211,129,16,True
pBevel3=pBevel3,0,12,352,184,183,47
pAdvancedOptionsButton="Advanced GUI",1,8,391,286,104,22,Show_Advanced_Gui,0,True,_Show_Advanced_Gui_,True
pSimpleOptionsButton="Simple GUI",0,8,391,286,104,22,Show_Simple_Gui,0,True,_Show_Simple_Gui_,True
AdvanedGui_CheckBox=AdvanedGui,0,3,500,289,80,18,False
NoPluginCache_CheckBox=,0,3,640,140,16,18,False
NoPluginCache_Set_Enable_Button=,0,8,536,138,20,20,NoPluginCache_Set_Enable_B,unchecked.bmp,True,False,_NoPluginCache_Set_Enable_B_,True
NoPluginCache_Set_Disable_Button=,0,8,536,138,20,20,NoPluginCache_Set_Disable_B,checked.bmp,True,False,_NoPluginCache_Set_Disable_B_,True
NoPluginCache_TextLabel=NoPluginCache,0,1,558,142,83,18,8,Normal
WebLabel_Plugin="Plugin Page",1,10,291,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=,0,8,403,-1,24,24,UploadXXX,BokehliciaCaptivaSoftwareupload0016016.bmp,False,False,_UploadXXX_,False,"__UPLOAD Plugin (Admins Only)"
Button_CompareEdit=,0,8,426,-1,24,24,CompareEditXXX,AmperossQetto2Move0016016.bmp,False,False,_CompareEditXXX_,False,"__DOWNLOAD and Compare with an Editor"
UnBlock_Tools_CheckBox="'UnBlock' Tools",0,3,31,372,92,18,True
UnBlock_Tools_Button=P,0,8,7,370,20,20,UnBlock_Tools_P_B,0,False,_UnBlock_Tools_P_B_,False,"__UnBlock 'Tools' Process"

[Process]
Echo,"%ScriptTitle% For %ProjectName%"
Run,%ScriptFile%,NoRootDirCheck
If,%UnBlock_Tools_CheckBox%,Equal,True,Run,%ScriptFile%,UnBlock_Tools_P
Else,Echo,"Info: UnBlock Tools Disabled",Warn
IniWrite,%ProjectDir%\script.project,IniVariables,NoPluginCache,%NoPluginCache_CheckBox%
If,ExistFile,"%ProjectDir%\Build\Revision Check.script",Run,"%ProjectDir%\Build\Revision Check.script",RevisionUpdateOnce
Run,%ScriptFile%,HostOSInfoMini
Run,%ScriptFile%,Clean_Temp_Files_Mount
Run,%ScriptFile%,Clean_Temp_Files_Basic
Run,%ScriptFile%,LogSettings
If,Not,ExistVar,%OS%,IniRead,%ProjectDir%\script.project,IniVariables,OS,%OS%
Run,%ScriptFile%,FindMinimumWin
Run,%ScriptFile%,CommonSettings
//-
//PreConfig
IniWrite,%ProjectDir%\script.project,IniVariables,InstallWimSYSMount,1

[NoRootDirCheck]
StrFormat,Ltrim,%BaseDir%,2,%t%
If,%t%-,Equal,-,Run,%ScriptFile%,NoRootDirHalt

[LogSettings]
If,%Log_LogAlways_CheckBox%,Equal,True,IniWrite,%ProjectDir%\script.project,IniVariables,SaveConditionLogAlways,1
Else,IniWrite,%ProjectDir%\script.project,IniVariables,SaveConditionLogAlways,0
//-
If,%Log_LogAlways_CheckBox%%SupportLogExecute_CheckBox%,Equal,TrueTrue,Run,%ScriptFile%,SupportLog_Execute
//--
IniWrite,%ProjectDir%\script.project,IniVariables,NoWarnRegOverWrite,%NoWarnRegOverWrite_CheckBox%
IniWrite,%ProjectDir%\script.project,IniVariables,NoWarnFileOverWrite,%NoWarnFileOverWrite_CheckBox%

[SupportLog_Execute]
If,Not,ExistDir,%ProjectTemp%,DirMake,%ProjectTemp%
If,Not,ExistFile,%ProjectTemp%\SupportLog_Execute.script,FileCreateBlank,%ProjectTemp%\SupportLog_Execute.script
If,Not,ExistSection,%ProjectTemp%\SupportLog_Execute.script,Flags,IniAddSection,%ProjectTemp%\SupportLog_Execute.script,Flags
//If,Not,ExistSection,%ProjectTemp%\SupportLog_Execute.script,BuildEnd,IniAddSection,%ProjectTemp%\SupportLog_Execute.script,BuildEnd
If,Not,ExistSection,%ProjectTemp%\SupportLog_Execute.script,PrePack,IniAddSection,%ProjectTemp%\SupportLog_Execute.script,PrePack
//--
//BuildEnd+
//--
//--
//BuildEnd-
//--
//PrePack+
//--
Set,%t%,0
IniRead,%ProjectTemp%\SupportLog_Execute.script,Flags,Debug.script_DebugLocal_Prepack,%t%
If,Not,%t%,Equal,1,Begin
If,ExistFile,%ProjectDir%\Utils\Debug.script,Begin
IniWrite,%ProjectTemp%\SupportLog_Execute.script,Flags,Debug.script_DebugLocal_Prepack,1
IniWriteTextLine,%ProjectTemp%\SupportLog_Execute.script,Prepack,"Exec,%ProjectDir%\Utils\Debug.script,DebugLocal"
End
End
//--
//PrePack-

[CommonSettings]
Echo,"Process common settings..."
// WARNING Iso plugin "Create ISO" call the config plugin section [CommonSettings] to reset Boot Manager, etc.
Set,%ISOfileVar%,%ISOfile%
IniWrite,%ProjectDir%\script.project,IniVariables,ISOfileVar,%ISOfileVar%
If,%pScrollB_Build%,Equal,Normal,IniWrite,%ProjectDir%\script.project,IniVariables,BuildModel,Normal
If,%pScrollB_Build%,Equal,"In RAM (boot.wim)",IniWrite,%ProjectDir%\script.project,IniVariables,BuildModel,RAM
//--
StrFormat,SPLIT,%pScrollB_Screen%,"x",1,%Width%
StrFormat,SPLIT,%pScrollB_Screen%,"x",2,%Height%
Set,%ScreenResolution%,%Width%x%Height%
IniWrite,%ProjectDir%\script.project,IniVariables,ScreenResolution,%ScreenResolution%
//---If,%pCheckBox1%,Equal,true,run,%ScriptFile%,CheckFileCopy
If,%pScrollB_Build%,Equal,Normal,Run,%ScriptFile%,CheckBootMGR
//-- BootSkin Selected depending on the Boot Manager
If,%pScrollB_Boot%,Equal,"Grub4Dos (recomended)",Begin
Set,%BootSkin_Selected%,%pScrollB_SkinG%
End
Else,Begin
If,%pScrollB_Boot%,Equal,IsoLinux,Begin
Set,%BootSkin_Selected%,%pScrollB_SkinI%
End
Else,Begin
Set,%BootSkin_Selected%,Text
End
End
IniWrite,%ProjectDir%\script.project,IniVariables,BootSkin,%BootSkin_Selected%
IniWrite,%ProjectDir%\script.project,VariablesOtherOS,#$pBootSkin#$p,%BootSkin_Selected%
//--
IniWrite,%ProjectDir%\script.project,IniVariables,Wpeinit,Normal
//--
IniWrite,%ProjectDir%\script.project,IniVariables,TLocale,%pScrollB_Locale%
IniWrite,%ProjectDir%\script.project,IniVariables,TFormat,%pScroll_Format%
IniWrite,%ProjectDir%\script.project,IniVariables,TKeyBoard,%pScroll_KeyBoard%
IniWrite,%ProjectDir%\script.project,IniVariables,TTimeZone,%pScroll_TimeZone%
//-- Set Boot Options
Run,%ScriptFile%,SetBootOptions
//--
Run,%ScriptFile%,Oldies_Support

[SetBootOptions]
If,%pScrollB_Boot%,Equal,Standard,Begin
Set,%BootType%,SingleBoot
Set,%BootSector%,etfsboot.com
Set,%BootMenu%,""
Set,%BootMenu_Target%,%TargetDir%
End
If,%pScrollB_Boot%,Equal,Auto,Begin
Set,%BootType%,SingleBoot
If,%pScrollB_Build%,Equal,"In RAM (boot.wim)",Set,%BootSector%,etfsboot.com
If,%pScrollB_Build%,Equal,"Normal",Set,%BootSector%,bootsect.bin
Set,%BootMenu%,""
Set,%BootMenu_Target%,%TargetDir%
End
If,%pScrollB_Boot%,Equal,"Grub4Dos (recomended)",Begin
Set,%BootType%,MultiBoot
Set,%BootSector%,Grub4Dos
Set,%BootMenu%,%ProjectCache%\OtherOSMenu\menu.lst
Set,%BootMenu_Target%,%TargetDir%
End
If,%pScrollB_Boot%,Equal,IsoLinux,Begin
Set,%BootType%,MultiBoot
Set,%BootSector%,IsoLinux
Set,%BootMenu%,%ProjectCache%\OtherOSMenu\isolinux.cfg
Set,%BootMenu_Target%,%TargetDir%\isolinux
End
If,%pScrollB_Boot%,Equal,BCDW,Begin
Set,%BootType%,MultiBoot
Set,%BootSector%,BCDW
Set,%BootMenu%,%ProjectCache%\OtherOSMenu\bcdw.ini
Set,%BootMenu_Target%,%TargetDir%\bcdw
End
// For Grub2-efi boot manager
Set,%EfiBootMenu%,%ProjectCache%\OtherOSMenu\grub.cfg
Set,%EfiBootMenu_Target%,%TargetDir%\EFI\BOOT
IniWrite,%ProjectDir%\script.project,IniVariables,BootType,%BootType%
IniWrite,%ProjectDir%\script.project,IniVariables,BootSector,%BootSector%
IniWrite,%ProjectDir%\script.project,IniVariables,BootMenu,%BootMenu%
IniWrite,%ProjectDir%\script.project,IniVariables,BootMenu_Target,%BootMenu_Target%
IniWrite,%ProjectDir%\script.project,IniVariables,EfiBootMenu,%EfiBootMenu%
IniWrite,%ProjectDir%\script.project,IniVariables,EfiBootMenu_Target,%EfiBootMenu_Target%
//-
IniWrite,%ProjectDir%\script.project,VariablesOtherOS,#$pBootType#$p,%BootType%
IniWrite,%ProjectDir%\script.project,VariablesOtherOS,#$pBootSector#$p,%BootSector%
IniWrite,%ProjectDir%\script.project,VariablesOtherOS,#$pBootMenu#$p,%BootMenu%
IniWrite,%ProjectDir%\script.project,VariablesOtherOS,#$pBootMenu_Target#$p,%BootMenu_Target%
IniWrite,%ProjectDir%\script.project,VariablesOtherOS,#$pEfiBootMenu#$p,%EfiBootMenu%
IniWrite,%ProjectDir%\script.project,VariablesOtherOS,#$pEfiBootMenu_Target#$p,%EfiBootMenu_Target%
//-
Set,%OtherOS_Root%,%TargetDir%
Set,%OtherOS_Folder%,Boot\IMG
Set,%OtherOS_Target%,%OtherOS_Root%\%OtherOS_Folder%
Set,%OtherOS_EfiFolder%,EFI\IMG
Set,%OtherOS_EfiTarget%,%OtherOS_Root%\%OtherOS_EfiFolder%
IniWrite,%ProjectDir%\script.project,IniVariables,OtherOS_Root,%OtherOS_Root%
IniWrite,%ProjectDir%\script.project,IniVariables,OtherOS_Folder,%OtherOS_Folder%
IniWrite,%ProjectDir%\script.project,IniVariables,OtherOS_Target,%OtherOS_Target%
IniWrite,%ProjectDir%\script.project,IniVariables,OtherOS_EfiFolder,%OtherOS_EfiFolder%
IniWrite,%ProjectDir%\script.project,IniVariables,OtherOS_EfiTarget,%OtherOS_EfiTarget%
//-
IniWrite,%ProjectDir%\script.project,VariablesOtherOS,#$pOtherOS_Root#$p,%OtherOS_Root%
IniWrite,%ProjectDir%\script.project,VariablesOtherOS,#$pOtherOS_Folder#$p,%OtherOS_Folder%
IniWrite,%ProjectDir%\script.project,VariablesOtherOS,#$pOtherOS_Target#$p,%OtherOS_Target%
IniWrite,%ProjectDir%\script.project,VariablesOtherOS,#$pOtherOS_EfiFolder#$p,%OtherOS_EfiFolder%
IniWrite,%ProjectDir%\script.project,VariablesOtherOS,#$pOtherOS_EfiTarget#$p,%OtherOS_EfiTarget%

[CheckBootMGR]
Set,%CheckBootMGRSuccess%,Noo
If,%pScrollB_Boot%,Equal,Standard,Set,%CheckBootMGRSuccess%,Yes
If,%pScrollB_Boot%,Equal,Auto,Set,%CheckBootMGRSuccess%,Yes
If,Not,%CheckBootMGRSuccess%,Equal,Yes,Message,"You can not use non standard boot manager with 'NORMAL' build model. please use 'In RAM'build model or standard boot manager."
If,Not,%CheckBootMGRSuccess%,Equal,Yes,Halt,"You can not use non standard boot manager with 'NORMAL' build model. please use 'In RAM' build model or standard boot manager."

[FindMinimumWin]
Echo,"Detecting minimum Microsoft Windows DVD..."
// Find Win7, Win8 boot.wim and Install.wim moved in images plugin, more appropriate with ExtractWimFolder
If,Not,ExistFile,%SourceDir%\bootmgr,Run,%ScriptFile%,SourceWinNotFound
If,Not,ExistFile,%SourceDir%\boot\bcd,Run,%ScriptFile%,SourceWinNotFound
If,Not,ExistDir,%SourceDir%\boot\fonts,Run,%ScriptFile%,SourceWinNotFound

[SourceWinNotFound]
If,%OS%,Equal,Win7,Begin
Message,"Can not detect Windows 7 Source !!!#$x#$xYou must select a folder with Windows 7 files in 'Source Directory'#$x#$xExiting...",Error
Halt,"Can not detect Windows 7 Source. Exiting..."
End
If,%OS%,Equal,Win8,Begin
Message,"Can not detect Windows 8 Source !!!#$x#$xYou must select a folder with Windows 8 files in 'Source Directory'#$x#$xExiting...",Error
Halt,"Can not detect Windows 8 Source. Exiting..."
End
If,%OS%,Equal,Win8.1,Begin
Message,"Can not detect Windows 8 Source !!!#$x#$xYou must select a folder with Windows 8.1 files in 'Source Directory'#$x#$xExiting...",Error
Halt,"Can not detect Windows 8.1 Source. Exiting..."
End

[Clean_Temp_Files_Button]
Run,%ScriptFile%,Clean_Temp_Files_Mount
Run,%ScriptFile%,Clean_Temp_Files_Basic
Run,%ScriptFile%,Clean_Temp_Files

[Clean_Temp_Files]
If,%TargetDir%,Equal,%BaseDir%,Call,Echo,"TargetDir=BaseDir SOMETHING REALLY WRONG - Report Log to http://TheOven.org",Warn,,MessageError,,Halt
If,%TargetDir%,Equal,%BaseDir%,Halt,"TargetDir=BaseDir SOMETHING REALLY WRONG - Report Log to http://TheOven.org"
//-
StrFormat,PATH,%IsoFile%,%IsoFolder%
StrFormat,CTRIM,%IsoFolder%,\,%IsoFolder%
If,%IsoFolder%,Equal,%BaseDir%,Call,Echo,"IsoFolder=BaseDir SOMETHING REALLY WRONG - Report Log to http://TheOven.org",Warn,,MessageError,,Halt
If,%IsoFolder%,Equal,%BaseDir%,Halt,"IsoFolder=BaseDir SOMETHING REALLY WRONG - Report Log to http://TheOven.org"
//-
Echo,"Delete Target, ProjectCache and ISO Files..."
//DO NOT use %CmdexeFolder% here ;)
// remove dir %TargetDir% not in basic Clean_Temp_Files because button "Create New ISO" execute config plugin
If,ExistDir,%TargetDir%,Shellexecute,Hide,cmd.exe,"/C rd /s /q #$q%TargetDir%#$q"
If,ExistDir,%TargetDir%,Echo,"Directory NOT DELETED",WARN
If,ExistDir,%ProjectCache%,Shellexecute,Hide,cmd.exe,"/C rd /s /q #$q%ProjectCache%#$q"
If,ExistDir,%ProjectCache%,Echo,"Directory NOT DELETED",WARN
//DO NOT delete IsoFolder, there can be other project's iso files
//it is only an 'attempt' to delete isofile - since isofile can be anyname just trying luck ;)
If,Existfile,%ISOfile%,Shellexecute,Hide,cmd.exe,"/C del /q /f #$q%ISOfile%#$q"
If,ExistFile,%ISOfile%,Echo,"FILE NOT DELETED",WARN
If,ExistVar,%ISOfileVar%,Begin
If,Not,%ISOfileVar%,Equal,"",Begin
If,ExistFile,%ISOfileVar%,Shellexecute,Hide,cmd.exe,"/C del /q /f #$q%ISOfileVar%#$q"
If,ExistFile,%ISOfileVar%,Echo,"FILE NOT DELETED",WARN
End
End
If,Not,ExistVar,%ISOfileVar%,Begin
Set,%ISOfileVar%,%ISOfile%
Set,%t%,""
IniRead,%ProjectDir%\script.project,IniVariables,ISOfileVar,%t%
If,Not,%t%,Equal,"",Set,%ISOfileVar%,%t%
If,ExistFile,%ISOfileVar%,Shellexecute,Hide,cmd.exe,"/C del /q /f #$q%ISOfileVar%#$q"
If,ExistFile,%ISOfileVar%,Echo,"FILE NOT DELETED",WARN
End
Call,HostTempDir
If,ExistFile,%HostTempDir%\WimUtil.log,Shellexecute,Hide,cmd.exe,"/C del /q /f #$q%HostTempDir%\WimUtil.log#$q"
If,ExistFile,%HostTempDir%\WimUtil.log,Echo,"FILE NOT DELETED",WARN

[Clean_Temp_Files_Basic]
Echo,"Delete Temporary Files..."
//DO NOT use %CmdexeFolder% here ;)
//If,ExistDir,%ProjectTemp%,Shellexecute,Hide,cmd.exe,"/C rd /s /q #$q%ProjectTemp%#$q"
//If,ExistDir,%ProjectTemp%,Echo,"Directory NOT DELETED",WARN
Call,DirDeleteE,%BaseDir%\Temp\Macro_Library
Call,DirDeleteE,%ProjectTemp%

[Clean_Temp_Files_Mount]
IniRead,%ProjectDir%\script.project,IniVariables,BootSRC,%BootSRC%
IniRead,%ProjectDir%\script.project,IniVariables,InstallSRC,%InstallSRC%
// If not extracted wim folder - unmount if previous source mounted
IniRead,%ProjectDir%\script.project,IniVariables,ExtractWimFolder,%ExtractWimFolder%
If,Not,%ExtractWimFolder%,Equal,Yes,Begin
Echo,"Check and UnMount a previously Mounted images..."
// INFO: Check and UnMount with previous WimTools and WimGapi
Set,%CheckMountGoB%,0
Set,%CheckMountGoI%,0
If,Not,%BootSRC%,Equal,"",Set,%CheckMountGoB%,1
If,Not,%InstallSRC%,Equal,"",Set,%CheckMountGoI%,1
If,%CheckMountGoB%%CheckMountGoI%,Equal,11,Begin
Run,%ScriptFile%,CheckSourceMount
If,%mountchk%,Equal,ah,Run,%ScriptFile%,SourceUnMount
Run,%ScriptFile%,CheckSourceMount
If,%mountchk%,Equal,ah,Run,%ScriptFile%,UnmountFirst
End
End

[CheckSourceMount]
Set,%mountchk%,np
If,ExistFile,%BootSRC%\Windows\System32\cmd.exe,Set,%mountchk%,ah
If,ExistFile,%InstallSRC%\Windows\System32\cmd.exe,Set,%mountchk%,ah

[SourceUnMount]
If,Not,ExistVar,%OS%,IniRead,%ProjectDir%\script.project,IniVariables,OS,%OS%
Run,%ScriptFile%,CheckPreviousWimGapi
Run,%ScriptFile%,CheckPreviousImageTools
If,%OS%,Equal,"",Run,%ScriptFile%,SourceNotConfigured
If,%OS%,Equal,WinVista,Run,%ScriptFile%,SourceUnMountCD
If,%OS%,Equal,Win7,Run,%ScriptFile%,SourceUnMountCD
If,%OS%,Equal,Win8,Run,%ScriptFile%,SourceUnMountCD
If,%OS%,Equal,WAIK,Run,%ScriptFile%,SourceUnMountWAIK

[CheckPreviousWimGapi]
Set,%WimgapiFound%,Noo
If,ExistFile,%Tools%\%OSArch%\wimgapi.dll,Set,%WimgapiFound%,Yes
// Normally the previous version used must be present, but in case
IniRead,%ProjectDir%\script.project,IniVariables,WIMDriver,%WIMDriver%
If,Not,%WimgapiFound%,Equal,Yes,Begin
If,%WIMDriver%,Equal,Wimfltr,If,ExistFile,%Tools%\%OSArch%\wimgapi6.0.dll,Begin
FileCopy,%Tools%\%OSArch%\wimgapi6.0.dll,%Tools%\%OSArch%\wimgapi.dll
Set,%WimgapiFound%,Yes
End
Else,Begin
If,%WIMDriver%,Equal,Wimmount,If,ExistFile,%Tools%\%OSArch%\wimgapi6.2.dll,Begin
FileCopy,%Tools%\%OSArch%\wimgapi6.2.dll,%Tools%\%OSArch%\wimgapi.dll
Set,%WimgapiFound%,Yes
End
End
End
If,%WimgapiFound%,Equal,Yes,Begin
Retrieve,FILEVERSION,%Tools%\%OSArch%\wimgapi.dll,%WimgapiVersion%
StrFormat,LEFT,%WimgapiVersion%,3,%WimgapiMajorVersion%
End
If,Not,%WimgapiFound%,Equal,Yes,Run,%ScriptFile%,PreviousWimGapiNotFound
If,Not,ExistFile,%Tools%\%OSArch%\wimgapi.dll,Run,%ScriptFile%,PreviousWimGapiNotFound

[CheckPreviousImageTools]
Set,%ImageToolsFound%,Noo
IniRead,%ProjectDir%\script.project,IniVariables,WimTool,%WimTools%
IniRead,%ProjectDir%\script.project,IniVariables,WIMDriver,%WIMDriver%
If,%WimTools%,Equal,ImageX,IniRead,%ProjectDir%\script.project,IniVariables,WIMToolFile,%IMAGEX%
If,%WimTools%,Equal,WimUtil,IniRead,%ProjectDir%\script.project,IniVariables,WIMToolFile,%WIMUTIL%
// Normally the previous version used must be present, but in case
If,%WimTools%,Equal,ImageX,If,Not,ExistFile,%IMAGEX%,Run,%ScriptFile%,FoundPreviousImageX
If,%WimTools%,Equal,WimUtil,If,Not,ExistFile,%WIMUTIL%,Run,%ScriptFile%,FoundPreviousWimUtil

[FoundPreviousImageX]
If,ExistFile,%Tools%\%OSArch%\imagex.exe,Begin
Set,%IMAGEX%,%Tools%\%OSArch%\imagex.exe
Set,%WimTools%,ImageX
Set,%ImageToolsFound%,Yes
End
Else,Begin
If,%WIMDriver%,Equal,Wimfltr,If,ExistFile,%Tools%\%OSArch%\imagex6.0.exe,Begin
FileCopy,%Tools%\%OSArch%\imagex6.0.exe,%Tools%\%OSArch%\imagex.exe
Set,%IMAGEX%,%Tools%\%OSArch%\imagex.exe
Set,%WimTools%,ImageX
Set,%ImageToolsFound%,Yes
End
Else,Begin
If,%WIMDriver%,Equal,Wimmount,If,ExistFile,%Tools%\%OSArch%\imagex6.2.exe,Begin
FileCopy,%Tools%\%OSArch%\imagex6.2.exe,%Tools%\%OSArch%\imagex.exe
Set,%IMAGEX%,%Tools%\%OSArch%\imagex.exe
Set,%WimTools%,ImageX
Set,%ImageToolsFound%,Yes
End
End
End
If,Not,%ImageToolsFound%,Equal,Yes,Run,%ScriptFile%,PreviousImageToolsNotFound
If,Not,ExistFile,%IMAGEX%,Run,%ScriptFile%,PreviousImageToolsNotFound

[FoundPreviousWimUtil]
If,ExistFile,%Tools%\%OSArch%\WimUtil.exe,Begin
Set,%WIMUTIL%,%Tools%\%OSArch%\WimUtil.exe
Set,%WimTools%,WimUtil
Set,%ImageToolsFound%,Yes
End
If,Not,%ImageToolsFound%,Equal,Yes,Run,%ScriptFile%,PreviousImageToolsNotFound
If,Not,ExistFile,%WIMUTIL%,Run,%ScriptFile%,PreviousImageToolsNotFound

[SourceNotConfigured]
If,%WimTools%,Equal,ImageX,Begin
If,ExistFile,%IMAGEX%,Run,%ScriptFile%,SourceUnMountCD
Else,Run,%ScriptFile%,SourceNotConfiguredExit
End
If,%WimTools%,Equal,WimUtil,Begin
If,ExistFile,%WIMUTIL%,Run,%ScriptFile%,SourceUnMountCD
Else,Run,%ScriptFile%,SourceNotConfiguredExit
End

[NoRootDirHalt]
Message,"Do not use %BaseDir% to build #$x#$x Use a subfolder #$x#$x Ex: %BaseDir%\Build",Error
Halt,"Do not use %BaseDir% to build -- Use a subfolder -- Ex: %BaseDir%\Build"

[SourceNotConfiguredExit]
Message,"Source Type Not Configured and Images Must be UNMOUNTED First (or directory MUST be empty)!!!#$x#$xExiting...",Error
Halt,"Source Type Not Configured and Images Must be UNMOUNTED First (or directory MUST be empty). Exiting..."

[PreviousWimGapiNotFound]
Message,"Wimgapi.dll was not found and Images Must be UNMOUNTED First (or directory MUST be empty)!!!#$x#$xExiting...",Error
Halt,"Wimgapi.dll was not found and Images Must be UNMOUNTED First (or directory MUST be empty). Exiting..."

[PreviousImageToolsNotFound]
Message,"Image Tools was not found and Images Must be UNMOUNTED First (or directory MUST be empty)!!!#$x#$xExiting...",Error
Halt,"Image Tools was not found and Images Must be UNMOUNTED First (or directory MUST be empty). Exiting..."

[SourceUnMountCD]
//If 'shadow mount' creating folders with cmd will not work ;) but to avoid things in future lines added....
Shellexecute,Hide,cmd.exe,"/C md #$q%BootSRC%#$q"
Shellexecute,Hide,cmd.exe,"/C md #$q%InstallSRC%#$q"
//create mount basefolders (by creating same named folders ;)) --> this will help ummounting 'shadow mount' success
Shellexecute,Hide,cmd.exe,"/C md #$q%BootSRC%_Tmp#$q"
Shellexecute,Hide,cmd.exe,"/C md #$q%InstallSRC%_Tmp#$q"
If,%WimTools%,Equal,ImageX,Begin
IniRead,%ProjectDir%\script.project,IniVariables,ShowImageX,%ShowImageX%
Echo,"UnMountig Wim files (BootSRC) with %WimTools% ..."
ShellExecute,%ShowImageX%,%IMAGEX%,"/unmount #$q%BootSRC%#$q",%Tools%\%OSArch%\
Echo,"%WimTools% unmount Wim files (BootSRC) return : %ExitCode%"
//-
Echo,"UnMountig Wim files (InstallSRC) with %WimTools% ..."
ShellExecute,%ShowImageX%,%IMAGEX%,"/unmount #$q%InstallSRC%#$q",%Tools%\%OSArch%\
Echo,"%WimTools% unmount Wim files (InstallSRC) return : %ExitCode%"
End
//-
If,%WimTools%,Equal,WimUtil,Begin
Echo,"UnMountig Wim files (BootSRC) with %WimTools% ..."
IniRead,%ProjectDir%\script.project,IniVariables,ShowWimUtil,%ShowWimUtil%
ShellExecute,Hide,%WIMUTIL%,"/unmount #$q%BootSRC%#$q %ShowWimUtil%",%Tools%\%OSArch%\
Echo,"%WimTools% unmount Wim files (BootSRC) return : %ExitCode%"
//-
Echo,"UnMountig Wim files (InstallSRC) with %WimTools% ..."
ShellExecute,Hide,%WIMUTIL%,"/unmount #$q%InstallSRC%#$q %ShowWimUtil%",%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

[SourceUnMountWAIK]
Echo,"UnMounting WAIK files with imagex.exe..."
//If 'shadow mount' creating folders with cmd will not work ;) but to avoid things in future lines added....
Shellexecute,Hide,cmd.exe,"/C md #$q%BootSRC%#$q"
//create mount basefolders (by creating same named folders ;)) --> this will help ummounting 'shadow mount' success
Shellexecute,Hide,cmd.exe,"/C md #$q%BootSRC%_Tmp#$q"
If,%WimTools%,Equal,ImageX,ShellExecute,Hide,%IMAGEX%,"/unmount #$q%BootSRC%#$q",%Tools%\%OSArch%\
If,%WimTools%,Equal,WimUtil,ShellExecute,Hide,%WIMUTIL%,"/unmount #$q%BootSRC%#$q",%Tools%\%OSArch%\
// Check that the image is well unmounted (some issues encountered sometimes with wimmount driver, who locked the folder)
Run,%ScriptFile%,CheckUnMountBootWim

[UnmountFirst]
//Insurance.....
Set,%msg%,"Images Must be UNMOUNTED First (or directory MUST be empty). Exiting..."
Message,%msg%,Error
Echo,%msg%,Warn
Echo,%msg%,Warn
Echo,%msg%,Warn
Echo,%msg%,Warn
Echo,%msg%,Warn
Echo,%msg%,Warn
Echo,%msg%,Warn
Echo,%msg%,Warn
Halt,%msg%

[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
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
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

[Locale_Info]
Message,"'System Locale' Info:#$x#$xIn case of problems with Locale Import HostOS, choose Auto or a Localization predefined.#$xIf mismatch with source language:   Change 'System Locale' manually only when source is en-US.#$xIf match with source:   Auto (Source) is enough.",Information

[KeyBoard_Info]
Message,"'KeyBoard' Info:#$x#$xIn case of problems with KeyBoard Import HostOS, choose Auto or a Localization predefined.#$xThe import HostOS keyboard defintion is probably not enough for keyboards:#$x- 'Advanced Basic' (Russian, Turkish,..)#$x- 'Complex' (Arabic, Indian, Hebrew,...)#$x- 'Extended' (Chinese, Japanese, Korean,...)#$x#$xFor East Asian Keyboards, use IME plugin instead.",Information

[LaunchGFXboot]
If,Not,ExistFile,%ProjectDir%\Utils\GFXBoot.script,Message,"GFXBoot plugin required to Start GFX-Boot !!!",Error
Else,Run,%ProjectDir%\Utils\GFXBoot.script,Launch_Program,%ProjectDir%\Utils\GFXBoot.script

[Oldies_Support__Start]
//--------------------
//--------------------
//--------------------
//--------------------

[Oldies_Support]
If,ExistVar,%ProjectInfo%,Run,%ScriptFile%,ProjectInfo_New_Write
If,ExistSection,%ProjectDir%\script.project,VariablesReadEnv,Run,%ScriptFile%,ReadEnv_Prepare_VariablesReadEnv
If,ExistSection,%ProjectDir%\script.project,IniVariablesReadEnv,Run,%ScriptFile%,ReadEnv_Prepare_IniVariablesReadEnv

[ReadEnv_Prepare_VariablesReadEnv]
//Will be Removed later.....
If,%pScrollB_Build%,Equal,Normal,IniWrite,%ProjectDir%\script.project,VariablesReadEnv,#$pBuildModel#$p,Normal
If,%pScrollB_Build%,Equal,"In RAM (boot.wim)",IniWrite,%ProjectDir%\script.project,VariablesReadEnv,#$pBuildModel#$p,RAM
//IniWrite,%ProjectDir%\script.project,VariablesReadEnv,#$pShell#$p,%pScrollBox2%
IniWrite,%ProjectDir%\script.project,VariablesReadEnv,#$pScreenResolution#$p,%ScreenResolution%
IniWrite,%ProjectDir%\script.project,VariablesReadEnv,#$pLocale#$p,%pScrollB_Locale%
//CheckFileCopy
//If,%pScrollB_Build%,Equal,"In RAM (boot.wim)",IniWrite,%ProjectDir%\script.project,VariablesReadEnv,#$pForceAllToRam#$p,Yes
//If,%pScrollB_Build%,Equal,"Normal",IniWrite,%ProjectDir%\script.project,VariablesReadEnv,#$pForceAllToRam#$p,No
//IniWrite,%ProjectDir%\script.project,VariablesReadEnv,#$pGrubSkin#$p,%BootSkin_Selected%
//IniWrite,%ProjectDir%\script.project,VariablesReadEnv,#$pBootSkin#$p,%BootSkin_Selected%
IniWrite,%ProjectDir%\script.project,VariablesReadEnv,#$pWpeinit#$p,Normal
IniWrite,%ProjectDir%\script.project,VariablesReadEnv,#$pSysType#$p,%SysType%
If,%pScrollB_Boot%,Equal,Standard,IniWrite,%ProjectDir%\script.project,VariablesReadEnv,#$pBootManager#$p,Standard
If,%pScrollB_Boot%,Equal,Auto,IniWrite,%ProjectDir%\script.project,VariablesReadEnv,#$pBootManager#$p,Auto
If,%pScrollB_Boot%,Equal,"Grub4Dos (recomended)",IniWrite,%ProjectDir%\script.project,VariablesReadEnv,#$pBootManager#$p,Grub4Dos
If,%pScrollB_Boot%,Equal,IsoLinux,IniWrite,%ProjectDir%\script.project,VariablesReadEnv,#$pBootManager#$p,IsoLinux
If,%pScrollB_Boot%,Equal,BCDW,IniWrite,%ProjectDir%\script.project,VariablesReadEnv,#$pBootManager#$p,BCDW

[ReadEnv_Prepare_IniVariablesReadEnv]
//Will be Removed later.....
If,%pScrollB_Build%,Equal,Normal,IniWrite,%ProjectDir%\script.project,IniVariablesReadEnv,BuildModel,Normal
If,%pScrollB_Build%,Equal,"In RAM (boot.wim)",IniWrite,%ProjectDir%\script.project,IniVariablesReadEnv,BuildModel,RAM
//IniWrite,%ProjectDir%\script.project,IniVariablesReadEnv,Shell,%pScrollBox2%
IniWrite,%ProjectDir%\script.project,IniVariablesReadEnv,SDir,%SourceDir%
IniWrite,%ProjectDir%\script.project,IniVariablesReadEnv,ScreenResolution,%ScreenResolution%
IniWrite,%ProjectDir%\script.project,IniVariablesReadEnv,Locale,%pScrollB_Locale%
//CheckFileCopy
//If,%pScrollB_Build%,Equal,"In RAM (boot.wim)",IniWrite,%ProjectDir%\script.project,IniVariablesReadEnv,ForceAllToRam,Yes
//If,%pScrollB_Build%,Equal,"Normal",IniWrite,%ProjectDir%\script.project,IniVariablesReadEnv,ForceAllToRam,No
//IniWrite,%ProjectDir%\script.project,IniVariablesReadEnv,GrubSkin,%BootSkin_Selected%
//IniWrite,%ProjectDir%\script.project,IniVariablesReadEnv,BootSkin,%BootSkin_Selected%
IniWrite,%ProjectDir%\script.project,IniVariablesReadEnv,Wpeinit,Normal
IniWrite,%ProjectDir%\script.project,IniVariablesReadEnv,SysType,%SysType%
If,%pScrollB_Boot%,Equal,Standard,IniWrite,%ProjectDir%\script.project,IniVariablesReadEnv,BootManager,Standard
If,%pScrollB_Boot%,Equal,Auto,IniWrite,%ProjectDir%\script.project,IniVariablesReadEnv,BootManager,Auto
If,%pScrollB_Boot%,Equal,"Grub4Dos (recomended)",IniWrite,%ProjectDir%\script.project,IniVariablesReadEnv,BootManager,Grub4Dos
If,%pScrollB_Boot%,Equal,IsoLinux,IniWrite,%ProjectDir%\script.project,IniVariablesReadEnv,BootManager,IsoLinux
If,%pScrollB_Boot%,Equal,BCDW,IniWrite,%ProjectDir%\script.project,IniVariablesReadEnv,BootManager,BCDW

[ProjectInfo_New_Write]
//Tip: ProjectInfo will be removed at a point in time - relevant functionalities already replaced with better adjustments here only for transaction period
//Tip: Project Authors: Project Info is only for ProjectAdmin adjustments - never use it on plugins - values and more already at script.project [IniVariables]
If,Not,ExistFile,%ProjectInfo%,Begin
Run,%ScriptFile%,ProjectInfo_New
Run,%ScriptFile%,ProjectInfo_New_Default
End
If,Not,ExistSection,%ProjectInfo%,ProjectInfo,IniAddSection,%ProjectInfo%,ProjectInfo
If,%pScrollB_Build%,Equal,Normal,IniWrite,%ProjectInfo%,ProjectInfo,BuildModel,Normal
If,%pScrollB_Build%,Equal,"In RAM (boot.wim)",IniWrite,%ProjectInfo%,ProjectInfo,BuildModel,RAM
//IniWrite,%ProjectInfo%,"ProjectInfo","Shell","%pScrollBox2%"
IniWrite,%ProjectInfo%,ProjectInfo,ScreenResolution,%ScreenResolution%
IniWrite,%ProjectInfo%,ProjectInfo,Locale,%pScrollB_Locale%
//CheckFileCopy
//If,%pScrollB_Build%,Equal,"In RAM (boot.wim)",IniWrite,%ProjectInfo%,ProjectInfo,ForceAllToRam,Yes
//If,%pScrollB_Build%,Equal,"Normal",IniWrite,%ProjectInfo%,ProjectInfo,ForceAllToRam,No
IniWrite,%ProjectInfo%,ProjectInfo,Wpeinit,Normal
IniWrite,%ProjectInfo%,ProjectInfo,SysType,%SysType%
IniWrite,%ProjectInfo%,ProjectInfo,SourceDir,%SourceDir%
//IniWrite,%ProjectInfo%,ProjectInfo,GrubSkin,%BootSkin_Selected%
//IniWrite,%ProjectInfo%,ProjectInfo,BootSkin,%BootSkin_Selected%
If,%pScrollB_Boot%,Equal,Standard,IniWrite,%ProjectInfo%,ProjectInfo,BootManager,Standard
If,%pScrollB_Boot%,Equal,Auto,IniWrite,%ProjectInfo%,ProjectInfo,BootManager,Auto
If,%pScrollB_Boot%,Equal,"Grub4Dos (recomended)",IniWrite,%ProjectInfo%,ProjectInfo,BootManager,Grub4Dos
If,%pScrollB_Boot%,Equal,IsoLinux,IniWrite,%ProjectInfo%,ProjectInfo,BootManager,IsoLinux
If,%pScrollB_Boot%,Equal,BCDW,IniWrite,%ProjectInfo%,ProjectInfo,BootManager,BCDW
//--
IniWrite,%ProjectDir%\script.project,Settings,Target,%TargetDir%
IniWrite,%ProjectDir%\script.project,Settings,TargetProfilesBaseDir,%TargetProfilesBaseDir%
IniWrite,%ProjectDir%\script.project,Settings,SettingsDrive,X:
//IniWrite,%ProjectDir%\script.project,BasePath,AppData,Windows\System32\Config\Systemprofile\AppData\Roaming
IniWrite,%ProjectDir%\script.project,BasePath,Info,"IniRead .. 'TargetProfilesBaseDir + BasePath_Value' gives target folder"
IniWrite,%ProjectDir%\script.project,BasePath,AppData,Users\Default\AppData\Roaming

[ProjectInfo_New]
FileCreateBlank,%ProjectInfo%
IniWrite,%ProjectInfo%,ProjectInfo,BuildModel,""
IniWrite,%ProjectInfo%,ProjectInfo,ScreenResolution,""
IniWrite,%ProjectInfo%,ProjectInfo,BootManager,""
IniWrite,%ProjectInfo%,ProjectInfo,Locale,""
IniWrite,%ProjectInfo%,ProjectInfo,Wpeinit,""
IniWrite,%ProjectInfo%,ProjectInfo,WimTools,""
IniWrite,%ProjectInfo%,ProjectInfo,ImageX,""
IniWrite,%ProjectInfo%,ProjectInfo,WimUtil,""
IniWrite,%ProjectInfo%,ProjectInfo,Language,""
IniWrite,%ProjectInfo%,ProjectInfo,SourceType,Win7CD
IniWrite,%ProjectInfo%,ProjectInfo,SourceDir,""
IniWrite,%ProjectInfo%,ProjectInfo,SystemFiles,""
IniWrite,%ProjectInfo%,ProjectInfo,SysType,""

[ProjectInfo_New_Default]
IniWrite,%ProjectInfo%,ProjectInfo,BuildModel,RAM
IniWrite,%ProjectInfo%,ProjectInfo,ScreenResolution,1024x768
IniWrite,%ProjectInfo%,ProjectInfo,BootManager,Grub4Dos
IniWrite,%ProjectInfo%,ProjectInfo,Locale,Auto
IniWrite,%ProjectInfo%,ProjectInfo,Wpeinit,normal
IniWrite,%ProjectInfo%,ProjectInfo,WimTools,ImageX
IniWrite,%ProjectInfo%,ProjectInfo,SourceType,Win7CD

[Oldies_Support__Finish]
//--------------------
//--------------------
//--------------------
//--------------------

[Intrface_Games__Start]
//--------------------
//--------------------

[BuildModel_Choice]
If,%pScrollB_Build%,Equal,Normal,Begin
Set,%CheckBootMGRSuccess%,Noo
If,%pScrollB_Boot%,Equal,Standard,Set,%CheckBootMGRSuccess%,Yes
If,%pScrollB_Boot%,Equal,Auto,Set,%CheckBootMGRSuccess%,Yes
If,Not,%CheckBootMGRSuccess%,Equal,Yes,Message,"You can not use 'NORMAL' build model with non standard boot manager. please use standard or Auto boot manager."
End

[BootMGR_Choice]
System,CURSOR,Wait
If,%pScrollB_Boot%,Equal,"Grub4Dos (recomended)",Begin
Visible,%LaunchGFXboot_button%,True,PERMANENT
Visible,%pScrollB_SkinG%,True,PERMANENT
Visible,%pScrollB_SkinI%,False,PERMANENT
Visible,%pTextL_Skin%,True,PERMANENT
End
Else,Begin
Visible,%LaunchGFXboot_button%,False,PERMANENT
If,%pScrollB_Boot%,Equal,IsoLinux,Begin
Visible,%pScrollB_SkinG%,False,PERMANENT
Visible,%pScrollB_SkinI%,True,PERMANENT
Visible,%pTextL_Skin%,True,PERMANENT
End
Else,Begin
Visible,%pScrollB_SkinG%,False,PERMANENT
Visible,%pScrollB_SkinI%,False,PERMANENT
Visible,%pTextL_Skin%,False,PERMANENT
End
End
System,RefreshInterface
System,CURSOR,Normal

[Show_Advanced_Gui]
System,CURSOR,Wait
Set,%AdvanedGui_CheckBox%,True,Permanent
Run,%ScriptFile%,Show-Hide-Simple_Gui,False
Run,%ScriptFile%,Show-Hide-Advanced_Gui,True
Run,%ScriptFile%,Show-Hide-Conditional
System,RefreshInterface
System,CURSOR,Normal

[Show_Simple_Gui]
System,CURSOR,Wait
Set,%AdvanedGui_CheckBox%,False,Permanent
Run,%ScriptFile%,Show-Hide-Simple_Gui,True
Run,%ScriptFile%,Show-Hide-Advanced_Gui,False
Run,%ScriptFile%,Show-Hide-Always_False
System,RefreshInterface
System,CURSOR,Normal

[Show-Hide-Conditional]
If,%NoWarnRegOverWrite_CheckBox%,Equal,True,Begin
Visible,%NoWarnRegOverWrite_Button_T%,False,PERMANENT
Visible,%NoWarnRegOverWrite_Button_F%,True,PERMANENT
End
Else,Begin
Visible,%NoWarnRegOverWrite_Button_T%,True,PERMANENT
Visible,%NoWarnRegOverWrite_Button_F%,False,PERMANENT
End
If,%NoWarnFileOverWrite_CheckBox%,Equal,True,Begin
Visible,%NoWarnFileOverWrite_Button_T%,False,PERMANENT
Visible,%NoWarnFileOverWrite_Button_F%,True,PERMANENT
End
Else,Begin
Visible,%NoWarnFileOverWrite_Button_T%,True,PERMANENT
Visible,%NoWarnFileOverWrite_Button_F%,False,PERMANENT
End
If,%SupportLogExecute_CheckBox%,Equal,True,Begin
Visible,%SupportLogExecute_Button_T%,False,PERMANENT
Visible,%SupportLogExecute_Button_F%,True,PERMANENT
End
Else,Begin
Visible,%SupportLogExecute_Button_T%,True,PERMANENT
Visible,%SupportLogExecute_Button_F%,False,PERMANENT
End
If,%NoPluginCache_CheckBox%,Equal,True,Begin
Visible,%NoPluginCache_Set_Enable_Button%,False,PERMANENT
Visible,%NoPluginCache_Set_Disable_Button%,True,PERMANENT
End
Else,Begin
Visible,%NoPluginCache_Set_Enable_Button%,True,PERMANENT
Visible,%NoPluginCache_Set_Disable_Button%,False,PERMANENT
End

[Show-Hide-Always_False]
Visible,%NoWarnRegOverWrite_Button_T%,False,PERMANENT
Visible,%NoWarnRegOverWrite_Button_F%,False,PERMANENT
Visible,%NoWarnFileOverWrite_Button_T%,False,PERMANENT
Visible,%NoWarnFileOverWrite_Button_F%,False,PERMANENT
Visible,%SupportLogExecute_Button_T%,False,PERMANENT
Visible,%SupportLogExecute_Button_F%,False,PERMANENT
Visible,%NoPluginCache_Set_Enable_Button%,False,PERMANENT
Visible,%NoPluginCache_Set_Disable_Button%,False,PERMANENT

[Show-Hide-Simple_Gui]
Visible,%pAdvancedOptionsButton%,#1,PERMANENT
Visible,%NoPluginCache_TextLabel%,#1,PERMANENT

[Show-Hide-Advanced_Gui]
Visible,%pSimpleOptionsButton%,#1,PERMANENT
Visible,%pBevel2%,#1,PERMANENT
Visible,%pBevel3%,#1,PERMANENT
Visible,%Button_Upload%,#1,PERMANENT
Visible,%Button_CompareEdit%,#1,PERMANENT
Visible,%NoPluginCache_TextLabel%,#1,PERMANENT
Visible,%UnBlock_Tools_CheckBox%,#1,PERMANENT
Visible,%UnBlock_Tools_Button%,#1,PERMANENT

[NoWarnRegOverWrite_T]
System,CURSOR,Wait
IniWrite,%ProjectDir%\script.project,IniVariables,NoWarnRegOverWrite,True
Visible,%NoWarnRegOverWrite_Button_T%,False,PERMANENT
Visible,%NoWarnRegOverWrite_Button_F%,True,PERMANENT
Set,%NoWarnRegOverWrite_CheckBox%,True,PERMANENT
System,RefreshInterface
System,CURSOR,Normal

[NoWarnRegOverWrite_F]
System,CURSOR,Wait
IniWrite,%ProjectDir%\script.project,IniVariables,NoWarnRegOverWrite,False
Visible,%NoWarnRegOverWrite_Button_T%,True,PERMANENT
Visible,%NoWarnRegOverWrite_Button_F%,False,PERMANENT
Set,%NoWarnRegOverWrite_CheckBox%,False,PERMANENT
System,RefreshInterface
System,CURSOR,Normal

[NoWarnFileOverWrite_T]
System,CURSOR,Wait
IniWrite,%ProjectDir%\script.project,IniVariables,NoWarnFileOverWrite,True
Visible,%NoWarnFileOverWrite_Button_T%,False,PERMANENT
Visible,%NoWarnFileOverWrite_Button_F%,True,PERMANENT
Set,%NoWarnFileOverWrite_CheckBox%,True,PERMANENT
System,RefreshInterface
System,CURSOR,Normal

[NoWarnFileOverWrite_F]
System,CURSOR,Wait
IniWrite,%ProjectDir%\script.project,IniVariables,NoWarnFileOverWrite,False
Visible,%NoWarnFileOverWrite_Button_T%,True,PERMANENT
Visible,%NoWarnFileOverWrite_Button_F%,False,PERMANENT
Set,%NoWarnFileOverWrite_CheckBox%,False,PERMANENT
System,RefreshInterface
System,CURSOR,Normal

[SupportLogExecute_T]
System,CURSOR,Wait
Visible,%SupportLogExecute_Button_T%,False,PERMANENT
Visible,%SupportLogExecute_Button_F%,True,PERMANENT
Set,%SupportLogExecute_CheckBox%,True,PERMANENT
System,RefreshInterface
System,CURSOR,Normal

[SupportLogExecute_F]
System,CURSOR,Wait
Visible,%SupportLogExecute_Button_T%,True,PERMANENT
Visible,%SupportLogExecute_Button_F%,False,PERMANENT
Set,%SupportLogExecute_CheckBox%,False,PERMANENT
System,RefreshInterface
System,CURSOR,Normal

[Log_LogAlways_T]
System,CURSOR,Wait
IniWrite,%ProjectDir%\script.project,IniVariables,SaveConditionLogAlways,1
Visible,%Log_LogAlways_Button_T%,False,PERMANENT
Visible,%Log_LogAlways_Button_F%,True,PERMANENT
Set,%Log_LogAlways_CheckBox%,True,PERMANENT
//-
Run,%ScriptFile%,NoPluginCache_Set_Enable_B
//-
System,RefreshInterface
System,CURSOR,Normal

[Log_LogAlways_F]
System,CURSOR,Wait
IniWrite,%ProjectDir%\script.project,IniVariables,SaveConditionLogAlways,0
Visible,%Log_LogAlways_Button_T%,True,PERMANENT
Visible,%Log_LogAlways_Button_F%,False,PERMANENT
Set,%Log_LogAlways_CheckBox%,False,PERMANENT
//-
Run,%ScriptFile%,NoPluginCache_Set_Disable_B
//-
System,RefreshInterface
System,CURSOR,Normal

[Intrface_Games__Finish]
//--------------------
//--------------------

[NoPluginCache_Set_Enable_Disable_B_INFO]
At [Process] write:
IniWrite,%ProjectDir%\script.project,IniVariables,NoPluginCache,%NoPluginCache_CheckBox%
At [Interface] write:
NoPluginCache_CheckBox=,0,3,322,140,16,18,False
NoPluginCache_Set_Enable_Button=,1,8,336,138,20,20,NoPluginCache_Set_Enable_B,unchecked.bmp,True,False,_NoPluginCache_Set_Enable_B_,True
NoPluginCache_Set_Disable_Button=,0,8,337,138,20,20,NoPluginCache_Set_Disable_B,checked.bmp,True,False,_NoPluginCache_Set_Disable_B_,True
NoPluginCache_TextLabel=NoPluginCache,1,1,357,140,83,18,8,Normal
At [InterfaceEncoded] :
checked.bmp...........
unchecked.bmp...........
At [Settings_Default]
Run,%ScriptFile%,NoPluginCache_Set_Disable_B
And If required See
Sections: [Show-Hide-Always_False] [Show-Hide-Conditional] [Show-Hide-Simple_Gui] [Show-Hide-Advanced_Gui]

[NoPluginCache_Set_Enable_B]
System,CURSOR,Wait
If,%AdvanedGui_CheckBox%,Equal,True,Begin
Visible,%NoPluginCache_Set_Enable_Button%,False,PERMANENT
Visible,%NoPluginCache_Set_Disable_Button%,True,PERMANENT
End
Set,%NoPluginCache_CheckBox%,True,Permanent
IniWrite,%ProjectDir%\script.project,IniVariables,NoPluginCache,%NoPluginCache_CheckBox%
System,RefreshInterface
System,CURSOR,Normal

[NoPluginCache_Set_Disable_B]
System,CURSOR,Wait
If,%AdvanedGui_CheckBox%,Equal,True,Begin
Visible,%NoPluginCache_Set_Enable_Button%,True,PERMANENT
Visible,%NoPluginCache_Set_Disable_Button%,False,PERMANENT
End
Set,%NoPluginCache_CheckBox%,False,Permanent
IniWrite,%ProjectDir%\script.project,IniVariables,NoPluginCache,%NoPluginCache_CheckBox%
System,RefreshInterface
System,CURSOR,Normal

[Intrface_Games__Finish2]
//--------------------
//--------------------
//--------------------
//--------------------

[UnBlock_Tools_P_B]
Run,%ScriptFile%,UnBlock_Tools_P

[UnBlock_Tools_P]
//Gena "PrepPE" - SE "Main Configuraton" have same [UnBlock_Tools_P] section
//To 'UnBlock' Tools on project - First thing to do before using any %Tools% be sure they are UnBlocked - http://www.thewindowsclub.com/fix-windows-blocked-access-file
//One day to remove Streams is to add files to an archive and extract them.
//Other way is using a utility to remove streams ex: https://docs.microsoft.com/en-us/sysinternals/downloads/streams // NirSoft utility seems not having option to remove all streams inside a folder: http://www.nirsoft.net/utils/alternate_data_streams.html
// Gena 30 MB Tools: Win10PESE 36 MB Tools: 1 second and ~ 190 - 341 - 471 milliseconds
If,Not,ExistFile,%ProjectDir%\Utils\SevenZip_920_File.Script,Call,Download,%ProjectDir%\Utils\SevenZip_920_File.Script,http://gena.cwcodes.net/Projects/Gena/Utils/SevenZip_920_File.Script
If,Not,ExistSection,%ProjectDir%\Utils\SevenZip_920_File.Script,EncodedFile-7z920_x86-7z.dll,Call,Download,%ProjectDir%\Utils\SevenZip_920_File.Script,http://gena.cwcodes.net/Projects/Gena/Utils/SevenZip_920_File.Script
//-
If,Not,ExistFile,%ProjectDir%\Utils\SevenZip_920_File.Script,Echo,"UnBlcok Tools - SevenZip_920_File Plugin NOT found - Failure",Warn
If,Not,ExistSection,%ProjectDir%\Utils\SevenZip_920_File.Script,EncodedFile-7z920_x86-7z.dll,Echo,"UnBlcok Tools - SevenZip_920_File Plugin - 7z920_x86-7z.dll NOT found - Failure",Warn
//-
If,ExistFile,%ProjectDir%\Utils\SevenZip_920_File.Script,Begin
If,ExistSection,%ProjectDir%\Utils\SevenZip_920_File.Script,EncodedFile-7z920_x86-7z.dll,Begin
Call,DirDeleteMake,%BaseDir%\Temp\Macro_Library\Tools_UnBlock
ExtractFile,%ProjectDir%\Utils\SevenZip_920_File.Script,7z920_x86,7z.exe,%BaseDir%\Temp\Macro_Library\Tools_UnBlock
ExtractFile,%ProjectDir%\Utils\SevenZip_920_File.Script,7z920_x86,7z.dll,%BaseDir%\Temp\Macro_Library\Tools_UnBlock
ExtractFile,%ProjectDir%\Utils\SevenZip_920_File.Script,7z920_x86,7zG.exe,%BaseDir%\Temp\Macro_Library\Tools_UnBlock
ShellExecute,Hide,%BaseDir%\Temp\Macro_Library\Tools_UnBlock\7z.exe,"a -t7z #$q%BaseDir%\Temp\Macro_Library\Tools_UnBlock\Tools.7z#$q #$q.\*#$q -mx0",%Tools%
If,%ExitCode%,Equal,0,Begin
//Call,DirDeleteMake,%Tools% - DO NOT use - Keep Tools Junctionable
System,FILEREDIRECT,OFF
ShellExecute,Hide,cmd.exe,"/C del /q /f #$q%Tools%\*#$q&del /q /f /A:R /A:H /A:S /A:A #$q%Tools%\*#$q"
ShellExecute,Hide,cmd.exe,"/C rd /s /q #$q%Tools%\src#$q"
ShellExecute,Hide,cmd.exe,"/C rd /s /q #$q%Tools%\x64#$q"
ShellExecute,Hide,cmd.exe,"/C rd /s /q #$q%Tools%\x86#$q"
System,FILEREDIRECT,ON
ShellExecute,Hide,%BaseDir%\Temp\Macro_Library\Tools_UnBlock\7z.exe,"x #$q%BaseDir%\Temp\Macro_Library\Tools_UnBlock\Tools.7z#$q -y -o#$q%Tools%#$q"
If,%ExitCode%,Equal,0,Call,DirDelete,%BaseDir%\Temp\Macro_Library\Tools_UnBlock
Else,Echo,"UnBlcok Tools - Extract 7z Failure - ErrorLevel=%ExitCode%",Warn
End
Else,Echo,"UnBlcok Tools - Create 7z Failure - ErrorLevel=%ExitCode%",Warn
End
End

[History-Old]
History015=sbaeder - fix the multi-boot type entries so that they work with OtherOS and ISO building
History016=Lancelot - there are 2 different mount 'issues'.
History016=1) you can not mount previously mounted folder --> solution: remove folder and create again (how to reproduce: I can not remember now but I guess latest imagex/wimmount was causing this......)
History016=2) target mount folder already being used but does not seem to exists -- can not be mounted --> solution: create base folder(s) than use imagex unmount (how to reproduce: 1) mount to C:\1\2\BootWimSrc C:\1\2\InstallWimSrc 2) use rd /s /q C:\1\2 --> you get a shadow mount now --> you can not mount/unmount now ;) --> solution create C:\1\2 folder --> imagex unmount C:\1\2\BootWimSrc & C:\1\2\InstallWimSrc ;) )
History016=Info: unmount fix way (shortly): 1) check if mounted (target..cmd.exe) 1b) create mount base* folder(s) with cmd 1c) successfull unmount 2) delete folder(s) 3) make folder(s) ==> clear all the mess to remount same folder(s) :>:>:> (Happy ending untill next imagex ;))
History017=ChrisR - Some change in configuration and preconfiguration process
History020=Lancelot - IniVariables support added // VariablesOtherOS added
History021=ChrisR - Adding screen resolution
History022=Lancelot - [LogSettings] added
History023=Lancelot - no need project.ini on server ;)
History024=Lancelot - interface cosmetics to guide providing support log (for no-failure build cases)
History025=Lancelot - Codes Organised nicer - backward compatibility enhanced
History026=Lancelot - BootManager not required anymore
History027=Lancelot - IniVariablesReadEnv fix
History028=Lancelot - NoWarnRegOverWrite NoWarnFileOverWrite buttons checkboxes added ( NoWarnROW NoWarnFOW )
History028=Lancelot - AdvancedGUI - SimpleGUI adjustments made (easly expandable)
History028=Lancelot - Winbuilder bug interface incompatibility workarounded (yes again and again... :>) (Tip: winbuilder code write method for never ending workarounds to winbuilder bugs = hold left ear with right hand :>:> SMILE :>:>)
History029=Lancelot - Cosmetics for buttons (=less confusing for newbies and normal users ;))
History032=Lancelot - updated following ache reports reply 29 ... http://theoven.org/index.php?topic=131.msg4124#msg4124 specially reply 32 -> empty values cause C:\.....
History033=Lancelot - NoRootDirCheck no project installation on root implemented to prevent a set of mess on rootdir
History034=ChrisR - Deleting WimUtil.log added to the process of the "Clean Temporary files" button
History035=ChrisR - GFX-BootMenu added to the choice of BootSkin for Grub4Dos (instead of Iso and Copy to USB plugin). Skin choice following the selected boot manager
History036=Lancelot - Appdata standartized
History037=Lancelot - Clean new script.project variables... (projectinfo -> script.project)
History038=ChrisR - Added choice for the keyboard and time zone. Added "Import HostOS" for System Locale, Keyboard and Timezone.
History039=ChrisR - Added choice for Format (international)
History040=Lancelot - [SupportLog_Execute] added (initially for Debug.script of ChrisR)
History041=ChrisR - Find Win7, boot.wim and Install.wim  and moved into images.script, more appropriate with ExtractWimFolder. And check Minimum files to the root of Win7
History042=ChrisR - Interface check on Build Model
History044=ChrisR - Following AU3381 updated

[InterfaceEncoded]
Save.bmp=1016,1355
dustr.bmp=893bytes,1Kb
Question.bmp=704,939
Exclamation.bmp=452,603
checked.bmp=165,220
unchecked.bmp=137,183
BLogo.bmp=582,776
DoubleJDesignRavenna3dArrowDown0016016.bmp=622,830
BokehliciaCaptivaSoftwareupload0016016.bmp=676,902
AmperossQetto2Move0016016.bmp=893,1191

[EncodedFile-InterfaceEncoded-checked.bmp]
lines=0
0=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WWKQvVBt5JDKp4vtfiNmpyNuei0+T5269kumlsaViz8fsTlErdla/y5F6h7O7RVNZGINz43r+BohX2fFG5AeWsPHcLePkRGxMkNX4g+epYuHOwzEmv0RcrtA4f2XE1okZukYDKseCCD6pb67qO3niE2kZnm3WcnsuJjiEF07mFVpR6sAVf7YnzaLuwZ4nOPwTczM08sqSGcYBSMR+HNB6Bmc2OX/ioRsZ2ACAIgGBhWQcuZkAQAAAAIAAAAkAAAAmAkAAAAAAAABAAAAAAAAAAAAAAA

[DownloadXXX]
Call,DownloadXQ

[UploadXXX]
Call,UploadXQ

[Settings_Default]
Run,%ScriptFile%,NoPluginCache_Set_Disable_B
Run,%ScriptFile%,Show_Simple_Gui

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