VirtualBox

Changeset 94078 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Mar 3, 2022 4:24:56 PM (3 years ago)
Author:
vboxsync
Message:

FE/Qt, Main/Unattended: bugref:9515, bugref:9781. Utilizing the new IUnattended property to determine if unattended install is supported.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/UnattendedImpl.cpp

    r94075 r94078  
    35633563HRESULT Unattended::getIsUnattendedInstallSupported(BOOL *aIsUnattendedInstallSupported)
    35643564{
    3565     *aIsUnattendedInstallSupported = true;
     3565    /* Unattended is disabled by default if we could not detect OS type. */
     3566    if (mStrDetectedOSTypeId.isEmpty() || mStrDetectedOSVersion.isEmpty())
     3567    {
     3568        *aIsUnattendedInstallSupported = false;
     3569        return S_OK;
     3570    }
    35663571    return S_OK;
    35673572}
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