aboutsummaryrefslogtreecommitdiff
path: root/install-win32/openvpn.nsi
diff options
context:
space:
mode:
Diffstat (limited to 'install-win32/openvpn.nsi')
-rwxr-xr-xinstall-win32/openvpn.nsi15
1 files changed, 9 insertions, 6 deletions
diff --git a/install-win32/openvpn.nsi b/install-win32/openvpn.nsi
index 2926ca3..fc059df 100755
--- a/install-win32/openvpn.nsi
+++ b/install-win32/openvpn.nsi
@@ -322,9 +322,13 @@ Section "TAP-Win32 Virtual Ethernet Adapter" SecTAP
DetailPrint "We are running on a 64-bit system."
+ SetOutPath "$INSTDIR\bin"
+
+ File "${BIN}\tapinstall\amd64\tapinstall.exe"
+
SetOutPath "$INSTDIR\driver"
+
File "${BIN}\driver\amd64\OemWin2k.inf"
- File "${BIN}\driver\amd64\tap.cat"
File "${BIN}\driver\amd64\${TAPDRV}"
goto tapend
@@ -333,16 +337,15 @@ tap-32bit:
DetailPrint "We are running on a 32-bit system."
+ SetOutPath "$INSTDIR\bin"
+ File "${BIN}\tapinstall\i386\tapinstall.exe"
+
SetOutPath "$INSTDIR\driver"
File "${BIN}\driver\i386\OemWin2k.inf"
File "${BIN}\driver\i386\tap.cat"
File "${BIN}\driver\i386\${TAPDRV}"
-tapend:
-
- ; Use x86 tapinstall for both x86 and x64
- SetOutPath "$INSTDIR\bin"
- File "${BIN}\tapinstall\i386\tapinstall.exe"
+ tapend:
SectionEnd