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.

159 lines
3.7 KiB

  1. ; -- NETWINS.INX --
  2. ;
  3. ; Microsoft Windows Internet Name Service
  4. ;
  5. ; Copyright (c) 1993-1999, Microsoft Corporation
  6. [Version]
  7. Signature="$Windows NT$"
  8. LayoutFile=layout.inf
  9. Provider=%Msft%
  10. [WINS]
  11. CopyFiles = CpyFiles_Sys
  12. DelFiles = DelFiles_Sys
  13. Uninstall = WINS.Remove
  14. StartServices = WINS
  15. RegisterDlls = WINS.Register
  16. ProfileItems = WINS.Shortcut.Add, WINS.Old.Shortcut.Remove, WINS.Really.Old.Shortcut.Remove
  17. [WINS.Services]
  18. ; 0x10 = SPSVCINST_NOCLOBBER_STARTTYPE
  19. AddService = WINS, 0x10, WINS_Service_Inst, WINS_Evt
  20. [WINS.Remove]
  21. UnregisterDlls = WINS.Unregister
  22. ProfileItems = WINS.Shortcut.Remove
  23. DelReg = WINS_DelReg
  24. [WINS.Remove.Services]
  25. DelService = WINS
  26. [WINS.Upgrade]
  27. CopyFiles = CpyFiles_Sys
  28. ;
  29. ; SNMP Agent stuff
  30. ;
  31. [WINS.SNMPAgent]
  32. AddAgent = WINS.AddSNMPAgent
  33. [WINS.Remove.SNMPAgent]
  34. DelAgent = WINS.Remove.DelSNMPAgent
  35. [WINS.AddSNMPAgent]
  36. ServiceName = "WINS"
  37. AgentName = "WINSMibAgent"
  38. AgentPath = "%SystemRoot%\System32\winsmib.dll"
  39. [WINS.Remove.DelSNMPAgent]
  40. AgentName = "WINSMibAgent"
  41. ;
  42. ; COM Object registration
  43. ;
  44. [WINS.Register]
  45. 11,, winssnap.dll, 1
  46. [WINS.Unregister]
  47. 11,, winssnap.dll, 1
  48. ;
  49. ; Administrative Tools shortcut
  50. ;
  51. [WINS.Shortcut.Add]
  52. Name = %WINS_Admin_Desc%
  53. CmdLine = 11,,"winsmgmt.msc /s"
  54. IconPath = 11,, winssnap.dll
  55. IconIndex = 0
  56. SubDir = %WINS_Group%
  57. InfoTip = %WINS_Admin_HelpText%
  58. [WINS.Shortcut.Remove]
  59. Name = %WINS_Admin_Desc%, 0x2
  60. SubDir = %WINS_Group%
  61. ; NT 4.0
  62. [WINS.Old.Shortcut.Remove]
  63. Name = %WINS_Desc_Old%, 0x2
  64. SubDir = %WINS_Group%
  65. ; NT 3.51
  66. [WINS.Really.Old.Shortcut.Remove]
  67. Name = %WINS_Desc_Really_Old%, 0x2
  68. SubDir = %WINS_Group_Really_Old%
  69. ;
  70. ; Install Sections
  71. ;
  72. [DestinationDirs]
  73. CpyFiles_Sys = 11 ;System32
  74. DelFiles_Sys = 11
  75. ;
  76. ; Copy Files sections
  77. ;
  78. [CpyFiles_Sys]
  79. jetpack.exe,,,2
  80. wins.exe,,,2
  81. winsctrs.dll,,,2
  82. winsevnt.dll,,,2
  83. winsmib.dll,,,2
  84. winssnap.dll,,,2
  85. winsmgmt.msc,,,2
  86. [CpyFiles_Sys.Security]
  87. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"
  88. [DelFiles_Sys]
  89. winsadmind.exe,,,2
  90. ;
  91. ; Service Install Sections
  92. ;
  93. [WINS_Service_Inst]
  94. DisplayName = %WINS_Display%
  95. ServiceType = %SERVICE_WIN32_OWN_PROCESS%
  96. StartType = %SERVICE_AUTO_START%
  97. ErrorControl = 1
  98. ServiceBinary = "%%SystemRoot%%\System32\wins.exe"
  99. Dependencies = RPCSS, NTLMSSP, SAMSS
  100. StartName = LocalSystem
  101. AddReg = WINS_AddReg
  102. Description = %WINS_Desc%
  103. [WINS_AddReg]
  104. HKR,"Partners\Pull",,%FLG_ADDREG_KEYONLY% ; No values
  105. HKR,"Partners\Push",,%FLG_ADDREG_KEYONLY% ; No values
  106. HKR,"Parameters\DataFiles",,%FLG_ADDREG_KEYONLY% ; No values
  107. HKR,"Performance", "Library",, "winsctrs.dll"
  108. HKR,"Performance", "Open",, "OpenWinsPerformanceData"
  109. HKR,"Performance", "Collect",, "CollectWinsPerformanceData"
  110. HKR,"Performance", "Close",, "CloseWinsPerformanceData"
  111. HKLM,"System\CurrentControlSet\Services\NetBT\Parameters", "EnableProxy", %REG_DWORD%, 0
  112. HKLM,"System\CurrentControlSet\Services\NetBT\Parameters", "NodeType", %REG_DWORD%, 8
  113. ; For Computer management snapin extension
  114. HKLM,"SYSTEM\CurrentControlSet\Control\Server Applications", "{60AF234B-D7D3-11D0-ABB0-00C04FC3357A}",, "WINS"
  115. ;
  116. ; Event Log support
  117. ;
  118. [WINS_DelReg]
  119. ; For Computer management snapin extension
  120. HKLM,"SYSTEM\CurrentControlSet\Control\Server Applications", "{60AF234B-D7D3-11D0-ABB0-00C04FC3357A}",, "WINS"
  121. [WINS_Evt]
  122. AddReg = WINS_Evt_AddReg
  123. [WINS_Evt_AddReg]
  124. HKR,, EventMessageFile, %REG_EXPAND_SZ%, "%%SystemRoot%%\System32\winsevnt.dll"
  125. HKR,, TypesSupported, %REG_DWORD%, 0x00000007