VirtualBox

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


Ignore:
Timestamp:
Jul 23, 2019 2:33:10 PM (5 years ago)
Author:
vboxsync
Message:

Main/Unattended: Recognize vista isos. bugref:9151

File:
1 edited

Legend:

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

    r79926 r79931  
    418418                    || RTStrNICmp(pBuf->sz, RT_STR_TUPLE("winmain_beta")) == 0)
    419419                    *penmOsType = (VBOXOSTYPE)((*penmOsType & VBOXOSTYPE_x64) | VBOXOSTYPE_WinVista);
     420                else if (RTStrNICmp(pBuf->sz, RT_STR_TUPLE("lh_sp2rtm")) == 0)
     421                {
     422                    *penmOsType = (VBOXOSTYPE)((*penmOsType & VBOXOSTYPE_x64) | VBOXOSTYPE_WinVista);
     423                    pszVersion = "sp2";
     424                }
     425                else if (RTStrNICmp(pBuf->sz, RT_STR_TUPLE("longhorn_rtm")) == 0)
     426                {
     427                    *penmOsType = (VBOXOSTYPE)((*penmOsType & VBOXOSTYPE_x64) | VBOXOSTYPE_WinVista);
     428                    pszVersion = "sp1";
     429                }
    420430                else if (RTStrNICmp(pBuf->sz, RT_STR_TUPLE("win7")) == 0)
    421431                    *penmOsType = (VBOXOSTYPE)((*penmOsType & VBOXOSTYPE_x64) | VBOXOSTYPE_Win7);
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