svn cleanup
[anytun.git] / openvpn / tap-win32 / i386 / OemWin2k.inf
blob219b4ca9fb6942f228279cecd288f675c9966b71
1 ; ****************************************************************************
2 ; * Copyright (C) 2002-2006 OpenVPN Solutions LLC                            *
3 ; *  This program is free software; you can redistribute it and/or modify    *
4 ; *  it under the terms of the GNU General Public License version 2          *
5 ; *  as published by the Free Software Foundation.                           *
6 ; ****************************************************************************
8 ; SYNTAX CHECKER
9 ; cd \WINDDK\3790\tools\chkinf
10 ; chkinf c:\src\openvpn\tap-win32\i386\oemwin2k.inf
11 ; OUTPUT -> file:///c:/WINDDK/3790/tools/chkinf/htm/c%23+src+openvpn+tap-win32+i386+__OemWin2k.htm
13 ; INSTALL/REMOVE DRIVER
14 ;   tapinstall install OemWin2k.inf TAP0801
15 ;   tapinstall update OemWin2k.inf TAP0801
16 ;   tapinstall remove TAP0801
18 ;*********************************************************
19 ; Note to Developers:
21 ; If you are bundling the TAP-Win32 driver with your app,
22 ; you should try to rename it in such a way that it will
23 ; not collide with other instances of TAP-Win32 defined
24 ; by other apps.  Multiple versions of the TAP-Win32
25 ; driver, each installed by different apps, can coexist
26 ; on the same machine if you follow these guidelines:
28 ; (1) Rename all tapXXXX instances in this file to
29 ;     something different (use at least 5 characters
30 ;     for this name!)
31 ; (2) Change the "!define TAP" definition in openvpn.nsi
32 ;     to match what you changed tapXXXX to.
33 ; (3) Change TARGETNAME in SOURCES to match what you
34 ;     changed tapXXXX to.
35 ; (4) Change TAP_COMPONENT_ID in common.h to match what
36 ;     you changed tapXXXX to.
37 ; (5) Change SZDEPENDENCIES in service.h to match what
38 ;     you changed tapXXXX to.
39 ; (6) Change DeviceDescription and Provider strings.
40 ; (7) Change PRODUCT_STRING in constants.h to what you
41 ;     set DeviceDescription to.
43 ;*********************************************************
45 [Version]
46    Signature = "$Windows NT$"
47    CatalogFile = tap.cat
48    ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
49    Provider = %Provider%
50    Class = Net
52 ; This version number should match the version
53 ; number given in SOURCES.
54    DriverVer=09/13/2006,8.00.00.0004
56 [Strings]
57    DeviceDescription = "TAP-Win32 Adapter V8"
58    Provider = "TAP-Win32 Provider"
60 ;----------------------------------------------------------------
61 ;                      Manufacturer + Product Section (Done)
62 ;----------------------------------------------------------------
63 [Manufacturer]
64    %Provider% = tap0801
66 [tap0801]
67    %DeviceDescription% = tap0801.ndi, tap0801
69 ;---------------------------------------------------------------
70 ;                             Driver Section (Done)
71 ;---------------------------------------------------------------
73 ;----------------- Characteristics ------------
74 ;    NCF_PHYSICAL = 0x04
75 ;    NCF_VIRTUAL = 0x01
76 ;    NCF_SOFTWARE_ENUMERATED = 0x02
77 ;    NCF_HIDDEN = 0x08
78 ;    NCF_NO_SERVICE = 0x10
79 ;    NCF_HAS_UI = 0x80
80 ;----------------- Characteristics ------------
82 [tap0801.ndi]
83    CopyFiles       = tap0801.driver, tap0801.files
84    AddReg          = tap0801.reg
85    AddReg          = tap0801.params.reg
86    Characteristics = 0x81
88 [tap0801.ndi.Services]
89    AddService = tap0801,        2, tap0801.service
91 [tap0801.reg]
92    HKR, Ndi,            Service,      0, "tap0801"
93    HKR, Ndi\Interfaces, UpperRange,   0, "ndis5"
94    HKR, Ndi\Interfaces, LowerRange,   0, "ethernet"
95    HKR, ,               Manufacturer, 0, "%Provider%"
96    HKR, ,               ProductName,  0, "%DeviceDescription%"
98 [tap0801.params.reg]
99    HKR, Ndi\params\MTU,                  ParamDesc, 0, "MTU"
100    HKR, Ndi\params\MTU,                  Type,      0, "int"
101    HKR, Ndi\params\MTU,                  Default,   0, "1500"
102    HKR, Ndi\params\MTU,                  Optional,  0, "0"
103    HKR, Ndi\params\MTU,                  Min,       0, "100"
104    HKR, Ndi\params\MTU,                  Max,       0, "1500"
105    HKR, Ndi\params\MTU,                  Step,      0, "1"
106    HKR, Ndi\params\MediaStatus,          ParamDesc, 0, "Media Status"
107    HKR, Ndi\params\MediaStatus,          Type,      0, "enum"
108    HKR, Ndi\params\MediaStatus,          Default,   0, "0"
109    HKR, Ndi\params\MediaStatus,          Optional,  0, "0"
110    HKR, Ndi\params\MediaStatus\enum,     "0",       0, "Application Controlled"
111    HKR, Ndi\params\MediaStatus\enum,     "1",       0, "Always Connected"
112    HKR, Ndi\params\MAC,                  ParamDesc, 0, "MAC Address"
113    HKR, Ndi\params\MAC,                  Type,      0, "edit"
114    HKR, Ndi\params\MAC,                  Optional,  0, "1"
115    HKR, Ndi\params\AllowNonAdmin,        ParamDesc, 0, "Non-Admin Access"
116    HKR, Ndi\params\AllowNonAdmin,        Type,      0, "enum"
117    HKR, Ndi\params\AllowNonAdmin,        Default,   0, "1"
118    HKR, Ndi\params\AllowNonAdmin,        Optional,  0, "0"
119    HKR, Ndi\params\AllowNonAdmin\enum,   "0",       0, "Not Allowed"
120    HKR, Ndi\params\AllowNonAdmin\enum,   "1",       0, "Allowed"
122 ;----------------------------------------------------------------
123 ;                             Service Section
124 ;----------------------------------------------------------------
126 ;---------- Service Type -------------
127 ;    SERVICE_KERNEL_DRIVER     = 0x01
128 ;    SERVICE_WIN32_OWN_PROCESS = 0x10
129 ;---------- Service Type -------------
131 ;---------- Start Mode ---------------
132 ;    SERVICE_BOOT_START   = 0x0
133 ;    SERVICE_SYSTEM_START = 0x1
134 ;    SERVICE_AUTO_START   = 0x2
135 ;    SERVICE_DEMAND_START = 0x3
136 ;    SERVICE_DISABLED     = 0x4
137 ;---------- Start Mode ---------------
139 [tap0801.service]
140    DisplayName = %DeviceDescription%
141    ServiceType = 1
142    StartType = 3
143    ErrorControl = 1
144    LoadOrderGroup = NDIS
145    ServiceBinary = %12%\tap0801.sys
147 ;-----------------------------------------------------------------
148 ;                                File Installation
149 ;-----------------------------------------------------------------
151 ;----------------- Copy Flags ------------
152 ;    COPYFLG_NOSKIP = 0x02
153 ;    COPYFLG_NOVERSIONCHECK = 0x04
154 ;----------------- Copy Flags ------------
156 ; SourceDisksNames
157 ; diskid = description[, [tagfile] [, <unused>, subdir]]
158 ; 1 = "Intel Driver Disk 1",e100bex.sys,,
160 [SourceDisksNames]
161    1 = %DeviceDescription%, tap0801.sys
163 ; SourceDisksFiles
164 ; filename_on_source = diskID[, [subdir][, size]]
165 ; e100bex.sys = 1,, ; on distribution disk 1
167 [SourceDisksFiles]
168 tap0801.sys = 1
170 [DestinationDirs]
171    tap0801.files  = 11
172    tap0801.driver = 12
174 [tap0801.files]
175 ;   TapPanel.cpl,,,6   ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK
176 ;   cipsrvr.exe,,,6     ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK
178 [tap0801.driver]
179    tap0801.sys,,,6     ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK
181 ;---------------------------------------------------------------
182 ;                                      End
183 ;---------------------------------------------------------------