Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

322 lines
13 KiB

  1. ;-------------------------------------------------------------------------
  2. ; NWLINK IPX/SPX -- Microsoft NWLink Services
  3. ;
  4. ; Copyright (c) 1993-1999, Microsoft Corporation
  5. ;-------------------------------------------------------------------------
  6. [Version]
  7. Signature = "$Windows NT$"
  8. Class = NetTrans
  9. ClassGUID = {4d36e975-e325-11ce-bfc1-08002be10318}
  10. Provider = %Msft%
  11. LayoutFile = layout.inf
  12. [Manufacturer]
  13. %Msft%=MSFT
  14. [MSFT]
  15. %NwlnkIpx_Desc%=Install_Ipx, MS_NWIPX
  16. %NwlnkNb_Desc%=Install_Nb, MS_NWNB
  17. %NwlnkSpx_Desc%=Install_Spx, MS_NWSPX
  18. [ControlFlags]
  19. ExcludeFromSelect=MS_NWNB,MS_NWSPX
  20. ;=========================================================================
  21. ; NWLINK IPX Section
  22. ;=========================================================================
  23. ;-------------------------------------------------------------------------
  24. ; Base Entry Point for NWLINK IPX Installation
  25. ;-------------------------------------------------------------------------
  26. [Install_Ipx]
  27. Characteristics=0x80 ; NCF_HAS_UI
  28. AddReg=Inst_Ndi_Ipx ; Specify the [N]etwork [d]evice [i]nstaller
  29. ;-------------------------------------------------------------------------
  30. ; Specify the Network Device Installer
  31. ;-------------------------------------------------------------------------
  32. [Inst_Ndi_Ipx]
  33. HKR, Ndi, ClsID,,"{c59938da-9b20-11d0-9ce3-00c04fc9bcc4}"
  34. HKR, Ndi, Service,,"NwlnkIpx"
  35. HKR, Ndi, CoServices,0x10000,"NwlnkIpx","NwlnkNb","NwlnkSpx"
  36. HKR, Ndi, HelpText,,"@netcfgx.dll,-50013"
  37. HKR, Ndi\Interfaces, UpperRange,,"ipx"
  38. HKR, Ndi\Interfaces, LowerRange,,"ndis5,ndis4,ndiswanipx,ndis5_ipx"
  39. ;-------------------------------------------------------------------------
  40. ; Base Entry Point for NWLINK IPX Service Installation
  41. ;-------------------------------------------------------------------------
  42. [Install_Ipx.Services]
  43. AddService=NwlnkIpx,,NwlnkIpx_Service_Inst
  44. ;-------------------------------------------------------------------------
  45. ; Entry Point for the NWLINK IPX Service's SNMP Dependency Installation
  46. ;-------------------------------------------------------------------------
  47. [Install_Ipx.SNMPAgent]
  48. AddAgent = Install_Ipx.AddIpxSNMPAgent
  49. [Install_Ipx.Remove.SNMPAgent]
  50. DelAgent = Install_Ipx.DelIpxSNMPAgent
  51. [Install_Ipx.AddIpxSNMPAgent]
  52. ServiceName = "nwlnkipx"
  53. AgentName = "IPXMibAgent"
  54. AgentPath = "%SystemRoot%\System32\rtipxmib.dll"
  55. [Install_Ipx.DelIpxSNMPAgent]
  56. AgentName = "IPXMibAgent"
  57. ;-------------------------------------------------------------------------
  58. ; Entry Point for the NWLINK IPX Service's Winsock Dependency Installation
  59. ;-------------------------------------------------------------------------
  60. [Install_Ipx.Winsock]
  61. AddSock=Inst_Ipx_Winsock_Dependency
  62. [Inst_Ipx_Winsock_Dependency]
  63. TransportService=nwlnkipx
  64. HelperDllName="%SystemRoot%\System32\wshisn.dll"
  65. MaxSockAddrLength=0x10
  66. MinSockAddrLength=0xe
  67. LibraryPath="%SystemRoot%\System32\nwprovau.dll"
  68. DisplayString=%NwlnkIpx_Desc%
  69. SupportedNameSpace=1
  70. Version=1
  71. ProviderId="{e02daaf0-7e9f-11cf-ae5a-00aa00a7112b}"
  72. ;-------------------------------------------------------------------------
  73. ; IPX Service Definitions and Settings
  74. ;-------------------------------------------------------------------------
  75. [NwlnkIpx_Service_Inst]
  76. DisplayName=%NwlnkIpx_Desc%
  77. ServiceType=1
  78. StartType=2
  79. ErrorControl=1
  80. ServiceBinary=%12%\nwlnkipx.sys
  81. LoadOrderGroup="PNP_TDI"
  82. AddReg=AddReg_NwlnkIpx_Service_Inst
  83. Description=%NwlnkIpx_Desc%
  84. ;-------------------------------------------------------------------------
  85. ; IPX Service Installation Registry Settings
  86. ;-------------------------------------------------------------------------
  87. [AddReg_NwlnkIpx_Service_Inst]
  88. HKLM,"System\CurrentControlSet\Control\ServiceProvider\Order","ExcludedProviders",0x2,""
  89. HKLM,"System\CurrentControlSet\Control\ServiceProvider\Order","ProviderOrder",0x1000A,"NwlnkIpx"
  90. HKR,"ServiceProvider","Class",0x10001,0x8
  91. HKR,"ServiceProvider","Name",,%NwlnkIpx_Desc%
  92. HKR,"ServiceProvider","ProviderPath",0x20000,"%SystemRoot%\System32\nwprovau.dll"
  93. HKR,"Performance","Library",,"perfctrs.dll"
  94. HKR,"Performance","Open",,"OpenIPXPerformanceData"
  95. HKR,"Performance","Close",,"CloseIPXPerformanceData"
  96. HKR,"Performance","Collect",,"CollectIPXPerformanceData";
  97. HKLM,"System\CurrentControlSet\Services\EventLog\System\NwlnkIpx","EventMessageFile",0x20000,"%%SystemRoot%%\system32\netevent.dll"
  98. HKLM,"System\CurrentControlSet\Services\EventLog\System\NwlnkIpx","TypesSupported",0x10001, 0x00000007
  99. @w:HKR,"Parameters","RipRoute",0x10001,0x0
  100. @s:HKR,"Parameters","RipRoute",0x10001,0x1
  101. ;-------------------------------------------------------------------------
  102. ; Section for driving removal of static IPX registry settings
  103. ;-------------------------------------------------------------------------
  104. [Install_Ipx.Remove]
  105. DelReg=DelReg_Remove_Static_Ipx
  106. [Install_Ipx.Remove.Services]
  107. DelService=NwlnkIpx
  108. ;-------------------------------------------------------------------------
  109. ; Entry Point for the NWLINK IPX Service's Winsock Dependency removal
  110. ;-------------------------------------------------------------------------
  111. [Install_Ipx.Remove.Winsock]
  112. DelSock=Del_Ipx_Winsock_Dependency
  113. [Del_Ipx_Winsock_Dependency]
  114. TransportService=nwlnkipx
  115. ProviderId="{e02daaf0-7e9f-11cf-ae5a-00aa00a7112b}"
  116. ;-------------------------------------------------------------------------
  117. ; Specify IPX static registry entries to remove
  118. ;-------------------------------------------------------------------------
  119. [DelReg_Remove_Static_Ipx]
  120. HKLM,"Software\Microsoft\Rpc\Protocols","ncacn_nb_ipx"
  121. HKLM,"Software\Microsoft\Rpc\ClientProtocols","ncacn_nb_ipx"
  122. @@:@6:HKLM,"Software\Wow6432Node\Microsoft\Rpc\ClientProtocols","ncacn_nb_ipx"
  123. HKLM,"System\CurrentControlSet\Services\EventLog\System\NwlnkIpx"
  124. ;=========================================================================
  125. ; NWLINK NetBIOS Section
  126. ;=========================================================================
  127. ;-------------------------------------------------------------------------
  128. ; Base Entry Point for NWLINK NetBIOS Installation
  129. ;-------------------------------------------------------------------------
  130. [Install_Nb]
  131. Characteristics=0x2020 ; NCF_HIDE_BINDING | NCF_NOT_USER_REMOVABLE
  132. AddReg=Inst_Ndi_Nb
  133. ;-------------------------------------------------------------------------
  134. ; Specify the Network Device Installer
  135. ;-------------------------------------------------------------------------
  136. [Inst_Ndi_Nb]
  137. HKR,Ndi,ClsID,,"{050da15f-9f13-11d0-9ce5-00c04fc9bcc4}"
  138. HKR,Ndi,Service,,"NwlnkNb"
  139. HKR,Ndi,HelpText,,"@netcfgx.dll,-50014"
  140. HKR,Ndi\Interfaces,UpperRange,,"netbios"
  141. HKR,Ndi\Interfaces,LowerRange,,"ipx"
  142. ;-------------------------------------------------------------------------
  143. ; Base Entry Point for NWLINK NetBIOS Service Installation
  144. ;-------------------------------------------------------------------------
  145. [Install_Nb.Services]
  146. AddService=NwlnkNb,,NwlnkNb_Service_Inst
  147. ;-------------------------------------------------------------------------
  148. ; NetBIOS Service Definitions and Settings
  149. ;-------------------------------------------------------------------------
  150. [NwlnkNb_Service_Inst]
  151. DisplayName=%NwlnkNb_Desc%
  152. ServiceType=1
  153. StartType=2
  154. ErrorControl=1
  155. ServiceBinary=%12%\nwlnknb.sys
  156. LoadOrderGroup="PNP_TDI"
  157. AddReg=AddReg_NwlnkNb_Service_Inst
  158. Description=%NwlnkNb_Desc%
  159. ;-------------------------------------------------------------------------
  160. ; NetBios Service Installation Registry Settings
  161. ;-------------------------------------------------------------------------
  162. [AddReg_NwlnkNb_Service_Inst]
  163. HKR,"Parameters","NbProvider",,"_ipx"
  164. HKR,"Parameters","KeepaliveTimeout",0x10001,60
  165. HKR,"Parameters","KeepaliveCount",0x10001,8
  166. HKR,"Parameters","ConnectionTimeout",0x10001,2
  167. HKR,"Parameters","ConnectionCount",0x10001,5
  168. HKR,"Parameters","BroadcastCount",0x10001,3
  169. HKR,"Parameters","Internet",0x10001,1
  170. HKR,"Performance","Library",,"perfctrs.dll"
  171. HKR,"Performance","Open",,"OpenNWNBPerformanceData"
  172. HKR,"Performance","Close",,"CloseNWNBPerformanceData"
  173. HKR,"Performance","Collect",,"CollectNWNBPerformanceData"
  174. ;-------------------------------------------------------------------------
  175. ; Section for driving removal of static NetBios registry settings
  176. ; and the deletion of the NetBios service
  177. ;-------------------------------------------------------------------------
  178. [Install_Nb.Remove]
  179. DelReg=DelReg_Remove_Static_Nb
  180. [Install_Nb.Remove.Services]
  181. DelService=NwlnkNb
  182. ;-------------------------------------------------------------------------
  183. ; Specify NetBios static registry entries to remove
  184. ;-------------------------------------------------------------------------
  185. [DelReg_Remove_Static_Nb]
  186. ;=========================================================================
  187. ; NWLINK SPX Section
  188. ;=========================================================================
  189. ;-------------------------------------------------------------------------
  190. ; Base Entry Point for NWLINK SPX Installation
  191. ;-------------------------------------------------------------------------
  192. [Install_Spx]
  193. Characteristics=0x2028 ; NCF_HIDDEN | NCF_HIDE_BINDING | NCF_NOT_USER_REMOVABLE
  194. AddReg=Inst_Ndi_Spx
  195. ;-------------------------------------------------------------------------
  196. ; Specify the Network Device Installer
  197. ;-------------------------------------------------------------------------
  198. [Inst_Ndi_Spx]
  199. HKR,Ndi,Service,,"NwlnkSpx"
  200. HKR,Ndi,HelpText,,"%NwlnkSpx_HelpText%"
  201. HKR,Ndi\Interfaces,UpperRange,,"spx"
  202. HKR,Ndi\Interfaces,LowerRange,,"ipx"
  203. ;-------------------------------------------------------------------------
  204. ; Base Entry Point for NWLINK SPX Service Installation
  205. ;-------------------------------------------------------------------------
  206. [Install_Spx.Services]
  207. AddService=NwlnkSpx,,NwlnkSpx_Service_Inst
  208. ;-------------------------------------------------------------------------
  209. ; Entry Point for the NWLINK IPX Service's Winsock Dependency Installation
  210. ;-------------------------------------------------------------------------
  211. [Install_Spx.Winsock]
  212. AddSock=Inst_Spx_Winsock_Dependency
  213. [Inst_Spx_Winsock_Dependency]
  214. TransportService=nwlnkspx
  215. HelperDllName="%SystemRoot%\System32\wshisn.dll"
  216. MaxSockAddrLength=0x10
  217. MinSockAddrLength=0xe
  218. ;-------------------------------------------------------------------------
  219. ; SPX Service Definitions and Settings
  220. ;-------------------------------------------------------------------------
  221. [NwlnkSpx_Service_Inst]
  222. DisplayName=%NwlnkSpx_Desc%
  223. ServiceType=1
  224. StartType=2
  225. ErrorControl=1
  226. ServiceBinary=%12%\nwlnkspx.sys
  227. AddReg=AddReg_NwlnkSpx_Service_Inst
  228. Description=%NwlnkSpx_Desc%
  229. ;-------------------------------------------------------------------------
  230. ; SPX Service Installation Registry Settings
  231. ;-------------------------------------------------------------------------
  232. [AddReg_NwlnkSpx_Service_Inst]
  233. HKLM,"Software\Microsoft\Rpc\ClientProtocols","ncacn_spx",,"rpcrt4.dll"
  234. @@:@6:HKLM,"Software\Wow6432Node\Microsoft\Rpc\ClientProtocols","ncacn_spx",,"rpcrt4.dll"
  235. HKR,"Parameters","ConnectionCount",0x10001,5
  236. HKR,"Parameters","ConnectionTimeout",0x10001,2
  237. HKR,"Parameters","InitPackets",0x10001,5
  238. HKR,"Parameters","MaxPackets",0x10001,48
  239. HKR,"Parameters","InitialRetransmissionTime",0x10001,500
  240. HKR,"Parameters","KeepaliveCount",0x10001,8
  241. HKR,"Parameters","WindowSize",0x10001,4
  242. HKR,"Parameters","SpxSocketRangeStart",0x10001,24576
  243. HKR,"Parameters","SpxSocketRangeEnd",0x10001,32767
  244. HKR,"Parameters","SpxSocketUniqueness",0x10001,1
  245. HKR,"Parameters","MaxPacketSize",0x10001,4096
  246. HKR,"Parameters","RetransmissionCount",0x10001,8
  247. HKR,"Parameters","KeepAliveTimeout",0x10001,12
  248. HKR,"Performance","Library",,"perfctrs.dll"
  249. HKR,"Performance","Open",,"OpenSPXPerformanceData"
  250. HKR,"Performance","Close",,"CloseSPXPerformanceData"
  251. HKR,"Performance","Collect",,"CollectSPXPerformanceData"
  252. ;-------------------------------------------------------------------------
  253. ; Section for driving removal of static SPX registry settings
  254. ; and the deletion of the SPX service
  255. ;-------------------------------------------------------------------------
  256. [Install_Spx.Remove]
  257. DelReg=DelReg_Remove_Static_Spx
  258. [Install_Spx.Remove.Services]
  259. DelService=NwlnkSpx
  260. ;-------------------------------------------------------------------------
  261. ; Entry Point for the NWLINK IPX Service's Winsock Dependency removal
  262. ;-------------------------------------------------------------------------
  263. [Install_Spx.Remove.Winsock]
  264. DelSock=Del_Spx_Winsock_Dependency
  265. [Del_Spx_Winsock_Dependency]
  266. TransportService=nwlnkspx
  267. ;-------------------------------------------------------------------------
  268. ; Specify SPX static registry entries to remove
  269. ;-------------------------------------------------------------------------
  270. [DelReg_Remove_Static_Spx]
  271. HKLM,"Software\Microsoft\Rpc\Protocols","ncadg_ipx"
  272. HKLM,"Software\Microsoft\Rpc\ClientProtocols","ncadg_ipx"
  273. @@:@6:HKLM,"Software\Wow6432Node\Microsoft\Rpc\ClientProtocols","ncadg_ipx"
  274. HKLM,"Software\Microsoft\Rpc\Protocols","ncacn_spx"
  275. HKLM,"Software\Microsoft\Rpc\ClientProtocols","ncacn_spx"
  276. @@:@6:HKLM,"Software\Wow6432Node\Microsoft\Rpc\ClientProtocols","ncacn_spx"