[main]
title=Grub4Dos
Description=grub4dos 0.4.4 2008-08-08
http://download.gna.org/grub4dos/
http://download.gna.org/grub4dos/
Selected=True
Level=1
Author=NightMan
Contact=vistape@vistape.net
Credits=
Locked=false
Version=12
Date=12.10.2008
Updates=
Download_Level=0

[variables]
%MenuFile_GRUB%=%targetdir%\menu.lst

[Process]
Echo,Processing Grub4Dos boot manager...
ReadENV
If,"%BuildModel%",Equal,"MultiBoot",Run,%ScriptFile%,Grub4DosMGR

[Grub4DosMGR]
Echo,Processing Grub4Dos boot manager...
If,ExistFile,"%targetdir%\boot\grldr",DeleteFile,"%targetdir%\boot\grldr"
If,ExistFile,"%targetdir%\boot\memtest.bin",DeleteFile,"%targetdir%\boot\memtest.bin"
If,ExistFile,"%MenuFile_GRUB%",DeleteFile,"%MenuFile_GRUB%"
If,ExistFile,"%targetdir%\boot\sunset.gz",DeleteFile,"%targetdir%\boot\sunset.gz"
If,ExistFile,"%targetdir%\boot\sunrise.gz",DeleteFile,"%targetdir%\boot\sunrise.gz"
If,ExistFile,"%targetdir%\boot\face.gz",DeleteFile,"%targetdir%\boot\face.gz"
If,ExistFile,"%targetdir%\boot\gentleblue.gz",DeleteFile,"%targetdir%\boot\gentleblue.gz"
If,ExistFile,"%targetdir%\boot\zion.gz",DeleteFile,"%targetdir%\boot\zion.gz"
ExtractFile,%ScriptFile%,Grub,"grldr","%targetdir%\boot"
ExtractFile,%ScriptFile%,Grub,"memtest.bin","%targetdir%\boot"
ExtractFile,%ScriptFile%,Grub,"sunset.gz","%targetdir%\boot"
ExtractFile,%ScriptFile%,Grub,"sunrise.gz","%targetdir%\boot"
ExtractFile,%ScriptFile%,Grub,"face.gz","%targetdir%\boot"
ExtractFile,%ScriptFile%,Grub,"gentleblue.gz","%targetdir%\boot"
ExtractFile,%ScriptFile%,Grub,"zion.gz","%targetdir%\boot"
ExtractFile,%ScriptFile%,Grub,"memdisk","%targetdir%\boot"
FileCreateBlank,"%MenuFile_GRUB%"
If,"%GrubSkin%",Equal,"SunSet",TXTAddLine,"%MenuFile_GRUB%","splashimage /boot/sunset.gz","Append"
If,"%GrubSkin%",Equal,"SunRise",TXTAddLine,"%MenuFile_GRUB%","splashimage /boot/sunrise.gz","Append"
If,"%GrubSkin%",Equal,"Face",TXTAddLine,"%MenuFile_GRUB%","splashimage /boot/face.gz","Append"
If,"%GrubSkin%",Equal,"Gentleblue",TXTAddLine,"%MenuFile_GRUB%","splashimage /boot/gentleblue.gz","Append"
If,"%GrubSkin%",Equal,"Zion",TXTAddLine,"%MenuFile_GRUB%","splashimage /boot/zion.gz","Append"
If,"%GrubSkin%",Equal,"Text",TXTAddLine,"%MenuFile_GRUB%","color white/blue green/blue","Append"
TXTAddLine,"%MenuFile_GRUB%","timeout 30","Append"
TXTAddLine,"%MenuFile_GRUB%","default 0","Append"
TXTAddLine,"%MenuFile_GRUB%"," ","Append"
TXTAddLine,"%MenuFile_GRUB%","title VistaPE","Append"
TXTAddLine,"%MenuFile_GRUB%","chainloader /BOOTMGR","Append"
TXTAddLine,"%MenuFile_GRUB%"," ","Append"
#If,ExistFile,"%ScriptDir%\grub-menu-addon.lst",ShellExecute,Hide,#$qcmd.exe#$q,"/c copy /b #$q%MenuFile_GRUB%#$q + #$q%ScriptDir%\grub-menu-addon.lst#$q #$q%MenuFile_GRUB%#$q"

[AuthorEncoded]
authorlogo.jpg=3193,4260

[EncodedFile-AuthorEncoded-authorlogo.jpg]
lines=1
[encoded data, 4262 characters]

[EncodedFolders]
Grub

[Grub]
sunrise.gz=45Kb,60Kb
sunset.gz=33Kb,44Kb
zion.gz=60Kb,81Kb
face.gz=63Kb,84Kb
gentleblue.gz=88Kb,117Kb
memtest.bin=45Kb,60Kb
memdisk=10Kb,14Kb
grldr=103009,137346

[EncodedFile-Grub-sunrise.gz]
lines=15
[encoded data, 62017 characters]

[EncodedFile-Grub-sunset.gz]
lines=11
[encoded data, 45945 characters]

[EncodedFile-Grub-zion.gz]
lines=20
[encoded data, 83293 characters]

[EncodedFile-Grub-face.gz]
lines=21
[encoded data, 86290 characters]

[EncodedFile-Grub-gentleblue.gz]
lines=29
[encoded data, 120719 characters]

[EncodedFile-Grub-memtest.bin]
lines=15
[encoded data, 62362 characters]

[EncodedFile-Grub-memdisk]
lines=3
[encoded data, 15018 characters]

[EncodedFile-Grub-grldr]
lines=33
[encoded data, 137438 characters]

