Leaked source code of windows server 2003
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.

310 lines
13 KiB

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