VirtualBox

Changeset 38751 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 14, 2011 1:30:16 PM (13 years ago)
Author:
vboxsync
Message:

Windows Additions: hack Windows 8

Location:
trunk/src/VBox/Additions/WINNT/Installer
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditions.nsi

    r37815 r38751  
    623623  StrCmp $g_strWinVersion "Vista" vista ; Windows Vista
    624624  StrCmp $g_strWinVersion "7" vista     ; Windows 7
     625  StrCmp $g_strWinVersion "8" vista     ; Windows 8
    625626
    626627  ${If} $g_bForceInstall == "true"
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh

    r36311 r38751  
    515515  ${If} $g_strWinVersion == "Vista"
    516516  ${OrIf} $g_strWinVersion == "7"
     517  ${OrIf} $g_strWinVersion == "8"
    517518    StrCpy $g_bCapWDDM "true"
    518519  ${EndIf}
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsUninstall.nsh

    r35753 r38751  
    8585  StrCmp $g_strWinVersion "Vista" vista ; Windows Vista
    8686  StrCmp $g_strWinVersion "7" vista     ; Windows 7
     87  StrCmp $g_strWinVersion "8" vista     ; Windows 8
    8788
    8889  ${If} $g_bForceInstall == "true"
     
    142143  StrCmp $g_strWinVersion "Vista" vista ; Windows Vista
    143144  StrCmp $g_strWinVersion "7" vista     ; Windows 7
     145  StrCmp $g_strWinVersion "8" vista     ; Windows 8
    144146
    145147  ${If} $g_bForceInstall == "true"
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsW2KXP.nsh

    r37815 r38751  
    120120  ${ElseIf} $g_strWinVersion == "XP"
    121121  ${OrIf} $g_strWinVersion == "7"
     122  ${OrIf} $g_strWinVersion == "8"
    122123    StrCpy $reg_path_device "SYSTEM\CurrentControlSet\Control\Video\$dev_id\0000"
    123124    StrCpy $reg_path_monitor "SYSTEM\CurrentControlSet\Control\VIDEO\$dev_id\0000\Mon00000001"
  • trunk/src/VBox/Additions/WINNT/Installer/winver.nsh

    r31634 r38751  
    6565  StrCmp $R1 '5.2' lbl_winnt_2003
    6666  StrCmp $R1 '6.0' lbl_winnt_vista
    67   StrCmp $R1 '6.1' lbl_winnt_7 lbl_error
     67  StrCmp $R1 '6.1' lbl_winnt_7
     68  StrCmp $R1 '6.2' lbl_winnt_8 lbl_error
    6869
    6970  lbl_winnt_x:
     
    9192  Goto lbl_done
    9293
     94  lbl_winnt_8:
     95    Strcpy $R0 '8'
     96  Goto lbl_done
     97
    9398  lbl_error:
    9499    Strcpy $R0 ''
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