As always thank you
Hmm I'm not sure the "Create ISO/CD/DVD" script in vistaPE choose the good mkisofs
ok
I have copied the vista DVD in %BaseDir%\VistaSrc
So %sourcedir% is this directory (%BaseDir\VistaSrc)
I also defined AIK to "%program files%\Windows AIK"
I have choosen :
%BuildModel% = MultiBoot
I have in %targetdir% vistape.wim
I have boot/etfsboot.com
I have %targetdir%\boot\grldr
I don't have %targetdir%\bootsect.bin
So looking this
[Process]
ReadENV
If,"%BuildModel%",Equal,"MultiBoot",Run,%ScriptFile%,AutoBootMGR
TRUE so RUN AutoBootMGR
If,"%BuildModel%",Equal,"RAM",Set,%BootSect%,"boot/etfsboot.com"
If,"%BuildModel%",Equal,"Normal",Set,%BootSect%,"boot/etfsboot.com"
If,NotExistFile,"%TargetDir%\vistape.wim",Set,%BootSect%,"boot/etfsboot.com"
FALSE vistape.wim exists
Retrieve,FolderSize,%TargetDir%,%sizeFolder%
StrFormat,Bytes,%sizeFolder%
echo,"Creating ISO: [%isofile%] Folder size: %sizeFolder%"
If,"%BootSect%",Equal,"Boot/etfsboot.com",Run,%ScriptFile%,NormalCD
FALSE
If,"%BootSect%",NotEqual,"Boot/etfsboot.com",Run,%ScriptFile%,CompatibleCD
TRUE so the script choose CompatibleCD
Retrieve,FileSize,%ISOfile%,%sizeISO%
StrFormat,Bytes,%sizeISO%
echo,"ISO build size is %sizeISO%"
If,%pCheckBox2%,Equal,True,Run,%ScriptFile%,BurnIso
[AutoBootMGR]
Set,%BootSect%,"boot/etfsboot.com"
TRUE
If,ExistFile,"%targetdir%\boot\grldr",Set,%BootSect%,"boot/grldr"
TRUE
If,ExistFile,"%targetdir%\bootsect.bin",Set,%BootSect%,"bootsect.bin"
FALSE
So finally %BootSect% = "boot/grldr"
IT IS THE COMPATIBLECD WHICH IS RUN
[CompatibleCD]
If,%pCheckBox1%,NotEqual,true,ShellExecute,Hide,#$q%Tools%\mkisofs.exe#$q,"-rdNlDTJ #$s-force-uppercase -duplicates-once -joliet-long -hide-joliet-trans-tbl -volid #$q%pTextBox1%#$q -eltorito-boot #$q%BootSect%#$q -no-emul-boot -boot-load-size 4 -boot-info-table -hide boot.catalog#$s-o #$q%IsoFile%#$q #$q%targetdir%#$q"
If,%pCheckBox1%,Equal,true,ShellExecute,Open,#$q%Tools%\mkisofs.exe#$q,"-rdNlDTJ #$s-force-uppercase -duplicates-once -joliet-long -hide-joliet-trans-tbl -volid #$q%pTextBox1%#$q -eltorito-boot #$q%BootSect%#$q -no-emul-boot -boot-load-size 4 -boot-info-table -hide boot.catalog#$s-o #$q%IsoFile%#$q #$q%targetdir%#$q"
And I'd prefer it'd be NORMALCD
[NormalCD]
If,%pCheckBox1%,NotEqual,true,ShellExecute,Hide,#$q%Tools%\mkisofs.exe#$q,"-iso-level 4#$s-force-uppercase -volid #$q%pTextBox1%#$q -b #$q%BootSect%#$q -no-emul-boot -boot-load-size 4 -hide boot.catalog#$s-duplicates-once -o #$q%IsoFile%#$q #$q%targetdir%#$q"
If,%pCheckBox1%,Equal,true,ShellExecute,Open,#$q%Tools%\mkisofs.exe#$q,"-iso-level 4#$s-force-uppercase -volid #$q%pTextBox1%#$q -b #$q%BootSect%#$q -no-emul-boot -boot-load-size 4 -hide boot.catalog#$s-duplicates-once -o #$q%IsoFile%#$q #$q%targetdir%#$q"
Shouldn't it be better to have the NormalCD process (as it relies to Grub4Dos) ?
Do you know why I don't have %targetdir%\bootsect.bin ?
What are the conditions in VISTAPE to %targetdir%\bootsect.bin ?
I have to say that :
- Vista DVD is not sp1
- Windows AIK is for vista sp 1 and others (latest version) :
Latest Windows AIK 6001.18000.080118-1840-kb3aik-xx.isoWhy don't use oscdimg ?Something like
oscdimg -n -h -bc:\winbuilder\target\VistaPE\boot\etfsboot.com c:\winbuilder\target\VistaPE c:\winbuilder\ISO\VistaPE.iso