diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2016-12-23 16:28:07 +0100 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2017-01-03 12:45:04 +0100 |
commit | 3b764bf25112a90e6c125f6c629182d982e58236 (patch) | |
tree | ba6aa76aad7fa4239a2a76c2edd55da4de035c9c /win-guest-tools.nsis | |
parent | 6d54c8d4d0ddb9cb3f0efcb7e554bdf83be4d428 (diff) |
Add Windows 10 support
This requires WinVer from nsis 3.01.
At the moment, the qxl-wddm-dod driver on the virtio-win ISO is not the
latest one from
https://www.spice-space.org/download/windows/qxl-wddm-dod/
Diffstat (limited to 'win-guest-tools.nsis')
-rw-r--r-- | win-guest-tools.nsis | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/win-guest-tools.nsis b/win-guest-tools.nsis index 1951721..2092edc 100644 --- a/win-guest-tools.nsis +++ b/win-guest-tools.nsis @@ -154,14 +154,7 @@ Section "install" Push "PCI\VEN_1AF4&DEV_1001&SUBSYS_00021AF4&REV_00" Call InstallDriver - ${If} ${IsWinVista} - ${OrIf} ${IsWin2008} - ${OrIf} ${IsWin7} - ${OrIf} ${IsWin2008R2} - ${OrIf} ${IsWin8} - ${OrIf} ${IsWin2012} - ${OrIf} ${IsWin8.1} - ${OrIf} ${IsWin2012R2} + ${If} ${AtLeastWinVista} Push "vioscsi" Push "vioscsi" Push "PCI\VEN_1AF4&DEV_1004&SUBSYS_00081AF4&REV_00" @@ -291,6 +284,8 @@ Function GetDriverSubdir StrCpy $0 "$0\w8.1" ${ElseIf} ${IsWin2012R2} StrCpy $0 "$0\w2k12r2" + ${ElseIf} ${IsWin10} + StrCpy $0 "$0\w10" ${Else} MessageBox MB_ICONEXCLAMATION "Unsupported Windows version" Abort ; causes installer to quit. |