- Timestamp:
- Jun 27, 2017 6:23:33 PM (8 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp
r67652 r67654 1281 1281 Bstr bstrMachineName; 1282 1282 Bstr bstrSettingsFile; 1283 unsigned short imageIndex= 1; // applied only to Windows installation1283 ULONG idxImage = 1; // applied only to Windows installation 1284 1284 Bstr bstrSessionType = "headless"; 1285 1285 … … 1298 1298 { "--additions-iso-path", 'a', RTGETOPT_REQ_STRING }, 1299 1299 { "--auxiliary-base-path", 'x', RTGETOPT_REQ_STRING }, 1300 { "--image-index", 'm', RTGETOPT_REQ_UINT 16},1300 { "--image-index", 'm', RTGETOPT_REQ_UINT32 }, 1301 1301 { "--settings-file", 's', RTGETOPT_REQ_STRING }, 1302 1302 { "--session-type", 'S', RTGETOPT_REQ_STRING }, … … 1350 1350 1351 1351 case 'm': // --image-index 1352 i mageIndex = ValueUnion.u16;1352 idxImage = ValueUnion.u32; 1353 1353 break; 1354 1354 … … 1434 1434 CHECK_ERROR_BREAK(unAttended, COMSETTER(AdditionsIsoPath)(bstrAdditionsIsoPath.raw())); 1435 1435 CHECK_ERROR_BREAK(unAttended, COMSETTER(InstallGuestAdditions)(bstrAdditionsIsoPath.isNotEmpty())); 1436 CHECK_ERROR_BREAK(unAttended, COMSETTER(ImageIndex)(i mageIndex));1436 CHECK_ERROR_BREAK(unAttended, COMSETTER(ImageIndex)(idxImage)); 1437 1437 CHECK_ERROR_BREAK(unAttended, COMSETTER(AuxiliaryBasePath)(bstrAuxiliaryBasePath.raw())); 1438 1438 … … 1507 1507 CHECK_ERROR_BREAK(unAttended, COMGETTER(ProductKey)(bstrProductKey.asOutParam())); 1508 1508 CHECK_ERROR_BREAK(unAttended, COMGETTER(AuxiliaryBasePath)(bstrAuxiliaryBasePath.asOutParam())); 1509 i mageIndex= 0;1510 CHECK_ERROR_BREAK(unAttended, COMGETTER(ImageIndex)(&i mageIndex));1509 idxImage = 0; 1510 CHECK_ERROR_BREAK(unAttended, COMGETTER(ImageIndex)(&idxImage)); 1511 1511 RTPrintf("Got values:\n" 1512 1512 " user: %ls\n" … … 1521 1521 bstrPassword.raw(), 1522 1522 bstrProductKey.raw(), 1523 i mageIndex,1523 idxImage, 1524 1524 bstrIsoPath.raw(), 1525 1525 bstrAdditionsIsoPath.raw(), -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r67652 r67654 3838 3838 </attribute> 3839 3839 3840 <attribute name="imageIndex" type="unsigned short">3840 <attribute name="imageIndex" type="unsigned long"> 3841 3841 <desc> 3842 3842 The image index on installation CD/DVD used to install.
Note:
See TracChangeset
for help on using the changeset viewer.