- Timestamp:
- Jun 1, 2022 6:58:02 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 151663
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVM.cpp
r94660 r95166 716 716 void UIWizardNewVM::setISOFilePath(const QString &strISOFilePath) 717 717 { 718 QFileInfo isoFileInfo(strISOFilePath);719 if (!isoFileInfo.exists())720 return;721 722 718 AssertReturnVoid(!m_comUnattended.isNull()); 723 719 m_comUnattended.SetIsoPath(strISOFilePath); -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMNameOSTypePage.cpp
r95165 r95166 528 528 QString strMessage; 529 529 if (m_pNameAndSystemEditor->ISOImagePath().isEmpty()) 530 strMessage = UIWizardNewVM::tr("No ISO selected, the guest OS will need to be installed manually.");530 strMessage = UIWizardNewVM::tr("No ISO image is selected, the guest OS will need to be installed manually."); 531 531 else if (pWizard->detectedOSTypeId().isEmpty()) 532 strMessage = UIWizardNewVM::tr("OS type cannot be determined from the selected ISO, the guest OS will need to be installed manually."); 532 strMessage = UIWizardNewVM::tr("OS type cannot be determined from the selected ISO, " 533 "the guest OS will need to be installed manually."); 533 534 else if (!pWizard->detectedOSTypeId().isEmpty()) 534 535 { 536 QString strType = uiCommon().vmGuestOSTypeDescription(pWizard->detectedOSTypeId()); 535 537 if (!pWizard->isUnattendedInstallSupported()) 536 strMessage = UIWizardNewVM::tr("Detected OS type cannot be installed unattendedly, the guest OS will need to be installed manually."); 538 strMessage = QString("%1 %2. %3").arg(UIWizardNewVM::tr("Detected OS type: ")).arg(strType) 539 .arg(UIWizardNewVM::tr("This OS type cannot be installed unattendedly. The install " 540 "needs to be started manually.")); 537 541 else if (pWizard->skipUnattendedInstall()) 538 542 strMessage = UIWizardNewVM::tr("You have selected to skip unattended guest OS install, the guest OS will need to be installed manually."); 539 543 else 540 strMessage = UIWizardNewVM::tr("After closing this wizard the guest OS system will start installing from the selected ISO."); 544 strMessage = QString("%1 %2. %3").arg(UIWizardNewVM::tr("Detected OS type: ")).arg(strType) 545 .arg(UIWizardNewVM::tr("This OS type can be installed unattendedly. The install " 546 "will start after this wizard is closed.")); 541 547 } 542 548 … … 603 609 setEditionSelectorEnabled(); 604 610 updateInfoLabel(); 611 612 /* Disable OS type selector(s) to prevent user from changing guest OS type manually: */ 613 if (m_pNameAndSystemEditor) 614 m_pNameAndSystemEditor->setOSTypeStuffEnabled(pWizard->detectedOSTypeId().isEmpty()); 615 605 616 emit completeChanged(); 606 617 }
Note:
See TracChangeset
for help on using the changeset viewer.