VirtualBox

Changeset 68239 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Aug 2, 2017 12:39:12 PM (7 years ago)
Author:
vboxsync
Message:

Unattended: Added detectedOSLanguages and language attributes to deal with the windows installer's stupid UILanguage requirement. The specified language must be supported by the installation media, probably by way of lang.ini, which means we need to implement UDF support to really get this right. For now, looking for language specifier in the ISO name (ASSUMES filename unchanged since MSDN download).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/UnattendedImpl.h

    r68164 r68239  
    6060    PCRTTIMEZONEINFO i_getTimeZoneInfo() const;
    6161    Utf8Str const &i_getLocale() const;
     62    Utf8Str const &i_getLanguage() const;
    6263    Utf8Str const &i_getCountry() const;
    6364    bool           i_isMinimalInstallation() const;
     
    100101    PCRTTIMEZONEINFO mpTimeZoneInfo;
    101102    Utf8Str         mStrLocale;
     103    Utf8Str         mStrLanguage;           /**< (only relevant for windows at the moment) */
    102104    Utf8Str         mStrCountry;
    103105    RTCList<RTCString, RTCString *> mPackageSelectionAdjustments;
     
    110112    Utf8Str         mStrPostInstallCommand;
    111113    Utf8Str         mStrExtraInstallKernelParameters;
     114
     115    bool            mfDoneDetectIsoOS;         /**< Set by detectIsoOS(), cleared by setIsoPath(). */
    112116    Utf8Str         mStrDetectedOSTypeId;
    113117    Utf8Str         mStrDetectedOSVersion;
    114118    Utf8Str         mStrDetectedOSFlavor;
     119    RTCList<RTCString, RTCString *> mDetectedOSLanguages; /**< (only relevant for windows at the moment) */
    115120    Utf8Str         mStrDetectedOSHints;
    116121    /** @} */
     
    166171    HRESULT getLocale(com::Utf8Str &aLocale);
    167172    HRESULT setLocale(const com::Utf8Str &aLocale);
     173    HRESULT getLanguage(com::Utf8Str &aLanguage);
     174    HRESULT setLanguage(const com::Utf8Str &aLanguage);
    168175    HRESULT getCountry(com::Utf8Str &aCountry);
    169176    HRESULT setCountry(const com::Utf8Str &aCountry);
     
    190197    HRESULT getDetectedOSTypeId(com::Utf8Str &aDetectedOSTypeId);
    191198    HRESULT getDetectedOSVersion(com::Utf8Str &aDetectedOSVersion);
     199    HRESULT getDetectedOSLanguages(com::Utf8Str &aDetectedOSLanguages);
    192200    HRESULT getDetectedOSFlavor(com::Utf8Str &aDetectedOSFlavor);
    193201    HRESULT getDetectedOSHints(com::Utf8Str &aDetectedOSHints);
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