home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / NETSNMP.IN_ / netsnmp.inf
Encoding:
Windows Setup INFormation  |  2003-03-24  |  12.4 KB  |  373 lines

  1. ; NETSNMP.INX
  2. ;
  3. ; Simple Network Management Protocol
  4. ;
  5. ; Copyright (c) Microsoft Corporation.  All rights reserved.
  6.  
  7. [Version]
  8. Signature="$Windows NT$"
  9. LayoutFile=layout.inf
  10. Provider=%Msft%
  11. DriverVer=10/01/2002,5.2.3790.0
  12.  
  13. [SNMP]
  14. CopyFiles               = CpyFiles_Sys,CpyFiles_Sys_Console
  15. DelFiles                = DelObsolete_Sys
  16. Uninstall               = SNMP.Remove
  17. StartServices           = SNMP, SNMPTRAP
  18.  
  19. [SNMP.Remove]
  20. DelReg                  = SNMP.DelReg
  21. DelFiles                = DelFiles_Sys
  22.  
  23. [DestinationDirs]
  24. CpyFiles_Sys            = 11                ;%windir%\System32
  25. CpyFiles_Sys_Console    = 11                ;%windir%\System32
  26. DelFiles_Sys            = 11                ;%windir%\System32
  27. DelObsolete_Sys         = 11                ;%windir%\System32
  28.  
  29. [SNMP.Services]
  30. AddService = SNMP, 0x10,         SNMP_Service_Inst,      SNMP_Evt
  31. AddService = SNMPTRAP, 0x10,     SNMPTRAP_Service_Inst,  SNMPTRAP_Evt
  32.  
  33. [SNMP.Remove.Services]
  34. DelService = SNMP, 0x04
  35. DelService = SNMPTRAP, 0x04
  36.  
  37. ;-------------------------------------------------------------------------
  38. ; SNMP subagent sections/entries
  39. ; In order to add an SNMP subagent:
  40. ; - define an entry in each of [SNMP.SNMPAgent] and [SNMP.Remove.SNMPAgent]
  41. ; - define [SNMP.Add<subagent>] and [SNMP.Remove.Del<subagent>]
  42. ; - make sure the binary is copied/removed by [CpyFiles_Sys] and [DelFiles_Sys]
  43. ; - any other particular registry configuration should go in [SNMP.AddReg] and [SNMP.DelReg]
  44. ;-------------------------------------------------------------------------
  45. [SNMP.SNMPAgent]
  46. AddAgent = SNMP.AddLMMIB2Agent
  47. AddAgent = SNMP.AddINETMIB1Agent
  48. AddAgent = SNMP.AddHOSTMIBAgent
  49. AddAgent = SNMP.AddSNMPAgent
  50. AddAgent = SNMP.AddEVNTAgent
  51. AddAgent = SNMP.AddWINSSNMPAgent
  52. AddAgent = SNMP.AddDHCPSNMPAgent
  53. AddAgent = SNMP.AddIGMPSNMPAgent
  54. AddAgent = SNMP.AddIPMulticastSNMPAgent
  55. AddAgent = SNMP.AddRIPSNMPAgent
  56. AddAgent = SNMP.AddOSPFSNMPAgent
  57. AddAgent = SNMP.AddBOOTPSNMPAgent
  58. AddAgent = SNMP.AddIASSNMPAgent
  59.  
  60. [SNMP.Remove.SNMPAgent]
  61. DelAgent = SNMP.Remove.DelLMMIB2Agent
  62. DelAgent = SNMP.Remove.DelINETMIB1Agent
  63. DelAgent = SNMP.Remove.DelHOSTMIBAgent
  64. DelAgent = SNMP.Remove.DelSNMPAgent
  65. DelAgent = SNMP.Remove.DelEVNTAgent
  66. DelAgent = SNMP.Remove.DelWINSSNMPAgent
  67. DelAgent = SNMP.Remove.DelDHCPSNMPAgent
  68. DelAgent = SNMP.Remove.DelIGMPSNMPAgent
  69. DelAgent = SNMP.Remove.DelIPMulticastSNMPAgent
  70. DelAgent = SNMP.Remove.DelRIPSNMPAgent
  71. DelAgent = SNMP.Remove.DelOSPFSNMPAgent
  72. DelAgent = SNMP.Remove.DelBOOTPSNMPAgent
  73. AddAgent = SNMP.Remove.DelIASSNMPAgent
  74.  
  75. [SNMP.AddLMMIB2Agent]
  76. ServiceName = "SNMP"
  77. AgentName = "LANManagerMIB2Agent"
  78. AgentPath = "%SystemRoot%\System32\lmmib2.dll"
  79.  
  80. [SNMP.AddINETMIB1Agent]
  81. ServiceName = "SNMP"
  82. AgentName = "RFC1156Agent"
  83. AgentPath = "%SystemRoot%\System32\inetmib1.dll"
  84.  
  85. [SNMP.AddHOSTMIBAgent]
  86. ServiceName = "SNMP"
  87. AgentName = "HostMIB"
  88. AgentPath = "%SystemRoot%\System32\hostmib.dll"
  89.  
  90. [SNMP.AddSNMPAgent]
  91. ServiceName = "SNMP"
  92. AgentName = "SNMPMIB"
  93. AgentPath = "%SystemRoot%\System32\snmpmib.dll"
  94.  
  95. [SNMP.AddEVNTAgent]
  96. ServiceName = "SNMP"
  97. AgentName = "SNMP_EVENTS"
  98. AgentPath = "%SystemRoot%\System32\evntagnt.dll"
  99.  
  100. [SNMP.AddWINSSNMPAgent]
  101. ServiceName = "WINS"
  102. AgentName = "WINSMibAgent"
  103. AgentPath = "%SystemRoot%\System32\winsmib.dll"
  104.  
  105. [SNMP.AddDHCPSNMPAgent]
  106. ServiceName = "DHCPServer"
  107. AgentName = "DhcpMibAgent"
  108. AgentPath = "%SystemRoot%\System32\dhcpmib.dll"
  109.  
  110. [SNMP.AddIGMPSNMPAgent]
  111. ServiceName = "RemoteAccess"
  112. AgentName = "IGMPMibAgent"
  113. AgentPath = "%SystemRoot%\System32\igmpagnt.dll"
  114.  
  115. [SNMP.AddIPMulticastSNMPAgent]
  116. ServiceName = "RemoteAccess"
  117. AgentName = "IPMulticastMibAgent"
  118. AgentPath = "%SystemRoot%\System32\mcastmib.dll"
  119.  
  120. [SNMP.AddRIPSNMPAgent]
  121. ServiceName = "RemoteAccess"
  122. AgentName = "RIPMibAgent"
  123. AgentPath = "%SystemRoot%\System32\ripagnt.dll"
  124.  
  125. [SNMP.AddOSPFSNMPAgent]
  126. ServiceName = "RemoteAccess"
  127. AgentName = "OSPFMibAgent"
  128. AgentPath = "%SystemRoot%\System32\ospfagnt.dll"
  129.  
  130. [SNMP.AddBOOTPSNMPAgent]
  131. ServiceName = "RemoteAccess"
  132. AgentName = "BOOTPMibAgent"
  133. AgentPath = "%SystemRoot%\System32\btpagnt.dll"
  134.  
  135. [SNMP.AddIASSNMPAgent]
  136. ServiceName = "IAS"
  137. AgentName = "IASAgent"
  138. AgentPath = "%SystemRoot%\System32\iasperf.dll"
  139.  
  140. [SNMP.Remove.DelLMMIB2Agent]
  141. AgentName = "LANManagerMIB2Agent"
  142.  
  143. [SNMP.Remove.DelINETMIB1Agent]
  144. AgentName = "RFC1156Agent"
  145.  
  146. [SNMP.Remove.DelHOSTMIBAgent]
  147. AgentName = "HostMIB"
  148.  
  149. [SNMP.Remove.DelSNMPAgent]
  150. AgentName = "SNMPMIB"
  151.  
  152. [SNMP.Remove.DelEVNTAgent]
  153. AgentName = "SNMP_EVENTS"
  154.  
  155. [SNMP.Remove.DelWINSSNMPAgent]
  156. AgentName = "WINSMibAgent"
  157.  
  158. [SNMP.Remove.DelDHCPSNMPAgent]
  159. AgentName = "DhcpMibAgent"
  160.  
  161. [SNMP.Remove.DelIGMPSNMPAgent]
  162. AgentName = "IGMPMibAgent"
  163.  
  164. [SNMP.Remove.DelIPMulticastSNMPAgent]
  165. AgentName = "IPMulticastMibAgent"
  166.  
  167. [SNMP.Remove.DelRIPSNMPAgent]
  168. AgentName = "RIPMibAgent"
  169.  
  170. [SNMP.Remove.DelOSPFSNMPAgent]
  171. AgentName = "OSPFMibAgent"
  172.  
  173. [SNMP.Remove.DelBOOTPSNMPAgent]
  174. AgentName = "BOOTPMibAgent"
  175.  
  176. [SNMP.Remove.DelIASSNMPAgent]
  177. AgentName = "IASAgent"
  178.  
  179. ;-------------------------------------------------------------------------
  180. ; File operations performed on SNMP service installation
  181. ; - copy files to %windir%system32 directory
  182. ; - copy files to %windir%help directory
  183. ; - delete obsoleted files from %windir%\system32 directory
  184. ;-------------------------------------------------------------------------
  185. [CpyFiles_Sys]
  186. lmmib2.dll,,,2
  187. hostmib.dll,,,2
  188. snmpmib.dll,,,2
  189. evntagnt.dll,,,2
  190. evntwin.exe,,,2
  191. accserv.mib,,,2
  192. authserv.mib,,,2
  193. dhcp.mib,,,2
  194. ftp.mib,,,2
  195. hostmib.mib,,,2
  196. http.mib,,,2
  197. inetsrv.mib,,,2
  198. ipforwd.mib,,,2
  199. lmmib2.mib,,,2
  200. mcastmib.mib,,,2
  201. mib_ii.mib,,,2
  202. mipx.mib,,,2
  203. mripsap.mib,,,2
  204. msft.mib,,,2
  205. msipbtp.mib,,,2
  206. msiprip2.mib,,,2
  207. nipx.mib,,,2
  208. rfc2571.mib,,,2
  209. smi.mib,,,2
  210. wfospf.mib,,,2
  211. wins.mib,,,2
  212.  
  213. [CpyFiles_Sys.Security]
  214. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"
  215.  
  216. [CpyFiles_Sys_Console]
  217. evntcmd.exe,,,2
  218. snmp.exe,,,2
  219. snmptrap.exe,,,2
  220.  
  221. [CpyFiles_Sys_Console.Security]
  222. "D:P(A;;GRGX;;;IU)(A;;GRGX;;;SU)(A;;GRGX;;;S-1-5-3)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GA;;;CO)"
  223.  
  224. [DelObsolete_Sys]
  225. snmpcfg.exe,,,1
  226.  
  227. ;-------------------------------------------------------------------------
  228. ; File operations performed when SNMP service gets uninstalled
  229. ; - delete files from %windir%\system32 directory
  230. ; - delete files from %windir%\help directory
  231. ;-------------------------------------------------------------------------
  232. [DelFiles_Sys]
  233. lmmib2.dll,,,1
  234. hostmib.dll,,,1
  235. snmpmib.dll,,,1
  236. evntagnt.dll,,,1
  237. evntcmd.exe,,,1
  238. evntwin.exe,,,1
  239. snmp.exe,,,1
  240. snmptrap.exe,,,1
  241. accserv.mib,,,1
  242. authserv.mib,,,1
  243. dhcp.mib,,,1
  244. ftp.mib,,,1
  245. hostmib.mib,,,1
  246. http.mib,,,1
  247. inetsrv.mib,,,1
  248. ipforwd.mib,,,1
  249. lmmib2.mib,,,1
  250. mcastmib.mib,,,1
  251. mib_ii.mib,,,1
  252. mipx.mib,,,1
  253. mripsap.mib,,,1
  254. msft.mib,,,1
  255. msipbtp.mib,,,1
  256. msiprip2.mib,,,1
  257. nipx.mib,,,1
  258. rfc2571.mib,,,1
  259. smi.mib,,,1
  260. wfospf.mib,,,1
  261. wins.mib,,,1
  262.  
  263. ;-------------------------------------------------------------------------
  264. ; Service Install Sections
  265. ;-------------------------------------------------------------------------
  266. [SNMP_Service_Inst]
  267. DisplayName     =   %SNMP_Display%
  268. ServiceType     =   %SERVICE_WIN32_OWN_PROCESS%
  269. StartType       =   %SERVICE_AUTO_START%
  270. ErrorControl    =   1
  271. ServiceBinary   =   "%%SystemRoot%%\System32\snmp.exe"
  272. Dependencies    =   EventLog
  273. StartName       =   LocalSystem
  274. AddReg          =   SNMP_AddReg
  275. Description     =   %SNMP_Desc%
  276.  
  277. [SNMPTRAP_Service_Inst]
  278. DisplayName     =   %SNMPTRAP_Display%
  279. ServiceType     =   %SERVICE_WIN32_OWN_PROCESS%
  280. StartType       =   %SERVICE_DEMAND_START%
  281. ErrorControl    =   1
  282. ServiceBinary   =   "%%SystemRoot%%\System32\snmptrap.exe"
  283. Dependencies    =   EventLog
  284. StartName       =   "NT AUTHORITY"\LocalService
  285. AddReg          =   SNMPTRAP_AddReg
  286. Description     =   %SNMPTRAP_Desc%
  287.  
  288. [SNMP_AddReg]
  289. HKR,"Parameters",                        "EnableAuthenticationTraps",    0x00010003, 1
  290. HKR,"Parameters",                        "NameResolutionRetries",        0x00010003, 16
  291. HKR,"Parameters\ExtensionAgents",       ,                                0x00000010      ; no values
  292. HKR,"Parameters\PermittedManagers",     ,                                0x00000010      ; no values
  293. HKR,"Parameters\TrapConfiguration",     ,                                0x00000010      ; no values
  294. HKR,"Parameters\ValidCommunities",      ,                                0x00000010      ; no values
  295.  
  296. HKR,"Parameters\RFC1156Agent",                                "sysContact",        0x00000002, ""
  297. HKR,"Parameters\RFC1156Agent",                                "sysLocation",       0x00000002, ""
  298. HKR,"Parameters\RFC1156Agent",                                "sysServices",       0x00010003, 76
  299.  
  300. HKLM,"SOFTWARE\Microsoft\SNMP_EVENTS\EventLog",               "ConfigurationType", 0x00010003, 0
  301. HKLM,"SOFTWARE\Microsoft\SNMP_EVENTS\EventLog",               "TranslatorEnabled", 0x00000002, "No"
  302. HKLM,"SOFTWARE\Microsoft\SNMP_EVENTS\EventLog\Parameters",    "BaseEnterpriseOID", 0x00000002, "1.3.6.1.4.1.311.1.13.1"
  303. HKLM,"SOFTWARE\Microsoft\SNMP_EVENTS\EventLog\Parameters",    "SupportedView",     0x00000002, "2.0"
  304. HKLM,"SOFTWARE\Microsoft\SNMP_EVENTS\EventLog\Sources",       ,                    0x00000010       ; no values
  305.  
  306. [SNMP.DelReg]
  307. HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\Application\EvntAgnt"
  308.  
  309. ;-------------------------------------------------------------------------
  310. ; Event sources registered when SNMP is installed
  311. ;-------------------------------------------------------------------------
  312. [SNMP_Evt]
  313. AddReg = SNMP_Evt_AddReg
  314. AddReg = EVNTAGNT_Evt_AddReg
  315. ;-------------------------------------------------------------------------
  316. ; register SNMP.EXE as an event source
  317. ;-------------------------------------------------------------------------
  318. [SNMP_Evt_AddReg]
  319. HKR,, EventMessageFile, %REG_EXPAND_SZ%,    "%%SystemRoot%%\System32\snmp.exe"
  320. HKR,, TypesSupported,   %REG_DWORD%,        0x00000007
  321. ;-------------------------------------------------------------------------
  322. ; register EVNTAGNT.DLL as an event source
  323. ;-------------------------------------------------------------------------
  324. [EVNTAGNT_Evt_AddReg]
  325. HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\Application\EvntAgnt", EventMessageFile, %REG_EXPAND_SZ%,    "%%SystemRoot%%\System32\evntagnt.dll"
  326. HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\Application\EvntAgnt", TypesSupported,   %REG_DWORD%,        0x00000007
  327.  
  328. ;-------------------------------------------------------------------------
  329. ; Event sources registered when SNMPTRAP service is installed
  330. ;-------------------------------------------------------------------------
  331. [SNMPTRAP_Evt]
  332. AddReg = SNMPTRAP_Evt_AddReg
  333. ;-------------------------------------------------------------------------
  334. ; register SNMPTRAP.EXE as an event source
  335. ;-------------------------------------------------------------------------
  336. [SNMPTRAP_Evt_AddReg]
  337. HKR,, EventMessageFile, %REG_EXPAND_SZ%,    "%%SystemRoot%%\System32\snmptrap.exe"
  338. HKR,, TypesSupported,   %REG_DWORD%,        0x00000007
  339.  
  340. [Strings]
  341. Msft = "Microsoft"
  342.  
  343. ; Service names
  344. SNMP_Display = "SNMP Service"
  345. SNMP_Desc = "Enables Simple Network Management Protocol (SNMP) requests to be processed by this computer. If this service is stopped, the computer will be unable to process SNMP requests. If this service is disabled, any services that explicitly depend on it will fail to start."
  346. SNMPTRAP_Display = "SNMP Trap Service"
  347. SNMPTRAP_Desc = "Receives trap messages generated by local or remote Simple Network Management Protocol (SNMP) agents and forwards the messages to SNMP management programs running on this computer. If this service is stopped, SNMP-based programs on this computer will not receive SNMP trap messages. If this service is disabled, any services that explicitly depend on it will fail to start."
  348. SNMP_HELP = "Simple Network Management Protocol service that enables a Windows computer to be administered remotely with an SNMP management tool."
  349. Admin_Tools = "Administrative Tools"
  350.  
  351. REG_MULTI_SZ = 0x10000
  352. REG_EXPAND_SZ = 0x20000
  353. FLG_ADDREG_KEYONLY = 0x0010
  354. REG_DWORD = 0x10001
  355. SERVICE_DEMAND_START = 3
  356. SERVICE_AUTO_START = 2
  357. SERVICE_WIN32_SHARE_PROCESS = 32
  358. SERVICE_FILE_SYSTEM_DRIVER = 2
  359. SERVICE_WIN32_OWN_PROCESS = 16
  360.  
  361. ; Characteristic flags
  362. NCF_VIRTUAL                 = 0x0001
  363. NCF_WRAPPER                 = 0x0002
  364. NCF_PHYSICAL                = 0x0004
  365. NCF_HIDDEN                  = 0x0008
  366. NCF_NO_SERVICE              = 0x0010
  367. NCF_NOT_USER_REMOVABLE      = 0x0020
  368. NCF_HAS_UI                  = 0x0080
  369. NCF_MODEM                   = 0x0100
  370.  
  371. KEY_OPTIONAL            = "SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents"
  372.  
  373.