VirtualBox

Changeset 43060 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Aug 29, 2012 7:51:02 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
80396
Message:

Main/GuestSessionImplTasks: Updating WinXP + 2000: Fixed typo, do not fail if AdditionsUpdateFlag_WaitForUpdateStartOnly is set.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp

    r43053 r43060  
    10011001                /* Because Windows 2000 + XP and is bitching with WHQL popups even if we have signed drivers we
    10021002                 * can't do automated updates here. */
     1003                /* Windows XP 64-bit (5.2) is a Windows 2003 Server actually, so skip this here. */
    10031004                if (   RT_SUCCESS(rc)
    1004                     && (   strOSVer.contains("5.0")  /* Exclude the build number. */
    1005                         || strOSVer.contains("5.1")) /* Exclude the build number. */
     1005                    && (   strOSVer.startsWith("5.0")  /* Exclude the build number. */
     1006                        || strOSVer.startsWith("5.1")) /* Exclude the build number. */
    10061007                   )
    10071008                {
    1008                     hr = setProgressErrorMsg(VBOX_E_NOT_SUPPORTED,
    1009                                              Utf8StrFmt(GuestSession::tr("Windows 2000 and XP are not supported for automatic updating due to WHQL popups, please update manually")));
    1010                     rc = VERR_NOT_SUPPORTED;
     1009                    /* If we don't have AdditionsUpdateFlag_WaitForUpdateStartOnly set we can't continue
     1010                     * because the Windows Guest Additions installer will fail because of WHQL popups. If the
     1011                     * flag is set this update routine ends successfully as soon as the installer was started
     1012                     * (and the user has to deal with it in the guest). */
     1013                    if (!(mFlags & AdditionsUpdateFlag_WaitForUpdateStartOnly))
     1014                    {
     1015                        hr = setProgressErrorMsg(VBOX_E_NOT_SUPPORTED,
     1016                                                 Utf8StrFmt(GuestSession::tr("Windows 2000 and XP are not supported for automatic updating due to WHQL interaction, please update manually")));
     1017                        rc = VERR_NOT_SUPPORTED;
     1018                    }
    10111019                }
    10121020            }
Note: See TracChangeset for help on using the changeset viewer.

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