儲存庫 vbox 的更動 67619
- 時間撮記:
- 2017-6-26 下午07:11:23 (7 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp
r67617 r67619 1277 1277 Bstr password; 1278 1278 Bstr productKey; 1279 Bstr auxiliaryCDPath; 1280 Bstr auxiliaryFloppyPath; 1279 1281 Bstr group("group"); 1280 1282 Bstr machineName; … … 1297 1299 { "--iso-path", 'i', RTGETOPT_REQ_STRING }, 1298 1300 { "--additions-iso-path", 'a', RTGETOPT_REQ_STRING }, 1301 { "--auxiliary-cd-path", 'c', RTGETOPT_REQ_STRING }, 1302 { "--auxiliary-floppy-path",'f', RTGETOPT_REQ_STRING }, 1299 1303 { "--image-index", 'm', RTGETOPT_REQ_UINT16 }, 1300 1304 { "--settings-file", 's', RTGETOPT_REQ_STRING }, … … 1362 1366 break; 1363 1367 1368 case 'f': // --auxiliary-floppy-path 1369 if (cSpecificOptions < 0) 1370 return errorSyntax(USAGE_UNATTENDEDINSTALL, "--auxiliary-floppy-path cannot be mixed with --settings-file"); 1371 auxiliaryFloppyPath = ValueUnion.psz; 1372 cSpecificOptions++; 1373 break; 1374 1375 case 'c': // --auxiliary-cd-path 1376 if (cSpecificOptions < 0) 1377 return errorSyntax(USAGE_UNATTENDEDINSTALL, "--auxiliary-cd-path cannot be mixed with --settings-file"); 1378 auxiliaryCDPath = ValueUnion.psz; 1379 cSpecificOptions++; 1380 break; 1381 1364 1382 case 'm': // --image-index 1365 1383 if (cSpecificOptions < 0) … … 1449 1467 return errorSyntax(USAGE_UNATTENDEDINSTALL, "A product key is required (--key)."); 1450 1468 1469 CHECK_ERROR_BREAK(unAttended, COMSETTER(IsoPath)(isoPath.raw())); 1470 CHECK_ERROR_BREAK(unAttended, COMSETTER(User)(user.raw())); 1471 CHECK_ERROR_BREAK(unAttended, COMSETTER(Password)(password.raw())); 1472 CHECK_ERROR_BREAK(unAttended, COMSETTER(ProductKey)(productKey.raw())); 1473 CHECK_ERROR_BREAK(unAttended, COMSETTER(AuxiliaryCDPath)(auxiliaryCDPath.raw())); 1474 CHECK_ERROR_BREAK(unAttended, COMSETTER(AuxiliaryFloppyPath)(auxiliaryFloppyPath.raw())); 1451 1475 CHECK_ERROR_BREAK(unAttended, COMSETTER(AdditionsIsoPath)(vboxAdditionsIsoPath.raw())); 1452 1453 CHECK_ERROR_BREAK(unAttended, COMSETTER(IsoPath)(isoPath.raw()));1454 1455 CHECK_ERROR_BREAK(unAttended, COMSETTER(User)(user.raw()));1456 1457 CHECK_ERROR_BREAK(unAttended, COMSETTER(Password)(password.raw()));1458 1459 CHECK_ERROR_BREAK(unAttended, COMSETTER(ProductKey)(productKey.raw()));1460 1461 1476 CHECK_ERROR_BREAK(unAttended, COMSETTER(InstallGuestAdditions)(vboxAdditionsIsoPath.isNotEmpty())); 1462 1463 1477 CHECK_ERROR_BREAK(unAttended, COMSETTER(ImageIndex)(imageIndex)); 1464 1478 CHECK_ERROR_BREAK(unAttended,Preparation()); … … 1538 1552 CHECK_ERROR_BREAK(unAttended, COMGETTER(Password)(password.asOutParam())); 1539 1553 CHECK_ERROR_BREAK(unAttended, COMGETTER(ProductKey)(productKey.asOutParam())); 1554 CHECK_ERROR_BREAK(unAttended, COMGETTER(AuxiliaryCDPath)(auxiliaryCDPath.asOutParam())); 1555 CHECK_ERROR_BREAK(unAttended, COMGETTER(AuxiliaryFloppyPath)(auxiliaryFloppyPath.asOutParam())); 1540 1556 imageIndex = 0; 1541 1557 CHECK_ERROR_BREAK(unAttended, COMGETTER(ImageIndex)(&imageIndex));
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器