mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-25 20:24:26 -04:00
[wintogo] add an error popup if we can't select the version
This commit is contained in:
parent
9950f5c088
commit
3b4b742772
4 changed files with 18 additions and 10 deletions
|
@ -1308,8 +1308,15 @@ static BOOL BootCheck(void)
|
|||
}
|
||||
}
|
||||
// If multiple versions are available, asks the user to select one before we commit to format the drive
|
||||
if (!SetWinToGoIndex())
|
||||
switch(SetWinToGoIndex()) {
|
||||
case -1:
|
||||
MessageBoxExU(hMainDialog, lmprintf(MSG_073), lmprintf(MSG_291), MB_OK | MB_ICONERROR | MB_IS_RTL, selected_langid);
|
||||
// fall through
|
||||
case -2:
|
||||
return FALSE;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
} else if (tt == TT_UEFI) {
|
||||
if (!IS_EFI_BOOTABLE(img_report)) {
|
||||
// Unsupported ISO
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue