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.

178 lines
5.0 KiB

  1. ; -- NETDNS.INX --
  2. ;
  3. ; Microsoft Domain Name System Server
  4. ;
  5. ; Copyright (c) Microsoft Corporation. All rights reserved.
  6. [version]
  7. signature="$Windows NT$"
  8. LayoutFile=layout.inf
  9. Provider=%Msft%
  10. ;
  11. ; For Optional Components Use Only
  12. ;
  13. [DNS]
  14. CopyFiles = CpyFiles_Sys,CpyFiles_Sys_Console,CpyFiles_Dns,CpyFiles_DnsSamp,CpyFiles_DnsWmi
  15. Needs = WBEM ; Maintains proper ordering of OCs - we depend on WMI
  16. Uninstall = DNS.Remove
  17. StartServices = DNS
  18. RegisterDlls = DNS.Register
  19. ProfileItems = DNS.Shortcut.Add, DNS.Old.Shortcut.Remove
  20. [DNS.Remove]
  21. UnregisterDlls = DNS.Unregister
  22. ProfileItems = DNS.Shortcut.Remove
  23. DelReg = DNS.Remove.DelReg
  24. ;
  25. ; Services Sections
  26. ;
  27. [DNS.Services]
  28. ; 0x10 = SPSVCINST_NOCLOBBER_STARTTYPE
  29. AddService = DNS, 0x10, DNSServer_Service_Inst
  30. [DNS.Remove.Services]
  31. DelService = DNS
  32. ;
  33. ; COM Object registration/Perf counters
  34. ;
  35. [DNS.Register]
  36. 11,, dnsmgr.dll, 1
  37. 11,, mycomput.dll, 1
  38. 11,, wbem\dnsprov.dll, 1
  39. 11,, lodctr.exe, 1,,"dnsperf.ini"
  40. [DNS.Unregister]
  41. 11,, dnsmgr.dll, 1
  42. 11,, unlodctr.exe, 1,,"DNS"
  43. ;
  44. ; Administrative Tools shortcut
  45. ;
  46. [DNS.Shortcut.Add]
  47. Name = %DNS_Shortcut_Desc%
  48. SubDir = %DNS_Admin_Group%
  49. CmdLine = 11,,"dnsmgmt.msc /s"
  50. IconPath = 11,,dnsmgr.dll
  51. IconIndex = 0
  52. InfoTip = %DNS_Admin_HelpText%
  53. [DNS.Shortcut.Remove]
  54. Name = %DNS_Shortcut_Desc%, 0x2
  55. SubDir = %DNS_Admin_Group%
  56. ; NT 4.0 Shortcut
  57. [DNS.Old.Shortcut.Remove]
  58. Name = %DNS_Admin_Tool_Old%, 0x2
  59. SubDir = %DNS_Admin_Group_Old%
  60. [DestinationDirs]
  61. CpyFiles_Sys = 11 ;System32
  62. CpyFiles_Sys_Console= 11 ;System32
  63. CpyFiles_Dns = 11,dns ;System32\dns
  64. CpyFiles_DnsSamp = 11,dns\samples ;System32\dns\samples
  65. CpyFiles_DnsWmi = 11,wbem ;System32\wbem
  66. ;
  67. ; Copy Files sections
  68. ;
  69. [CpyFiles_Sys]
  70. dnsmgr.dll,,,2
  71. dnsmgmt.msc,,,2
  72. dnsperf.dll,,,2
  73. dnsperf.h,,,2
  74. dnsperf.ini,,,2
  75. [CpyFiles_DnsWmi]
  76. dnsprov.mof,,,2
  77. dnsprov.dll,,,2
  78. [CpyFiles_Sys.Security]
  79. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"
  80. [CpyFiles_Sys_Console]
  81. dns.exe,,,2
  82. [CpyFiles_Sys_Console.Security]
  83. "D:P(A;;GRGX;;;IU)(A;;GRGX;;;SU)(A;;GRGX;;;S-1-5-3)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GA;;;CO)"
  84. [CpyFiles_Dns]
  85. CACHE.DNS,,,0x12 ; Don't overwrite if already present
  86. [CpyFiles_Dns.Security]
  87. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"
  88. [CpyFiles_DnsSamp]
  89. 192.DNS,,,2
  90. BOOT,,,2
  91. CACHE.DNS,,,2
  92. PLACE.DNS,,,2
  93. [CpyFiles_DnsSamp.Security]
  94. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"
  95. ;
  96. ; Service Install Sections
  97. ;
  98. [DNSServer_Service_Inst]
  99. DisplayName = %DNSServer_Display%
  100. ServiceType = %SERVICE_WIN32_OWN_PROCESS%
  101. StartType = %SERVICE_AUTO_START%
  102. ErrorControl = 1
  103. ServiceBinary = "%%SystemRoot%%\System32\dns.exe"
  104. Dependencies = Tcpip, Afd, RpcSs
  105. StartName = LocalSystem
  106. AddReg = DNS.AddReg
  107. Description = %DNSServer_Desc%
  108. [DNS.AddReg]
  109. ;
  110. ; Perfmon counter info
  111. ;
  112. HKR, "Performance", "Library", , "dnsperf.dll"
  113. HKR, "Performance", "Open", , "OpenDnsPerformanceData"
  114. HKR, "Performance", "Close", , "CloseDnsPerformanceData"
  115. HKR, "Performance", "Collect", , "CollectDnsPerformanceData"
  116. ;
  117. ; Add Computer Management dynamic extension
  118. ;
  119. HKLM, System\CurrentControlSet\Control\Server Applications\, {80105023-50B1-11D1-B930-00A0C9A06D2D}, REG_SZ, %DNS_EXTENSION%
  120. ;
  121. ; DNS Server eventlogs go to private log
  122. ;
  123. HKLM, "System\CurrentControlSet\Services\EventLog\DNS Server", , %FLG_ADDREG_KEYONLY%
  124. HKLM, "System\CurrentControlSet\Services\EventLog\DNS Server", "File", %REG_EXPAND_SZ%, "%%SystemRoot%%\system32\config\DnsEvent.Evt"
  125. HKLM, "System\CurrentControlSet\Services\EventLog\DNS Server", "MaxSize", 0x00010003, 0x1000000
  126. HKLM, "System\CurrentControlSet\Services\EventLog\DNS Server", "Retention", 0x00010003, 0x93a80
  127. HKLM, "System\CurrentControlSet\Services\EventLog\DNS Server", "Sources", %REG_MULTI_SZ%, "DNS Server"
  128. HKLM, "System\CurrentControlSet\Services\EventLog\DNS Server", "DisplayNameFile", %REG_EXPAND_SZ%, "%%SystemRoot%%\system32\els.dll"
  129. HKLM, "System\CurrentControlSet\Services\EventLog\DNS Server", "DisplayNameID", %REG_DWORD%, 0x00000105
  130. HKLM, "System\CurrentControlSet\Services\EventLog\DNS Server", "RestrictGuestAccess", 0x00010003, 0x00000001
  131. HKLM, "System\CurrentControlSet\Services\EventLog\DNS Server\DNS", , %FLG_ADDREG_KEYONLY%
  132. HKLM, "System\CurrentControlSet\Services\EventLog\DNS Server\DNS", "EventMessageFile", %REG_EXPAND_SZ%, "%%SystemRoot%%\System32\dns.exe"
  133. HKLM, "System\CurrentControlSet\Services\EventLog\DNS Server\DNS", "TypesSupported", %REG_DWORD%, 0x00000007
  134. [DNS.Remove.DelReg]
  135. ;
  136. ; On uninstall delete all zone information from registry.
  137. ;
  138. HKLM, "SOFTWARE\Microsoft\Windows NT\CurrentVersion\DNS Server"