Changeset 35129 in vbox
- Timestamp:
- Dec 15, 2010 1:10:12 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/Main/GuestImpl.cpp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/GuestImpl.cpp
r35095 r35129 692 692 Bstr("").raw() /* Username */, 693 693 Bstr("").raw() /* Password */, 694 5 * 1000 /* Wait 5s for getting the process started */,694 10 * 1000 /* Wait 10s for getting the process started */, 695 695 &uPID, progressInstaller.asOutParam(), &vrc); 696 696 if (SUCCEEDED(rc)) 697 697 { 698 LogRel(("Guest Additions update is running ...\n")); 699 698 700 /* If the caller does not want to wait for out guest update process to end, 699 701 * complete the progress object now so that the caller can do other work. */ … … 703 705 aTask->progress->SetCurrentOperationProgress(70); 704 706 705 LogRel(("Guest Additions update is running ...\n"));707 /* Wait until the Guest Additions installer finishes ... */ 706 708 while ( SUCCEEDED(progressInstaller->COMGETTER(Completed(&fCompleted))) 707 709 && !fCompleted) … … 719 721 break; 720 722 } 721 RTThreadSleep(1 );723 RTThreadSleep(100); 722 724 } 723 725 … … 737 739 else 738 740 { 741 LogRel(("Guest Additions update failed (Exit code=%u, Status=%u, Flags=%u)\n", 742 uRetExitCode, uRetStatus, uRetFlags)); 739 743 rc = TaskGuest::setProgressErrorInfo(VBOX_E_IPRT_ERROR, aTask->progress, 740 744 Guest::tr("Guest Additions update failed with exit code=%u (status=%u, flags=%u)"), … … 745 749 && fCanceled) 746 750 { 751 LogRel(("Guest Additions update was canceled\n")); 747 752 rc = TaskGuest::setProgressErrorInfo(VBOX_E_IPRT_ERROR, aTask->progress, 748 753 Guest::tr("Guest Additions update was canceled by the guest with exit code=%u (status=%u, flags=%u)"), … … 751 756 else 752 757 { 753 /* Guest Additions update was canceled by the user. */758 LogRel(("Guest Additions update was canceled by the user\n")); 754 759 } 755 760 }
Note:
See TracChangeset
for help on using the changeset viewer.

