File [%BaseDir%\Projects\LiveXP\EasyBoot\easyboot-iso.script] Version [2]
IF - Directory exists: [C:\Easyboot\disk1\ezboot] evaluated string: [If,NotEXISTDIR,%root%\ezboot,Message,#$xScript cannot find path to folder ezboot in EasyBoot!#$x#$xScript is halted - Please set path to ''EasyBoot\disk1''!,WARNING]
IF - Directory exists: [C:\Easyboot\disk1\ezboot] evaluated string: [If,NotEXISTDIR,%root%\ezboot,Exit,ExitMessage]
Creating folders and extracting necessary files for the process
DirDelete - Deleted directory [%BaseDir%\Temp\*.*]
FileDelete - Sucessfully deleted [%BaseDir%\Temp\*.*]
IF - Directory exists: [C:\Easyboot\disk1\EZBOOT\ISOFILES] evaluated string: [If,NOTEXISTDIR,%root%\EZBOOT\ISOFILES,DirMake,%root%\EZBOOT\ISOFILES]
DirMake - Directory already exists, ignoring: [C:\Easyboot\disk1\EZBOOT\ISOFILES\DELL]
IF - File does not exist: [C:\Easyboot\disk1\EZBOOT\ISOFILES\DELL.ISO.gz] evaluated string: [If,EXISTFILE,%root%\EZBOOT\ISOFILES\%pTextBox16%.ISO.gz,FileDelete,%root%\EZBOOT\ISOFILES\%pTextBox16%.ISO.gz]
DirMake - Created directory: [%BaseDir%\Temp\newimage]
DirMake - Created directory: [%BaseDir%\Temp\newimage\menu]
ExtractAllFiles - [%BaseDir%\Projects\LiveXP\EasyBoot\easyboot-iso.script] Section [Folder1] to: [%BaseDir%\Temp\newimage]
ExtractFile - [grldr] to: [%BaseDir%\Temp\newimage\menu]
IF - [False] is equal to: [false] evaluated string: [if,%pCheckBox1%,Equal,false,ExtractFile,%ScriptFile%,Folder2,menu.txt,%Temp%\newimage\menu]
ExtractFile - [menu.txt] to: [%BaseDir%\Temp\newimage\menu]
IF - [False] is not equal to: [true] evaluated string: [if,%pCheckBox1%,Equal,true,ExtractFile,%ScriptFile%,Folder2,menu2.txt,%Temp%\newimage\menu]
Locate ISO-file...
Message:
SCRIPT NEED HELP TO EXACTLY LOCATE ISO-FILE
BROWSE AND DOUBLE-CLICK TO ISO-FILE!
Retrieve - A file was chosen from: [C:\] to variable: [%file%] with result: [D:\Unsorted\Desktop\Todo\SW\Esyboot\DELL.iso]
IF - File exists: [*.iso] evaluated string: [If,NotEXISTFILE,*.iso,Message,Wrong type of file! Can't find extension 'ISO' - Script stopped!,CONFIRMATION]
IF - File exists: [*.iso] evaluated string: [If,NotEXISTFILE,*.iso,DirDelete,%Temp%\newimage]
IF - File exists: [*.iso] evaluated string: [If,NotEXISTFILE,*.iso,Exit,ExitMessage]
Copy ISO-file to EasyBoot - this may take several minutes - be patient...
IF - [False] is equal to: [false] evaluated string: [if,%pCheckBox1%,Equal,false,FileRename,%file%,%pTextBox16%.ISO]
FileRename - Successfully renamed file: [D:\Unsorted\Desktop\Todo\SW\Esyboot\DELL.iso] to:[DELL.ISO]
IF - [False] is equal to: [false] evaluated string: [if,%pCheckBox1%,Equal,false,FileCopy,"%pTextBox16%.ISO","%root%\EZBOOT\ISOFILES\%pTextBox16%"]
FileCopy - Copied [DELL.ISO] to: [C:\Easyboot\disk1\EZBOOT\ISOFILES\DELL]
IF - [False] is equal to: [false] evaluated string: [if,%pCheckBox1%,Equal,false,FileRename,%pTextBox16%.ISO,%file%]
FileRename - Successfully renamed file: [DELL.ISO] to:[D:\Unsorted\Desktop\Todo\SW\Esyboot\DELL.iso]
IF - [False] is equal to: [false] evaluated string: [if,%pCheckBox1%,Equal,false,TXTReplace,%Temp%\newimage\menu\menu.txt,TEMP,%pTextBox16%]
TXTReplace - Replaced strings in file: [%BaseDir%\Temp\newimage\menu\menu.txt] string [TEMP] with string: [DELL]
IF - [False] is not equal to: [true] evaluated string: [if,%pCheckBox1%,Equal,true,TXTReplace,%Temp%\newimage\menu\menu2.txt,TEMP,%pTextBox16%]
TXTReplace - Replaced strings in file: [%BaseDir%\Temp\newimage\menu\*.txt] string [map --heads=0 --sectors-per-track=0] with string: [map]
IF - [False] is equal to: [false] evaluated string: [if,%pCheckBox1%,Equal,false,FileRename,%Temp%\newimage\menu\menu.txt,%Temp%\newimage\menu\menu.lst]
FileRename - Successfully renamed file: [%BaseDir%\Temp\newimage\menu\menu.txt] to:[%BaseDir%\Temp\newimage\menu\menu.lst]
IF - [False] is not equal to: [true] evaluated string: [if,%pCheckBox1%,Equal,true,FileRename,%Temp%\newimage\menu\menu2.txt,%Temp%\newimage\menu\menu.lst]
ShellExecute: [Open] using: [%BaseDir%\Temp\newimage\bfi.exe] with parameters: [ -v -b=%BaseDir%\Temp\newimage\grubmbr -t=2 -f=%BaseDir%\Temp\newimage\DELL.img %BaseDir%\Temp\newimage\menu]
IF - [False] is not equal to: [true] evaluated string: [if,%pCheckBox1%,Equal,true,Run,%ScriptFile%,gzip]
IF - [False] is equal to: [false] evaluated string: [if,%pCheckBox1%,Equal,false,FileCopy,%newimage%\%pTextBox16%.img,%root%\EZBOOT\ISOFILES\%pTextBox16%]
FileCopy - Failed to copy [%BaseDir%\Temp\newimage\DELL.img] to: [C:\Easyboot\disk1\EZBOOT\ISOFILES\DELL]
Halt
Finished processing script: EasyBoot-ISO (easyboot-iso.script)
Script time: 6 seconds and 829 milliseconds
Script has been sucessfully processed!
|