Make OSInstall.ZC skip MBR install if UEFI-booted.

This commit is contained in:
TomAwezome 2022-10-11 18:23:38 -04:00
parent dac6f9efe1
commit 361833f42a

View file

@ -152,12 +152,15 @@ U0 OSUpgrade()
res_num = I64Get("Enter desired list num ($$PURPLE$$<ENTER>$$FG$$ for max res): ",, 1);
XTalkWait(task, "%d\n\n\n", res_num); //skip through Disk Cache, Options
if (!sys_is_uefi_booted)
{
"$$RED$$Install Master Boot Loader?$$FG$$";
if (YorN)
{
'\n';
BootMHDIns(drv_let);
}
}
WinVert(task->win_top, Fs->win_bottom);
Kill(task);
@ -256,8 +259,11 @@ U0 VMInstallWiz()
{
VMInstallDrive(task, 'C', ata_port, atapi_port);
VMInstallDrive(task, 'D', ata_port, atapi_port);
if (!sys_is_uefi_booted)
{
BootMHDIns('C');
}
}
WinVert(task->win_top, Fs->win_bottom);
Kill(task);
@ -339,13 +345,15 @@ U0 RegularInstallWiz()
VideoRep;
res_num = I64Get("Enter desired list num ($$PURPLE$$<ENTER>$$FG$$ for max res): ",, 1);
XTalkWait(task, "%d\n\n\n", res_num); //skip through Disk Cache, Options
if (!sys_is_uefi_booted)
{
"$$RED$$Install Master Boot loader?$$FG$$";
if (YorN)
{
'\n';
BootMHDIns(drv_let);
}
}
WinVert(task->win_top, Fs->win_bottom);
Kill(task);
}