diff options
author | Yedidyah Bar David <didi@redhat.com> | 2017-01-26 09:58:27 +0200 |
---|---|---|
committer | Yedidyah Bar David <didi@redhat.com> | 2017-01-26 10:10:57 +0200 |
commit | 44a8701b874ad879a45ab93384c168a372a4ce18 (patch) | |
tree | 15fbf8c554f8994984efe5223730982c64940a4b /win-guest-tools.nsis | |
parent | faa3dab9983325bc531e6a5d39727d351113318c (diff) |
Fix driver path for win2k*
On the virtio-win ISO, the win2k* drivers are in a path of the form
'2k*', while the installer is looking for them in 'w2k*', and thus
failing.
This commit fixes the various paths.
Change-Id: I4aede5139950e90ad9071778c38250c450ed18ff
Bug-Url: https://bugzilla.redhat.com/1416533
Bug-Url: https://bugzilla.redhat.com/1416579
Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
Diffstat (limited to 'win-guest-tools.nsis')
-rw-r--r-- | win-guest-tools.nsis | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/win-guest-tools.nsis b/win-guest-tools.nsis index 8d57d85..64fe20c 100644 --- a/win-guest-tools.nsis +++ b/win-guest-tools.nsis @@ -281,17 +281,17 @@ Function GetDriverSubdir ${ElseIf} ${IsWin7} StrCpy $0 "$0\w7" ${ElseIf} ${IsWin2008} - StrCpy $0 "$0\w2k8" + StrCpy $0 "$0\2k8" ${ElseIf} ${IsWin2008R2} - StrCpy $0 "$0\w2k8R2" + StrCpy $0 "$0\2k8R2" ${ElseIf} ${IsWin8} StrCpy $0 "$0\w8" ${ElseIf} ${IsWin2012} - StrCpy $0 "$0\w2k12" + StrCpy $0 "$0\2k12" ${ElseIf} ${IsWin8.1} StrCpy $0 "$0\w8.1" ${ElseIf} ${IsWin2012R2} - StrCpy $0 "$0\w2k12r2" + StrCpy $0 "$0\2k12r2" ${ElseIf} ${IsWin10} StrCpy $0 "$0\w10" ${Else} |