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.

83 lines
2.9 KiB

  1. ; Copyright (c) Microsoft Corporation. All rights reserved.
  2. [Version]
  3. Signature = "$Windows NT$"
  4. Class = NetTrans
  5. ClassGUID = {4d36e975-e325-11ce-bfc1-08002be10318}
  6. Provider = %Msft%
  7. [Manufacturer]
  8. %Msft%=MSFT
  9. [MSFT]
  10. %NetBEUI_Desc%=Install, MS_NetBEUI
  11. ;-------------------------------------------------------------------------
  12. ; Installation Section
  13. ;-------------------------------------------------------------------------
  14. [Install]
  15. AddReg=Inst_Ndi
  16. Characteristics=0x00
  17. ;CopyFiles=CpyFiles_Sys
  18. ;-------------------------------------------------------------------------
  19. ; Ndi installation support
  20. ;-------------------------------------------------------------------------
  21. [Inst_Ndi]
  22. HKR,"Ndi","ClsID",,"{a28d553a-a703-11d0-9cec-00c04fc9bcc4}"
  23. HKR,"Ndi","Service",,"Nbf"
  24. HKR,"Ndi","CoServices",%REG_MULTI_SZ%,"Nbf"
  25. HKR,"Ndi","HelpText",,"@netcfgx.dll,-50011"
  26. HKR,"Ndi\Interfaces","UpperRange",,"netbios"
  27. HKR,"Ndi\Interfaces","LowerRange",,"ndis5,ndis4,ndiswannbf,ndis5_nbf"
  28. ;-------------------------------------------------------------------------
  29. ; Service installation support
  30. ;-------------------------------------------------------------------------
  31. [Install.Services]
  32. AddService=Nbf,,NetBEUI_Service_Inst
  33. [NetBEUI_Service_Inst]
  34. DisplayName = %NetBEUI_Desc%
  35. ServiceType = 1 ;SERVICE_KERNEL_DRIVER
  36. StartType = 2 ;SERVICE_AUTO_START
  37. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  38. ServiceBinary = %12%\nbf.sys
  39. LoadOrderGroup = "PNP_TDI"
  40. AddReg = AddReg_NetBEUI_Service_Inst
  41. Description = %NetBEUI_Desc%
  42. [AddReg_NetBEUI_Service_Inst]
  43. HKR,"Parameters","NbProvider",,"_nb"
  44. HKR,"Performance","Library",,"perfctrs.dll"
  45. HKR,"Performance","Open",,"OpenNbfPerformanceData"
  46. HKR,"Performance","Close",,"CloseNbfPerformanceData"
  47. HKR,"Performance","Collect",,"CollectNbfPerformanceData"
  48. ;-------------------------------------------------------------------------
  49. ; Support for removal of static registry settings
  50. ;-------------------------------------------------------------------------
  51. [Install.Remove]
  52. DelReg=Del_Static_Reg
  53. [Install.Remove.Services]
  54. DelService=Nbf
  55. [Del_Static_Reg]
  56. HKLM,"Software\Microsoft\Rpc\Protocols","ncacn_nb_nb"
  57. HKLM,"Software\Microsoft\Rpc\ClientProtocols","ncacn_nb_nb"
  58. @@:@6:HKLM,"Software\Wow6432Node\Microsoft\Rpc\ClientProtocols","ncacn_nb_nb"
  59. ;-------------------------------------------------------------------------
  60. ; Declare Destination Directories for file copy/deletion
  61. ;-------------------------------------------------------------------------
  62. ;[DestinationDirs]
  63. ;CpyFiles_Sys = 12 ; DIRID_DRIVERS
  64. ;CpyFiles_Inst = 11 ; System32
  65. ;-------------------------------------------------------------------------
  66. ; Files to Copy/Delete - Referenced by Install and Remove sections above
  67. ;-------------------------------------------------------------------------
  68. ;[CpyFiles_Sys]
  69. ;nbf.sys,,,2