- Timestamp:
- Dec 10, 2010 10:58:34 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/GuestImpl.cpp
r34905 r34942 460 460 { 461 461 rc = TaskGuest::setProgressErrorInfo(VBOX_E_FILE_ERROR, aTask->progress, 462 Guest::tr("Invalid installation medium (%s) detected"),462 Guest::tr("Invalid installation medium detected: \"%s\""), 463 463 aTask->strSource.c_str()); 464 464 } … … 475 475 if (RT_FAILURE(vrc)) 476 476 rc = TaskGuest::setProgressErrorInfo(VBOX_E_IPRT_ERROR, aTask->progress, 477 Guest::tr("Could not seek to setup file on installation medium (%Rrc)"), vrc); 477 Guest::tr("Could not seek to setup file on installation medium \"%s\" (%Rrc)"), 478 aTask->strSource.c_str(), vrc); 478 479 } 479 480 else … … 483 484 case VERR_FILE_NOT_FOUND: 484 485 rc = TaskGuest::setProgressErrorInfo(VBOX_E_IPRT_ERROR, aTask->progress, 485 Guest::tr("Setup file was not found on installation medium")); 486 Guest::tr("Setup file was not found on installation medium \"%s\""), 487 aTask->strSource.c_str()); 486 488 break; 487 489 488 490 default: 489 491 rc = TaskGuest::setProgressErrorInfo(VBOX_E_IPRT_ERROR, aTask->progress, 490 Guest::tr("An unknown error occured while retrieving information of setup file (%Rrc)"), vrc); 492 Guest::tr("An unknown error (%Rrc) occured while retrieving information of setup file on installation medium \"%s\""), 493 vrc, aTask->strSource.c_str()); 491 494 break; 492 495 } … … 499 502 { 500 503 /* Okay, we're ready to start our copy routine on the guest! */ 501 LogRel(("Automatic update of Guest Additions started\n"));502 504 aTask->progress->SetCurrentOperationProgress(15); 503 505 … … 542 544 * support the guest execution feature in this version). */ 543 545 case VERR_NOT_FOUND: 546 LogRel(("Guest Additions seem not to be installed yet\n")); 544 547 rc = TaskGuest::setProgressErrorInfo(VBOX_E_NOT_SUPPORTED, aTask->progress, 545 548 Guest::tr("Guest Additions seem not to be installed or are not ready to update yet")); … … 549 552 * execution but not the built-in "vbox_cat" tool of VBoxService (< 4.0). */ 550 553 case VERR_INVALID_PARAMETER: 554 LogRel(("Guest Additions are installed but don't supported automatic updating\n")); 551 555 rc = TaskGuest::setProgressErrorInfo(VBOX_E_NOT_SUPPORTED, aTask->progress, 552 556 Guest::tr("Installed Guest Additions do not support automatic updating")); … … 562 566 else 563 567 { 568 LogRel(("Automatic update of Guest Additions started\n")); 564 569 LogRel(("Copying Guest Additions installer to guest ...\n")); 565 570 aTask->progress->SetCurrentOperationProgress(20);
Note:
See TracChangeset
for help on using the changeset viewer.