home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 April / CHIP_CD_2005-04.iso / bonus / srew / files / openvpn-2.0_rc16-install.exe / driver / OemWin2k.inf next >
Windows Setup INFormation  |  2005-01-09  |  7KB  |  174 lines

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