vbox的更動 45572 路徑 trunk/src/VBox/Main/src-client
- 時間撮記:
- 2013-4-16 下午01:15:11 (12 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp
r45482 r45572 1125 1125 /* Windows XP 64-bit (5.2) is a Windows 2003 Server actually, so skip this here. */ 1126 1126 if ( RT_SUCCESS(rc) 1127 && ( strOSVer.startsWith("5.0") /* Exclude the build number. */ 1128 || strOSVer.startsWith("5.1")) /* Exclude the build number. */ 1129 ) 1130 { 1131 /* If we don't have AdditionsUpdateFlag_WaitForUpdateStartOnly set we can't continue 1132 * because the Windows Guest Additions installer will fail because of WHQL popups. If the 1133 * flag is set this update routine ends successfully as soon as the installer was started 1134 * (and the user has to deal with it in the guest). */ 1135 if (!(mFlags & AdditionsUpdateFlag_WaitForUpdateStartOnly)) 1127 && RTStrVersionCompare(strOSVer.c_str(), "5.0") >= 0) 1128 { 1129 if ( strOSVer.startsWith("5.0") /* Exclude the build number. */ 1130 || strOSVer.startsWith("5.1") /* Exclude the build number. */) 1136 1131 { 1137 hr = setProgressErrorMsg(VBOX_E_NOT_SUPPORTED, 1138 Utf8StrFmt(GuestSession::tr("Windows 2000 and XP are not supported for automatic updating due to WHQL interaction, please update manually"))); 1139 rc = VERR_NOT_SUPPORTED; 1132 /* If we don't have AdditionsUpdateFlag_WaitForUpdateStartOnly set we can't continue 1133 * because the Windows Guest Additions installer will fail because of WHQL popups. If the 1134 * flag is set this update routine ends successfully as soon as the installer was started 1135 * (and the user has to deal with it in the guest). */ 1136 if (!(mFlags & AdditionsUpdateFlag_WaitForUpdateStartOnly)) 1137 { 1138 hr = setProgressErrorMsg(VBOX_E_NOT_SUPPORTED, 1139 Utf8StrFmt(GuestSession::tr("Windows 2000 and XP are not supported for automatic updating due to WHQL interaction, please update manually"))); 1140 rc = VERR_NOT_SUPPORTED; 1141 } 1140 1142 } 1143 } 1144 else 1145 { 1146 hr = setProgressErrorMsg(VBOX_E_NOT_SUPPORTED, 1147 Utf8StrFmt(GuestSession::tr("%s (%s) not supported for automatic updating, please update manually"), 1148 strOSType.c_str(), strOSVer.c_str())); 1149 rc = VERR_NOT_SUPPORTED; 1141 1150 } 1142 1151 } … … 1149 1158 1150 1159 #if 1 /* Only Windows is supported (and tested) at the moment. */ 1151 if (osType != eOSType_Windows) 1160 if ( RT_SUCCESS(rc) 1161 && osType != eOSType_Windows) 1152 1162 { 1153 1163 hr = setProgressErrorMsg(VBOX_E_NOT_SUPPORTED,
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器