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.

176 lines
4.3 KiB

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