Windows installer will delete a previously installed
tap0801.sys TAP driver before installing tap0901.sys.
Added code to Windows installer to fail gracefully on 64 bit
installs until 64-bit TAP driver issues can be resolved.
Added code to Windows installer to fail gracefully on
versions of Windows which are not explicitly supported.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1746 e7ae566f-a301-0410-adde-c780ea21d3b5
| ... | ... |
@@ -323,7 +323,7 @@ I had to edit the file OemWin2k.inf and change the Manufactured + Product |
| 323 | 323 |
Section to: |
| 324 | 324 |
|
| 325 | 325 |
[Manufacturer] |
| 326 |
- %Provider% = tap0801, NTamd64 |
|
| 326 |
+ %Provider% = tap0901, NTamd64 |
|
| 327 | 327 |
|
| 328 |
-[tap0801.NTamd64] |
|
| 329 |
- %DeviceDescription% = tap0801.ndi, tap0801 |
|
| 328 |
+[tap0901.NTamd64] |
|
| 329 |
+ %DeviceDescription% = tap0901.ndi, tap0901 |
| ... | ... |
@@ -59,7 +59,7 @@ typedef unsigned long in_addr_t; |
| 59 | 59 |
* |
| 60 | 60 |
* The TAP-Win32 version number is defined in tap-win32/SOURCES |
| 61 | 61 |
*/ |
| 62 |
-#define TAP_WIN32_MIN_MAJOR 8 |
|
| 62 |
+#define TAP_WIN32_MIN_MAJOR 9 |
|
| 63 | 63 |
#define TAP_WIN32_MIN_MINOR 1 |
| 64 | 64 |
|
| 65 | 65 |
/* Allow --askpass and --auth-user-pass passwords to be read from a file */ |
| ... | ... |
@@ -25,7 +25,7 @@ dnl Process this file with autoconf to produce a configure script. |
| 25 | 25 |
|
| 26 | 26 |
AC_PREREQ(2.50) |
| 27 | 27 |
|
| 28 |
-AC_INIT([OpenVPN], [2.1_rc1c], [openvpn-users@lists.sourceforge.net], [openvpn]) |
|
| 28 |
+AC_INIT([OpenVPN], [2.1_rc1d], [openvpn-users@lists.sourceforge.net], [openvpn]) |
|
| 29 | 29 |
AM_CONFIG_HEADER(config.h) |
| 30 | 30 |
AC_CONFIG_SRCDIR(syshead.h) |
| 31 | 31 |
|
| 32 | 32 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,109 @@ |
| 0 |
+; Turn off old selected section |
|
| 1 |
+; GetWindowsVersion |
|
| 2 |
+; |
|
| 3 |
+; Based on Yazno's function |
|
| 4 |
+; Updated by Joost Verburg |
|
| 5 |
+; Updated for Windows 98 SE by Matthew Win Tibbals 5-21-03 |
|
| 6 |
+; Updated for Vista by Joe Cincotta 12-2-07 |
|
| 7 |
+; |
|
| 8 |
+; Returns on top of stack |
|
| 9 |
+; |
|
| 10 |
+; Windows Version (95, 98, ME, NT x.x, 2000, XP, 2003, VISTA) |
|
| 11 |
+; or |
|
| 12 |
+; '' (Unknown Windows Version) |
|
| 13 |
+; |
|
| 14 |
+; Usage: |
|
| 15 |
+; Call GetWindowsVersion |
|
| 16 |
+; Pop $R0 |
|
| 17 |
+; ; at this point $R0 is "NT 4.0" or whatnot |
|
| 18 |
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
| 19 |
+Function GetWindowsVersion |
|
| 20 |
+ |
|
| 21 |
+ Push $R0 |
|
| 22 |
+ Push $R1 |
|
| 23 |
+ |
|
| 24 |
+ ClearErrors |
|
| 25 |
+ |
|
| 26 |
+ ReadRegStr $R0 HKLM \ |
|
| 27 |
+ "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion |
|
| 28 |
+ |
|
| 29 |
+ IfErrors 0 lbl_winnt |
|
| 30 |
+ |
|
| 31 |
+ ; we are not NT |
|
| 32 |
+ ReadRegStr $R0 HKLM \ |
|
| 33 |
+ "SOFTWARE\Microsoft\Windows\CurrentVersion" VersionNumber |
|
| 34 |
+ |
|
| 35 |
+ StrCpy $R1 $R0 1 |
|
| 36 |
+ StrCmp $R1 '4' 0 lbl_error |
|
| 37 |
+ |
|
| 38 |
+ StrCpy $R1 $R0 3 |
|
| 39 |
+ |
|
| 40 |
+ StrCmp $R1 '4.0' lbl_win32_95 |
|
| 41 |
+ StrCmp $R1 '4.9' lbl_win32_ME lbl_win32_98 |
|
| 42 |
+ |
|
| 43 |
+ lbl_win32_95: |
|
| 44 |
+ StrCpy $R0 '95' |
|
| 45 |
+ Goto lbl_done |
|
| 46 |
+ |
|
| 47 |
+ lbl_win32_98: |
|
| 48 |
+;;beginning of additions to support win 98 SE |
|
| 49 |
+ push $R0 |
|
| 50 |
+ push "." |
|
| 51 |
+ call strstr |
|
| 52 |
+ pop $R0 |
|
| 53 |
+ StrCpy $R0 $R0 "" 1 |
|
| 54 |
+ StrCmp $R0 "10.2222" lbl_win32_98SE |
|
| 55 |
+ StrCpy $R0 '98' ;;this line was not added |
|
| 56 |
+ Goto lbl_done ;;this line was not added either |
|
| 57 |
+ |
|
| 58 |
+ lbl_win32_98SE: |
|
| 59 |
+ StrCpy $R0 '98 SE' |
|
| 60 |
+ Goto lbl_done |
|
| 61 |
+;;end of additions to support win 98 SE |
|
| 62 |
+ lbl_win32_ME: |
|
| 63 |
+ StrCpy $R0 'ME' |
|
| 64 |
+ Goto lbl_done |
|
| 65 |
+ |
|
| 66 |
+ lbl_winnt: |
|
| 67 |
+ |
|
| 68 |
+ StrCpy $R1 $R0 1 |
|
| 69 |
+ |
|
| 70 |
+ StrCmp $R1 '3' lbl_winnt_x |
|
| 71 |
+ StrCmp $R1 '4' lbl_winnt_x |
|
| 72 |
+ |
|
| 73 |
+ StrCpy $R1 $R0 3 |
|
| 74 |
+ |
|
| 75 |
+ StrCmp $R1 '5.0' lbl_winnt_2000 |
|
| 76 |
+ StrCmp $R1 '5.1' lbl_winnt_XP |
|
| 77 |
+ StrCmp $R1 '5.2' lbl_winnt_2003 |
|
| 78 |
+ StrCmp $R1 '6.0' lbl_winnt_VISTA lbl_error |
|
| 79 |
+ |
|
| 80 |
+ lbl_winnt_x: |
|
| 81 |
+ StrCpy $R0 "NT $R0" 6 |
|
| 82 |
+ Goto lbl_done |
|
| 83 |
+ |
|
| 84 |
+ lbl_winnt_2000: |
|
| 85 |
+ Strcpy $R0 '2000' |
|
| 86 |
+ Goto lbl_done |
|
| 87 |
+ |
|
| 88 |
+ lbl_winnt_XP: |
|
| 89 |
+ Strcpy $R0 'XP' |
|
| 90 |
+ Goto lbl_done |
|
| 91 |
+ |
|
| 92 |
+ lbl_winnt_2003: |
|
| 93 |
+ Strcpy $R0 '2003' |
|
| 94 |
+ Goto lbl_done |
|
| 95 |
+ |
|
| 96 |
+ lbl_winnt_VISTA: |
|
| 97 |
+ Strcpy $R0 'VISTA' |
|
| 98 |
+ Goto lbl_done |
|
| 99 |
+ |
|
| 100 |
+ lbl_error: |
|
| 101 |
+ Strcpy $R0 '' |
|
| 102 |
+ lbl_done: |
|
| 103 |
+ |
|
| 104 |
+ Pop $R1 |
|
| 105 |
+ Exch $R0 |
|
| 106 |
+ |
|
| 107 |
+FunctionEnd |
|
| 108 |
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| ... | ... |
@@ -9,6 +9,7 @@ |
| 9 | 9 |
|
| 10 | 10 |
!include "MUI.nsh" |
| 11 | 11 |
!include "setpath.nsi" |
| 12 |
+!include "GetWindowsVersion.nsi" |
|
| 12 | 13 |
|
| 13 | 14 |
!define HOME ".." |
| 14 | 15 |
!define BIN "${HOME}\bin"
|
| ... | ... |
@@ -16,7 +17,7 @@ |
| 16 | 16 |
!define PRODUCT_NAME "OpenVPN" |
| 17 | 17 |
!define VERSION "@VERSION@" # AUTO_VERSION |
| 18 | 18 |
|
| 19 |
-!define TAP "tap0801" |
|
| 19 |
+!define TAP "tap0901" |
|
| 20 | 20 |
!define TAPDRV "${TAP}.sys"
|
| 21 | 21 |
|
| 22 | 22 |
; something like "-DBG2" |
| ... | ... |
@@ -168,6 +169,8 @@ FunctionEnd |
| 168 | 168 |
|
| 169 | 169 |
Function .onInit |
| 170 | 170 |
ClearErrors |
| 171 |
+ |
|
| 172 |
+# Verify that user has admin privs |
|
| 171 | 173 |
UserInfo::GetName |
| 172 | 174 |
IfErrors ok |
| 173 | 175 |
Pop $R0 |
| ... | ... |
@@ -177,6 +180,35 @@ Function .onInit |
| 177 | 177 |
Messagebox MB_OK "Administrator privileges required to install OpenVPN [$R0/$R1]" |
| 178 | 178 |
Abort |
| 179 | 179 |
ok: |
| 180 |
+ |
|
| 181 |
+ Call GetWindowsVersion |
|
| 182 |
+ Pop $1 |
|
| 183 |
+ StrCmp $1 "2000" goodwinver |
|
| 184 |
+ StrCmp $1 "XP" goodwinver |
|
| 185 |
+ StrCmp $1 "2003" goodwinver |
|
| 186 |
+ StrCmp $1 "VISTA" goodwinver |
|
| 187 |
+ |
|
| 188 |
+ Messagebox MB_OK "Sorry, OpenVPN does not currently support Windows $1" |
|
| 189 |
+ Abort |
|
| 190 |
+ |
|
| 191 |
+goodwinver: |
|
| 192 |
+ System::Call "kernel32::GetCurrentProcess() i .s" |
|
| 193 |
+ System::Call "kernel32::IsWow64Process(i s, *i .r0)" |
|
| 194 |
+ IntCmp $0 0 init32bits |
|
| 195 |
+ |
|
| 196 |
+ ; we are running on 64-bit windows |
|
| 197 |
+ StrCmp $1 "VISTA" vista64bummer |
|
| 198 |
+ |
|
| 199 |
+ Messagebox MB_OK "Sorry, OpenVPN doesn't currently support 64-bit Windows." |
|
| 200 |
+ Abort |
|
| 201 |
+ |
|
| 202 |
+vista64bummer: |
|
| 203 |
+ |
|
| 204 |
+ Messagebox MB_OK "Sorry, OpenVPN doesn't currently support 64-bit Vista because Microsoft doesn't allow the installation of 64 bit unsigned drivers." |
|
| 205 |
+ Abort |
|
| 206 |
+ |
|
| 207 |
+init32bits: |
|
| 208 |
+ |
|
| 180 | 209 |
FunctionEnd |
| 181 | 210 |
|
| 182 | 211 |
!define SF_SELECTED 1 |
| ... | ... |
@@ -290,13 +322,15 @@ Section "TAP-Win32 Virtual Ethernet Adapter" SecTAP |
| 290 | 290 |
DetailPrint "We are running on a 64-bit system." |
| 291 | 291 |
|
| 292 | 292 |
SetOutPath "$INSTDIR\bin" |
| 293 |
- File "${BIN}\ti3790-amd64\tapinstall.exe"
|
|
| 293 |
+ |
|
| 294 |
+; File "${BIN}\ti3790-amd64\tapinstall.exe"
|
|
| 294 | 295 |
|
| 295 | 296 |
SetOutPath "$INSTDIR\driver" |
| 296 |
- File "${HOME}\tap-win32\amd64\OemWin2k.inf"
|
|
| 297 |
- File "${HOME}\tap-win32\amd64\${TAPDRV}"
|
|
| 298 | 297 |
|
| 299 |
- goto tapend |
|
| 298 |
+; File "${HOME}\tap-win32\amd64\OemWin2k.inf"
|
|
| 299 |
+; File "${HOME}\tap-win32\amd64\${TAPDRV}"
|
|
| 300 |
+ |
|
| 301 |
+goto tapend |
|
| 300 | 302 |
|
| 301 | 303 |
tap-32bit: |
| 302 | 304 |
|
| ... | ... |
@@ -382,12 +416,10 @@ Section -post |
| 382 | 382 |
|
| 383 | 383 |
tapinstall: |
| 384 | 384 |
DetailPrint "TAP-Win32 REMOVE OLD TAP" |
| 385 |
- nsExec::ExecToLog '"$INSTDIR\bin\tapinstall.exe" remove TAP' |
|
| 386 |
- Pop $R0 # return value/error/timeout |
|
| 387 |
- DetailPrint "tapinstall remove TAP returned: $R0" |
|
| 388 |
- nsExec::ExecToLog '"$INSTDIR\bin\tapinstall.exe" remove TAPDEV' |
|
| 385 |
+ |
|
| 386 |
+ nsExec::ExecToLog '"$INSTDIR\bin\tapinstall.exe" remove TAP0801' |
|
| 389 | 387 |
Pop $R0 # return value/error/timeout |
| 390 |
- DetailPrint "tapinstall remove TAPDEV returned: $R0" |
|
| 388 |
+ DetailPrint "tapinstall remove TAP0801 returned: $R0" |
|
| 391 | 389 |
|
| 392 | 390 |
DetailPrint "TAP-Win32 INSTALL (${TAP})"
|
| 393 | 391 |
nsExec::ExecToLog '"$INSTDIR\bin\tapinstall.exe" install "$INSTDIR\driver\OemWin2k.inf" ${TAP}'
|
| ... | ... |
@@ -28,11 +28,10 @@ LZO=$H/lzo-2.02 |
| 28 | 28 |
# dmalloc. |
| 29 | 29 |
DMALLOC=$H/dmalloc-5.4.2 |
| 30 | 30 |
|
| 31 |
-# TAP binaries should be here: tap0801.sys and tapinstall.exe |
|
| 31 |
+# TAP binaries should be here: tap0901.sys and tapinstall.exe |
|
| 32 | 32 |
# These must be built with MS DDK. |
| 33 |
-TAPBIN=$H/tapbin-0804 |
|
| 34 |
-TAPBIN64=$H/tapbin64-0801 |
|
| 35 |
-#TAPBIN64=$H/tapbin64-0804 |
|
| 33 |
+TAPBIN=$H/tapbin-0901 |
|
| 34 |
+#TAPBIN64=$H/tapbin64-0901 |
|
| 36 | 35 |
|
| 37 | 36 |
# u2d.c should exist here. |
| 38 | 37 |
SCRIPTS=$IN/install-win32 |
| ... | ... |
@@ -86,6 +85,7 @@ mkdir $OUT/install-win32 |
| 86 | 86 |
|
| 87 | 87 |
cp $IN/install-win32/openvpn.nsi $OUT/install-win32 |
| 88 | 88 |
cp $IN/install-win32/setpath.nsi $OUT/install-win32 |
| 89 |
+cp $IN/install-win32/GetWindowsVersion.nsi $OUT/install-win32 |
|
| 89 | 90 |
cp $IN/images/install-whirl.bmp $OUT/install-win32 |
| 90 | 91 |
cp $IN/images/openvpn.ico $OUT/install-win32 |
| 91 | 92 |
cp $IN/INSTALL-win32.txt $OUT/install-win32 |
| ... | ... |
@@ -107,18 +107,17 @@ cp $IN/tap-win32/SOURCES $OUT/tap-win32 |
| 107 | 107 |
mkdir $OUT/tap-win32/i386 |
| 108 | 108 |
cp $IN/tap-win32/i386/OemWin2k.inf $OUT/tap-win32/i386 |
| 109 | 109 |
cp $IN/tap-win32/i386/tap.cat $OUT/tap-win32/i386 |
| 110 |
-cp $TAPBIN/tap0801.sys $OUT/tap-win32/i386 |
|
| 110 |
+cp $TAPBIN/tap0901.sys $OUT/tap-win32/i386 |
|
| 111 | 111 |
|
| 112 |
-mkdir $OUT/tap-win32/amd64 |
|
| 113 |
-cp $TAPBIN64/OemWin2k.inf $OUT/tap-win32/amd64 |
|
| 114 |
-#cp $IN/tap-win32/amd64/OemWin2k.inf $OUT/tap-win32/amd64 |
|
| 115 |
-cp $IN/tap-win32/amd64/tap.cat $OUT/tap-win32/amd64 |
|
| 116 |
-cp $TAPBIN64/tap0801.sys $OUT/tap-win32/amd64 |
|
| 112 |
+#mkdir $OUT/tap-win32/amd64 |
|
| 113 |
+#cp $TAPBIN64/OemWin2k.inf $OUT/tap-win32/amd64 |
|
| 114 |
+#cp $IN/tap-win32/amd64/tap.cat $OUT/tap-win32/amd64 |
|
| 115 |
+#cp $TAPBIN64/tap0901.sys $OUT/tap-win32/amd64 |
|
| 117 | 116 |
|
| 118 | 117 |
mkdir $OUT/bin/ti3790-i386 |
| 119 | 118 |
cp $TAPBIN/tapinstall.exe $OUT/bin/ti3790-i386 |
| 120 |
-mkdir $OUT/bin/ti3790-amd64 |
|
| 121 |
-cp $TAPBIN64/tapinstall.exe $OUT/bin/ti3790-amd64 |
|
| 119 |
+#mkdir $OUT/bin/ti3790-amd64 |
|
| 120 |
+#cp $TAPBIN64/tapinstall.exe $OUT/bin/ti3790-amd64 |
|
| 122 | 121 |
|
| 123 | 122 |
echo BUILD service-win32 |
| 124 | 123 |
|
| ... | ... |
@@ -133,7 +132,11 @@ cp $OUT/service-win32/service.h $OUT/service-win32/service.h.orig |
| 133 | 133 |
cp $OUT/service-win32/service.c $OUT/service-win32/service.c.orig |
| 134 | 134 |
|
| 135 | 135 |
pushd $OUT/service-win32 |
| 136 |
-patch <service.patch |
|
| 136 |
+ |
|
| 137 |
+# Vista security theatre |
|
| 138 |
+cp `which patch` p.exe |
|
| 139 |
+ |
|
| 140 |
+./p <service.patch |
|
| 137 | 141 |
popd |
| 138 | 142 |
|
| 139 | 143 |
echo BUILD easy-rsa |
| ... | ... |
@@ -335,7 +335,7 @@ |
| 335 | 335 |
+#define SZSERVICEDISPLAYNAME "OpenVPN Service" |
| 336 | 336 |
// list of service dependencies - "dep1\0dep2\0\0" |
| 337 | 337 |
-#define SZDEPENDENCIES "" |
| 338 |
-+#define SZDEPENDENCIES "TAP0801\0Dhcp\0\0" |
|
| 338 |
++#define SZDEPENDENCIES "TAP0901\0Dhcp\0\0" |
|
| 339 | 339 |
////////////////////////////////////////////////////////////////////////////// |
| 340 | 340 |
|
| 341 | 341 |
|
| ... | ... |
@@ -4,7 +4,7 @@ |
| 4 | 4 |
MAJORCOMP=ntos |
| 5 | 5 |
MINORCOMP=ndis |
| 6 | 6 |
|
| 7 |
-TARGETNAME=tap0801 |
|
| 7 |
+TARGETNAME=tap0901 |
|
| 8 | 8 |
TARGETTYPE=DRIVER |
| 9 | 9 |
TARGETPATH=. |
| 10 | 10 |
TARGETLIBS=$(DDK_LIB_PATH)\ndis.lib $(DDK_LIB_PATH)\ntstrsafe.lib |
| ... | ... |
@@ -14,8 +14,8 @@ INCLUDES=$(DDK_INCLUDE_PATH) |
| 14 | 14 |
# TAP_WIN32_MIN_x values defined in |
| 15 | 15 |
# config-win32.h |
| 16 | 16 |
C_DEFINES= |
| 17 |
-C_DEFINES=$(C_DEFINES) -DTAP_DRIVER_MAJOR_VERSION=8 |
|
| 18 |
-C_DEFINES=$(C_DEFINES) -DTAP_DRIVER_MINOR_VERSION=4 |
|
| 17 |
+C_DEFINES=$(C_DEFINES) -DTAP_DRIVER_MAJOR_VERSION=9 |
|
| 18 |
+C_DEFINES=$(C_DEFINES) -DTAP_DRIVER_MINOR_VERSION=1 |
|
| 19 | 19 |
|
| 20 | 20 |
# Use 00:FF:XX:XX:XX:XX format MAC addresses where |
| 21 | 21 |
# the Xs are random (like Linux tap driver). |
| ... | ... |
@@ -11,9 +11,9 @@ |
| 11 | 11 |
; OUTPUT -> file:///c:/WINDDK/3790/tools/chkinf/htm/c%23+src+openvpn+tap-win32+i386+__OemWin2k.htm |
| 12 | 12 |
|
| 13 | 13 |
; INSTALL/REMOVE DRIVER |
| 14 |
-; tapinstall install OemWin2k.inf TAP0801 |
|
| 15 |
-; tapinstall update OemWin2k.inf TAP0801 |
|
| 16 |
-; tapinstall remove TAP0801 |
|
| 14 |
+; tapinstall install OemWin2k.inf TAP0901 |
|
| 15 |
+; tapinstall update OemWin2k.inf TAP0901 |
|
| 16 |
+; tapinstall remove TAP0901 |
|
| 17 | 17 |
|
| 18 | 18 |
;********************************************************* |
| 19 | 19 |
; Note to Developers: |
| ... | ... |
@@ -51,20 +51,20 @@ |
| 51 | 51 |
|
| 52 | 52 |
; This version number should match the version |
| 53 | 53 |
; number given in SOURCES. |
| 54 |
- DriverVer=09/13/2006,8.00.00.0004 |
|
| 54 |
+ DriverVer=02/27/2007,9.00.00.0001 |
|
| 55 | 55 |
|
| 56 | 56 |
[Strings] |
| 57 |
- DeviceDescription = "TAP-Win32 Adapter V8" |
|
| 58 |
- Provider = "TAP-Win32 Provider" |
|
| 57 |
+ DeviceDescription = "TAP-Win32 Adapter V9" |
|
| 58 |
+ Provider = "TAP-Win32 Provider V9" |
|
| 59 | 59 |
|
| 60 | 60 |
;---------------------------------------------------------------- |
| 61 | 61 |
; Manufacturer + Product Section (Done) |
| 62 | 62 |
;---------------------------------------------------------------- |
| 63 | 63 |
[Manufacturer] |
| 64 |
- %Provider% = tap0801, NTamd64 |
|
| 64 |
+ %Provider% = tap0901, NTamd64 |
|
| 65 | 65 |
|
| 66 |
-[tap0801.NTamd64] |
|
| 67 |
- %DeviceDescription% = tap0801.ndi, tap0801 |
|
| 66 |
+[tap0901.NTamd64] |
|
| 67 |
+ %DeviceDescription% = tap0901.ndi, tap0901 |
|
| 68 | 68 |
|
| 69 | 69 |
;--------------------------------------------------------------- |
| 70 | 70 |
; Driver Section (Done) |
| ... | ... |
@@ -79,23 +79,23 @@ |
| 79 | 79 |
; NCF_HAS_UI = 0x80 |
| 80 | 80 |
;----------------- Characteristics ------------ |
| 81 | 81 |
|
| 82 |
-[tap0801.ndi] |
|
| 83 |
- CopyFiles = tap0801.driver, tap0801.files |
|
| 84 |
- AddReg = tap0801.reg |
|
| 85 |
- AddReg = tap0801.params.reg |
|
| 82 |
+[tap0901.ndi] |
|
| 83 |
+ CopyFiles = tap0901.driver, tap0901.files |
|
| 84 |
+ AddReg = tap0901.reg |
|
| 85 |
+ AddReg = tap0901.params.reg |
|
| 86 | 86 |
Characteristics = 0x81 |
| 87 | 87 |
|
| 88 |
-[tap0801.ndi.Services] |
|
| 89 |
- AddService = tap0801, 2, tap0801.service |
|
| 88 |
+[tap0901.ndi.Services] |
|
| 89 |
+ AddService = tap0901, 2, tap0901.service |
|
| 90 | 90 |
|
| 91 |
-[tap0801.reg] |
|
| 92 |
- HKR, Ndi, Service, 0, "tap0801" |
|
| 91 |
+[tap0901.reg] |
|
| 92 |
+ HKR, Ndi, Service, 0, "tap0901" |
|
| 93 | 93 |
HKR, Ndi\Interfaces, UpperRange, 0, "ndis5" |
| 94 | 94 |
HKR, Ndi\Interfaces, LowerRange, 0, "ethernet" |
| 95 | 95 |
HKR, , Manufacturer, 0, "%Provider%" |
| 96 | 96 |
HKR, , ProductName, 0, "%DeviceDescription%" |
| 97 | 97 |
|
| 98 |
-[tap0801.params.reg] |
|
| 98 |
+[tap0901.params.reg] |
|
| 99 | 99 |
HKR, Ndi\params\MTU, ParamDesc, 0, "MTU" |
| 100 | 100 |
HKR, Ndi\params\MTU, Type, 0, "int" |
| 101 | 101 |
HKR, Ndi\params\MTU, Default, 0, "1500" |
| ... | ... |
@@ -136,13 +136,13 @@ |
| 136 | 136 |
; SERVICE_DISABLED = 0x4 |
| 137 | 137 |
;---------- Start Mode --------------- |
| 138 | 138 |
|
| 139 |
-[tap0801.service] |
|
| 139 |
+[tap0901.service] |
|
| 140 | 140 |
DisplayName = %DeviceDescription% |
| 141 | 141 |
ServiceType = 1 |
| 142 | 142 |
StartType = 3 |
| 143 | 143 |
ErrorControl = 1 |
| 144 | 144 |
LoadOrderGroup = NDIS |
| 145 |
- ServiceBinary = %12%\tap0801.sys |
|
| 145 |
+ ServiceBinary = %12%\tap0901.sys |
|
| 146 | 146 |
|
| 147 | 147 |
;----------------------------------------------------------------- |
| 148 | 148 |
; File Installation |
| ... | ... |
@@ -158,25 +158,25 @@ |
| 158 | 158 |
; 1 = "Intel Driver Disk 1",e100bex.sys,, |
| 159 | 159 |
|
| 160 | 160 |
[SourceDisksNames] |
| 161 |
- 1 = %DeviceDescription%, tap0801.sys |
|
| 161 |
+ 1 = %DeviceDescription%, tap0901.sys |
|
| 162 | 162 |
|
| 163 | 163 |
; SourceDisksFiles |
| 164 | 164 |
; filename_on_source = diskID[, [subdir][, size]] |
| 165 | 165 |
; e100bex.sys = 1,, ; on distribution disk 1 |
| 166 | 166 |
|
| 167 | 167 |
[SourceDisksFiles] |
| 168 |
-tap0801.sys = 1 |
|
| 168 |
+tap0901.sys = 1 |
|
| 169 | 169 |
|
| 170 | 170 |
[DestinationDirs] |
| 171 |
- tap0801.files = 11 |
|
| 172 |
- tap0801.driver = 12 |
|
| 171 |
+ tap0901.files = 11 |
|
| 172 |
+ tap0901.driver = 12 |
|
| 173 | 173 |
|
| 174 |
-[tap0801.files] |
|
| 174 |
+[tap0901.files] |
|
| 175 | 175 |
; TapPanel.cpl,,,6 ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK |
| 176 | 176 |
; cipsrvr.exe,,,6 ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK |
| 177 | 177 |
|
| 178 |
-[tap0801.driver] |
|
| 179 |
- tap0801.sys,,,6 ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK |
|
| 178 |
+[tap0901.driver] |
|
| 179 |
+ tap0901.sys,,,6 ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK |
|
| 180 | 180 |
|
| 181 | 181 |
;--------------------------------------------------------------- |
| 182 | 182 |
; End |
| ... | ... |
@@ -30,7 +30,7 @@ |
| 30 | 30 |
// Product and Version public settings |
| 31 | 31 |
//==================================================================== |
| 32 | 32 |
|
| 33 |
-#define PRODUCT_STRING "TAP-Win32 Adapter V8" |
|
| 33 |
+#define PRODUCT_STRING "TAP-Win32 Adapter V9" |
|
| 34 | 34 |
|
| 35 | 35 |
#define TAP_NDIS_MAJOR_VERSION 5 |
| 36 | 36 |
#define TAP_NDIS_MINOR_VERSION 0 |
| ... | ... |
@@ -11,9 +11,9 @@ |
| 11 | 11 |
; OUTPUT -> file:///c:/WINDDK/3790/tools/chkinf/htm/c%23+src+openvpn+tap-win32+i386+__OemWin2k.htm |
| 12 | 12 |
|
| 13 | 13 |
; INSTALL/REMOVE DRIVER |
| 14 |
-; tapinstall install OemWin2k.inf TAP0801 |
|
| 15 |
-; tapinstall update OemWin2k.inf TAP0801 |
|
| 16 |
-; tapinstall remove TAP0801 |
|
| 14 |
+; tapinstall install OemWin2k.inf TAP0901 |
|
| 15 |
+; tapinstall update OemWin2k.inf TAP0901 |
|
| 16 |
+; tapinstall remove TAP0901 |
|
| 17 | 17 |
|
| 18 | 18 |
;********************************************************* |
| 19 | 19 |
; Note to Developers: |
| ... | ... |
@@ -51,20 +51,20 @@ |
| 51 | 51 |
|
| 52 | 52 |
; This version number should match the version |
| 53 | 53 |
; number given in SOURCES. |
| 54 |
- DriverVer=09/13/2006,8.00.00.0004 |
|
| 54 |
+ DriverVer=02/27/2007,9.00.00.0001 |
|
| 55 | 55 |
|
| 56 | 56 |
[Strings] |
| 57 |
- DeviceDescription = "TAP-Win32 Adapter V8" |
|
| 58 |
- Provider = "TAP-Win32 Provider" |
|
| 57 |
+ DeviceDescription = "TAP-Win32 Adapter V9" |
|
| 58 |
+ Provider = "TAP-Win32 Provider V9" |
|
| 59 | 59 |
|
| 60 | 60 |
;---------------------------------------------------------------- |
| 61 | 61 |
; Manufacturer + Product Section (Done) |
| 62 | 62 |
;---------------------------------------------------------------- |
| 63 | 63 |
[Manufacturer] |
| 64 |
- %Provider% = tap0801 |
|
| 64 |
+ %Provider% = tap0901 |
|
| 65 | 65 |
|
| 66 |
-[tap0801] |
|
| 67 |
- %DeviceDescription% = tap0801.ndi, tap0801 |
|
| 66 |
+[tap0901] |
|
| 67 |
+ %DeviceDescription% = tap0901.ndi, tap0901 |
|
| 68 | 68 |
|
| 69 | 69 |
;--------------------------------------------------------------- |
| 70 | 70 |
; Driver Section (Done) |
| ... | ... |
@@ -79,23 +79,23 @@ |
| 79 | 79 |
; NCF_HAS_UI = 0x80 |
| 80 | 80 |
;----------------- Characteristics ------------ |
| 81 | 81 |
|
| 82 |
-[tap0801.ndi] |
|
| 83 |
- CopyFiles = tap0801.driver, tap0801.files |
|
| 84 |
- AddReg = tap0801.reg |
|
| 85 |
- AddReg = tap0801.params.reg |
|
| 82 |
+[tap0901.ndi] |
|
| 83 |
+ CopyFiles = tap0901.driver, tap0901.files |
|
| 84 |
+ AddReg = tap0901.reg |
|
| 85 |
+ AddReg = tap0901.params.reg |
|
| 86 | 86 |
Characteristics = 0x81 |
| 87 | 87 |
|
| 88 |
-[tap0801.ndi.Services] |
|
| 89 |
- AddService = tap0801, 2, tap0801.service |
|
| 88 |
+[tap0901.ndi.Services] |
|
| 89 |
+ AddService = tap0901, 2, tap0901.service |
|
| 90 | 90 |
|
| 91 |
-[tap0801.reg] |
|
| 92 |
- HKR, Ndi, Service, 0, "tap0801" |
|
| 91 |
+[tap0901.reg] |
|
| 92 |
+ HKR, Ndi, Service, 0, "tap0901" |
|
| 93 | 93 |
HKR, Ndi\Interfaces, UpperRange, 0, "ndis5" |
| 94 | 94 |
HKR, Ndi\Interfaces, LowerRange, 0, "ethernet" |
| 95 | 95 |
HKR, , Manufacturer, 0, "%Provider%" |
| 96 | 96 |
HKR, , ProductName, 0, "%DeviceDescription%" |
| 97 | 97 |
|
| 98 |
-[tap0801.params.reg] |
|
| 98 |
+[tap0901.params.reg] |
|
| 99 | 99 |
HKR, Ndi\params\MTU, ParamDesc, 0, "MTU" |
| 100 | 100 |
HKR, Ndi\params\MTU, Type, 0, "int" |
| 101 | 101 |
HKR, Ndi\params\MTU, Default, 0, "1500" |
| ... | ... |
@@ -136,13 +136,13 @@ |
| 136 | 136 |
; SERVICE_DISABLED = 0x4 |
| 137 | 137 |
;---------- Start Mode --------------- |
| 138 | 138 |
|
| 139 |
-[tap0801.service] |
|
| 139 |
+[tap0901.service] |
|
| 140 | 140 |
DisplayName = %DeviceDescription% |
| 141 | 141 |
ServiceType = 1 |
| 142 | 142 |
StartType = 3 |
| 143 | 143 |
ErrorControl = 1 |
| 144 | 144 |
LoadOrderGroup = NDIS |
| 145 |
- ServiceBinary = %12%\tap0801.sys |
|
| 145 |
+ ServiceBinary = %12%\tap0901.sys |
|
| 146 | 146 |
|
| 147 | 147 |
;----------------------------------------------------------------- |
| 148 | 148 |
; File Installation |
| ... | ... |
@@ -158,25 +158,25 @@ |
| 158 | 158 |
; 1 = "Intel Driver Disk 1",e100bex.sys,, |
| 159 | 159 |
|
| 160 | 160 |
[SourceDisksNames] |
| 161 |
- 1 = %DeviceDescription%, tap0801.sys |
|
| 161 |
+ 1 = %DeviceDescription%, tap0901.sys |
|
| 162 | 162 |
|
| 163 | 163 |
; SourceDisksFiles |
| 164 | 164 |
; filename_on_source = diskID[, [subdir][, size]] |
| 165 | 165 |
; e100bex.sys = 1,, ; on distribution disk 1 |
| 166 | 166 |
|
| 167 | 167 |
[SourceDisksFiles] |
| 168 |
-tap0801.sys = 1 |
|
| 168 |
+tap0901.sys = 1 |
|
| 169 | 169 |
|
| 170 | 170 |
[DestinationDirs] |
| 171 |
- tap0801.files = 11 |
|
| 172 |
- tap0801.driver = 12 |
|
| 171 |
+ tap0901.files = 11 |
|
| 172 |
+ tap0901.driver = 12 |
|
| 173 | 173 |
|
| 174 |
-[tap0801.files] |
|
| 174 |
+[tap0901.files] |
|
| 175 | 175 |
; TapPanel.cpl,,,6 ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK |
| 176 | 176 |
; cipsrvr.exe,,,6 ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK |
| 177 | 177 |
|
| 178 |
-[tap0801.driver] |
|
| 179 |
- tap0801.sys,,,6 ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK |
|
| 178 |
+[tap0901.driver] |
|
| 179 |
+ tap0901.sys,,,6 ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK |
|
| 180 | 180 |
|
| 181 | 181 |
;--------------------------------------------------------------- |
| 182 | 182 |
; End |