# How to add specific Windows Install ISOs to the Main E2B menu
# Edit the examples to match your ISOs and add more entries if required - copy to \_ISO\MAINMENU folder

# empty menu line
title  \n
root () > nul && /%grub%/configX.g4b (bd)/%grub%/menuWinInstall.lst
boot


# Use this for Vista/SVR2K8R2/Win7 ISOs
iftitle [if exist /_ISO/WINDOWS/Win7/Win7_32_SP1.iso] Install Win7 SP1 32-bit \n Install from the ISO
set MFOLDER=/_ISO/WINDOWS/WIN7
set ISO=Win7_32_SP1.iso
/%grub%/RunVista.g4b  %MFOLDER%
boot

# use this for Win8/8.1/SVR2012 ISOs
iftitle [if exist /_ISO/WINDOWS/Win8/Windows_8.1_EN-US_x86.ISO] Install Win8.1 32-bit \n Install from the ISO
set MFOLDER=/_ISO/WINDOWS/WIN8
set ISO=Windows_8.1_EN-US_x86.ISO
/%grub%/RunWin8.g4b  %MFOLDER%
boot

# Add more here...

# empty menu line

title  \n
root () > nul && /%grub%/configX.g4b (bd)/%grub%/menuWinInstall.lst
boot
