I'm using nt6 fast installer which helps me alot when it comes to installing win7 to hard disks.
I have created a .wim file of xp and would like to install it via this way as well, However, I am having a problem when it comes to applying the boot files and sector to the disk.
could somebody please help me to add a menu which would help me choose whether I'd like to add either the windows 7 or xp MBR to the disk, please?
I understand that:
echo Creating bootmgr menu and bootsect...
bcdboot %installpath%\Windows /s %bootpath% /l %lang% 2>nul
if exist %bootpath%\ntldr (
REM Post-process tag if exist NT 5.x in order to add an ntldr item in the bootmgr menu
md %installpath%\$ntldr
)
bootsect.exe /nt60 %bootpath% >nul
echo The boot menu and bootsector has been created!
Will create the bootmgr along with the files and if xp is found, will add windows xp to the boot menu.
However, I'd like to have a menu which is something like:
1. apply ntldr boot code.
bootsect.exe /nt52 %bootpath% >nul
2. apply bootmgr and add existing ntldr to bootmenu:
bcdboot %installpath%\Windows /s %bootpath% /l %lang% 2>nul
if exist %bootpath%\ntldr (
REM Post-process tag if exist NT 5.x in order to add an ntldr item in the bootmgr menu
md %installpath%\$ntldr
)
bootsect.exe /nt60 %bootpath% >nul
Really, I have no knowledge of batch creation, and your help would be much appreciated.
Regards,








