home *** CD-ROM | disk | FTP | other *** search
/ Chip 2009 November / Chip_2009.11_CD.iso / I386 / NETWZC.IN_ / netwzc.inf
Encoding:
Text (UTF-16)  |  2008-04-14  |  7.8 KB  |  95 lines

  1. ;-------------------------------------------------------------------------
  2. ; WZCSVC.INF -- Wireless Zero Configuration service
  3. ;
  4. ; Copyright (c) 2001, Microsoft Corporation
  5. ;-------------------------------------------------------------------------
  6. [version]
  7. Signature   = "$Windows NT$"
  8. Class       = NetService
  9. ClassGUID   = {4D36E974-E325-11CE-BFC1-08002BE10318}
  10. LayoutFile  = layout.inf
  11. Provider    = %Msft%
  12. DriverVer=07/01/2001,5.1.2600.5512
  13.  
  14. [Manufacturer]
  15. %Msft%=MSFT
  16.  
  17. [MSFT]
  18. %WZCSVC_Desc%=WZCSVC.ndi, MS_WZCSVC
  19.  
  20. [WZCSVC.ndi]
  21. AddReg=WZCSVC.ndi.AddReg
  22. Characteristics=0x28                ; NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
  23. CopyFiles=WZCSVC_files
  24.  
  25. [WZCSVC.ndi.AddReg]
  26. HKR, Ndi,            Service,    , "wzcsvc"
  27. HKR, Ndi\Interfaces, UpperRange, , "noupper"
  28. HKR, Ndi\Interfaces, LowerRange, , "nolower"
  29.  
  30. ;-------------------------------------------------------------------------
  31. ; Declare Destination Directories for file copy/deletion
  32. [DestinationDirs]
  33. WZCSVC_files    = 11                ; System directory
  34.  
  35. ;-------------------------------------------------------------------------
  36. ; Files to Copy/Delete
  37. [WZCSVC_files]
  38. wzcsvc.dll,,,2                      ; 2 = Setup critical; don't allow the user
  39. wzcsapi.dll,,,2                     ;     to skip the file
  40.  
  41. [WZCSVC.ndi.Services]
  42. AddService = WZCSVC, 0x10, WZCSVC.ndi.AddService, WZCSVC.ndi.AddEventLog
  43.  
  44. ;========================================================================
  45. ; {Setup WZC Service
  46. [WZCSVC.ndi.AddService]
  47. DisplayName     = %WZCSVC_Desc%
  48. ServiceType     = 0x20              ;SERVICE_WIN32_SHARE_PROCESS
  49. StartType       = 2                 ;SERVICE_AUTO_START
  50. ErrorControl    = 1                 ;SERVICE_ERROR_NORMAL
  51. Dependencies    = RpcSs, Ndisuio
  52. Description     = %WZCSVC_HelpText%
  53. AddReg          = WZCSVC.ndi.Services.AddReg
  54. ServiceBinary   = "%%SystemRoot%%\System32\svchost.exe -k netsvcs"
  55. LoadOrderGroup  = TDI
  56.  
  57. ;------------------------------------------------------------------------
  58. ; {Setup Registry
  59. [WZCSVC.ndi.Services.AddReg]
  60. HKR, Parameters, ServiceDll,    0x00020000, "%%SystemRoot%%\System32\wzcsvc.dll"
  61. HKR, Parameters, ServiceMain,   0x00000000, "WZCSvcMain"
  62. HKR, Parameters, ServiceDllUnloadOnStop,   0x00010001, 0x1
  63. ;HKLM,"SYSTEM\CurrentControlSet\Services\Eventlog\Application\WZCSVC","EventMessageFile", 0x00020000,"%%SystemRoot%%\System32\wzcsvc.dll"
  64. ;HKLM,"SYSTEM\CurrentControlSet\Services\Eventlog\Application\WZCSVC","TypesSupported",0x00010001,7
  65. ;Tracing details
  66. ;HKLM,"Software\Microsoft\Tracing\WZCTrace","ConsoleTracingMask",0x00010001,0xffff0000
  67. ;HKLM,"Software\Microsoft\Tracing\WZCTrace","EnableConsoleTracing",0x00010001,0x00000000
  68. ;HKLM,"Software\Microsoft\Tracing\WZCTrace","FileTracingMask",0x00010001,0xffff0000
  69. ;HKLM,"Software\Microsoft\Tracing\WZCTrace","EnableFileTracing",0x00010001,0x00000000
  70. ;HKLM,"Software\Microsoft\Tracing\WZCTrace","FileDirectory",FLG_ADDREG_TYPE_EXPAND_SZ ,"%%SystemRoot%%\Tracing"
  71. ; Setup Registry}
  72. ;------------------------------------------------------------------------
  73. ;------------------------------------------------------------------------
  74. ; {Setup Event Logs
  75. [WZCSVC.ndi.AddEventLog]
  76. AddReg  = WZCSVC.ndi.AddEventLog.AddReg
  77.  
  78. [WZCSVC.ndi.AddEventLog.AddReg]
  79. HKR, , "EventMessageFile", 0x20000, "%%SystemRoot%%\System32\wzcsvc.dll"
  80. HKR, , "TypesSupported",   0x10001, 7
  81. ; Setup Event Logs}
  82. ;------------------------------------------------------------------------
  83. ; Setup WZC Service}
  84. ;========================================================================
  85. ;========================================================================
  86. ; {Cleanup WZC Service
  87. [WZCSVC.ndi.Remove.Services]
  88. DelService=WZCSVC
  89. ; Cleanup WZC Service}
  90. ;========================================================================
  91. [Strings]
  92. Msft = "Microsoft"
  93. WZCSVC_Desc = "Беспроводная настройка"
  94. WZCSVC_HelpText = "Предоставляет  автоматическую настройку 802.11 адаптеров"
  95.