VirtualBox

Changeset 38724 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 13, 2011 7:35:16 AM (13 years ago)
Author:
vboxsync
Message:

Additions/x11/VBoxClient: custom update warning message for non-Oracle builds to avoid confusion about upgrading the Guest Additions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/hostversion.cpp

    r37017 r38724  
    164164                if (bUpdate)
    165165                {
    166                     char szMsg[256];
     166                    char szMsg[1024];
    167167                    char szTitle[64];
    168168
    169169                    /** @todo add some translation macros here */
    170170                    RTStrPrintf(szTitle, sizeof(szTitle), "VirtualBox Guest Additions update available!");
     171#ifndef VBOX_OSE
    171172                    RTStrPrintf(szMsg, sizeof(szMsg), "Your guest is currently running the Guest Additions version %s. "
    172173                                                      "We recommend updating to the latest version (%s) by choosing the "
    173174                                                      "install option from the Devices menu.", pszGuestVersion, pszHostVersion);
     175#else
     176/* This is the message which appears for non-Oracle builds of the
     177 * Guest Additions.  Distributors are encouraged to customise this. */
     178                    RTStrPrintf(szMsg, sizeof(szMsg), "Your virtual machine is currently running the Guest Additions version %s. Since you are running a version of the Guest Additions provided by the operating system you installed in the virtual machine we recommend that you update it to at least version %s using that system's update features, or alternatively that you remove this version and then install the " VBOX_VENDOR_SHORT " Guest Additions package using the install option from the Devices menu. Please consult the documentation for the operating system you are running to find out how to update or remove the current Guest Additions package.", pszGuestVersion, pszHostVersion);
     179#endif
    174180                    rc = showNotify(szTitle, szMsg);
    175181                    LogRel(("VBoxClient: VirtualBox Guest Additions update available!"));
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