VirtualBox

Changeset 68153 in vbox


Ignore:
Timestamp:
Jul 28, 2017 10:28:45 AM (7 years ago)
Author:
vboxsync
Message:

bugref:8527. Reverted r117239 because we use a default value for GA path. Some other logic is needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp

    r68151 r68153  
    15581558        return errorSyntax("Missing VM name/UUID");
    15591559
    1560     {
    1561         Bstr bstrString;
    1562         hrc = ptrUnattended->COMGETTER(AdditionsIsoPath)(bstrString.asOutParam());
    1563         if (SUCCEEDED(hrc))
    1564         {
    1565             BOOL fGA = false;
    1566             hrc = ptrUnattended->COMGETTER(InstallGuestAdditions)(&fGA);
    1567             if (SUCCEEDED(hrc))
    1568             {
    1569                 if (fGA == false && !bstrString.isEmpty())
    1570                     return errorSyntax("Parameter --additions-iso doesn't make sense without "
    1571                                        "parameter --install-additions");
    1572             }
    1573             else
    1574                 return RTEXITCODE_FAILURE;
    1575         }
    1576         else
    1577             return RTEXITCODE_FAILURE;
    1578     }
    1579 
    15801560    /*
    15811561     * Set accumulative attributes.
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette