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.

409 lines
13 KiB

  1. ;
  2. ; CLUSOCM.INF - This file is used by Optional Components Manager and clusocm.dll
  3. ; which it calls to install and uninstall the Cluster service
  4. ; component(s).
  5. ;
  6. ; Note that the following cluster files are installed by text mode setup because
  7. ; they are required by NT Workstation and Server as well as Enterprise:
  8. ;
  9. ; clusapi.dll
  10. ; resutils.dll
  11. ; cluster.exe
  12. ; msclus.dll
  13. ;
  14. ; In addition, the following files get installed by text mode setup because they
  15. ; must be available in the %windir%\system32 directory (along with sysocmgr.exe)
  16. ; during GUI mode setup:
  17. ;
  18. ; clusocm.dll
  19. ; clusocm.inf
  20. ;
  21. [Version]
  22. Signature= "$Windows NT$"
  23. LayoutFile=layout.inf
  24. ;
  25. ; At this time, 2/27/98, there is a single Cluster service component.
  26. ;
  27. [Optional Components]
  28. Cluster
  29. ;-[ main install section ]------------------------------------------------------
  30. [cluster]
  31. OptionDesc = %ClusterComponentDesc%
  32. Tip = %ClusterComponentTip%
  33. CopyFiles = ClusterSystemFiles, ClusterDriverFiles, ClusterFiles, ClusterAdminFiles
  34. DelFiles = NT4.files.root, NT4.files.private
  35. AddReg = ClusterInstallState.reg, RegisterCLUSIIS4withEvenLog.reg, MMCSnapin.Add.Reg, ClusterLog.Add.Reg
  36. Uninstall = Cluster.uninstall
  37. Needs = iis_common
  38. ; IconIndex = 10
  39. ;-[ main uninstall section ]----------------------------------------------------
  40. ;
  41. ; This section gets used when the functions that process OC_QUEUE_FILE_OPS and
  42. ; OC_COMPLETE_INSTALLATION detect that Cluster is to be uninstalled.
  43. ;
  44. [Cluster.uninstall]
  45. DelFiles = ClusterSystemFiles, ClusterDriverFiles, ClusterFiles, ClusterAdminFiles, ClusterUninstallFiles
  46. DelFiles = ClusterUpgradeFiles, ClusterUpgradeReplaceOnlyFiles
  47. DelFiles = NT4.files.root, NT4.files.private
  48. ;
  49. ; This DelReg entry is used to remove the registry entries that were explicitly
  50. ; created by clusocm.dll.
  51. ;
  52. DelReg = WelcomeUI.Uninstall.reg, ClusterInstallState.Uninstall.reg, RegisterCLUSIIS4withEvenLog.Uninstall.reg, MMCSnapin.Del.Reg, ClusterLog.Del.Reg
  53. ;
  54. ; This DelReg entry is used to remove the registry entries that were created
  55. ; by cluscfg.exe. Note that the entries in the Cluster hive are not explicitly
  56. ; deleted. My theory is that it is adequate to unload the Cluster hive and
  57. ; remove the Cluster hive file.
  58. ;
  59. DelReg = ClusCfg.reg
  60. ;
  61. ; This DelReg entry exists solely to remove the "Uninstall" reg key on systems that
  62. ; were perviously upgraded from NT4. Note that this key should have been removed
  63. ; during the upgrade process, but may not have been.
  64. DelReg = NT4.reg
  65. ;
  66. ; Delete the services
  67. ;
  68. DelService = ClusSvc
  69. DelService = ClusDisk
  70. DelService = ClusNet
  71. DelService = TimeServ
  72. ;-[ special section to add Cluster configuration to the Welcome UI task list ]--
  73. ;
  74. ; This AddReg entry is not included in the [cluster] section because the registry
  75. ; entries are created conditionally in function QueueAddRegistryOperations when
  76. ; OC_COMPLETE_INSTALLATION message are processed.
  77. [WelcomeUI]
  78. AddReg = WelcomeUI.reg
  79. ;-[ The next two sections are special sections for operations to be performed on UPGRADE ]---------
  80. ; This section performs the file copy operations on files like iisclus3.dll
  81. ; which need to be copied during an upgrade only if they already existed before
  82. ; the upgrade. Note, only the [CopyFiles] subsection of this section will be
  83. ; processed and files that do not already exist are not copied. (Vvasu 7/15/1999)
  84. [UpgradeReplaceOnly]
  85. CopyFiles = ClusterUpgradeReplaceOnlyFiles
  86. [Upgrade]
  87. ; This section is processed only during an upgrade. Note, a RenFiles subsection under this
  88. ; section is currently not being processed in CClusocmApp::QueueInstallFileOperations. (Vvasu 7/15/1999)
  89. CopyFiles = ClusterUpgradeFiles
  90. DelFiles = NT4.files.Startup, NT4.files.AdminTools, NT4.files.HelpFiles
  91. AddReg = Upgrade.Add.reg, MMCSnapin.Add.Reg
  92. DelReg = NT4.reg, Upgrade.Del.reg
  93. ;-[ special section for operations to be performed on UPGRADE when the Cluster service ]---------
  94. ;-[ is registered with the service control manager. ]---------
  95. ;
  96. ; This will remove the registry keys that add "Configure Cluster service" to the
  97. ; Welcome UI "to do" list.
  98. [Upgrade.ClusSvc.Registered]
  99. DelReg = WelcomeUI.Uninstall.reg
  100. ;-[ destination directories ]---------------------------------------------------
  101. ;
  102. ; Note that the Directory Ids 33001 through 33006 were chosen to be larger than
  103. ; DIRID_USER as defined in setupapi.h. Those Directory Ids will be associated
  104. ; with particular directories when OC_QUEUE_FILE_OPS is processed.
  105. [DestinationDirs]
  106. ClusterSystemFiles = 11 ;\Windows\System32
  107. ClusterDriverFiles = 12 ;\Windows\System32\drivers
  108. NT4.files.Startup = 10,%DestinationDirNT4Startup%
  109. NT4.files.AdminTools = 10,%DestinationDirNT4AdminTools%
  110. ClusterFiles = 33001
  111. NT4.files.HelpFiles = 33001
  112. ClusterUpgradeFiles = 33002
  113. ClusterUpgradeReplaceOnlyFiles = 33002
  114. ClusterAdminFiles = 33003
  115. ClusterUninstallFiles = 33004
  116. NT4.files.root = 33005
  117. NT4.files.private = 33006
  118. ;-[ file copy sections ]--------------------------------------------------------
  119. [ClusterSystemFiles]
  120. clussprt.dll,,,1
  121. [ClusterSystemFiles.Security]
  122. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"
  123. [ClusterDriverFiles]
  124. clusdisk.sys,,,1
  125. clusnet.sys,,,1
  126. [ClusterFiles]
  127. clussvc.exe,,,1
  128. timeserv.exe,,,1
  129. clusres.dll,,,1
  130. resrcmon.exe,,,1
  131. wshclus.dll,,,1
  132. cluscfg.exe,,,1
  133. cluster.inf,,,1
  134. clusiis4.dll,,,1
  135. clnetres.dll,,,1
  136. [ClusterAdminFiles]
  137. cladmwiz.dll,,,1
  138. cluadmin.exe,,,1
  139. cluadmex.dll,,,1
  140. cluadmmc.dll,,,1
  141. debugex.dll,,,1
  142. iisclex3.dll,,,1
  143. clnetrex.dll,,,1
  144. mqclus.dll,,,1
  145. [ClusterUpgradeReplaceOnlyFiles]
  146. iisclus3.dll,,,1
  147. [ClusterUpgradeFiles]
  148. mqclus.dll,,,1
  149. [ClusterUninstallFiles]
  150. ;
  151. ; These files are created when cluscfg.exe runs.
  152. ;
  153. ; cluadmin.cnt may be left from some old installation.
  154. ;
  155. ;setup.hlp
  156. clusdb,,,1
  157. clusdb.log,,,1
  158. cluster.log,,,1
  159. cluadmin.cnt,,,1
  160. ;
  161. ; These files are part of an NT 4 Cluster Server installation. Cluadmin.cnt
  162. ; may also remain from a previous Windows 2000 installation.
  163. ;
  164. [NT4.files.root]
  165. clusprxy.exe,,,1
  166. rpcltccl.dll,,,1
  167. rpcltscl.dll,,,1
  168. setup.exe,,,1
  169. setup.hlp,,,1
  170. cluadmin.cnt,,,1
  171. [NT4.files.private]
  172. security.dll,,,1
  173. [NT4.files.Startup]
  174. %NT4StartupFileToRemove%,,,1
  175. [NT4.files.AdminTools]
  176. %NT4AdminToolsFileToRemove%,,,1
  177. [NT4.files.HelpFiles]
  178. ; This file is in the %windir%\cluster directory in NT4 but in the %windir%\help
  179. ; directory in Win2000. So, the old file should be deleted during an upgrade.
  180. cluadmin.hlp,,,1
  181. cluscfg.hlp,,,1
  182. ;-[ registry alterations ]----------------------------------------------------------
  183. [WelcomeUI.reg]
  184. ; The following two registry keys are used to add the Cluster configuration program
  185. ; to the Welcome UI task list. As per Sharon Montgomery on 12/18/98 Server Solutions
  186. ; uses those same reg keys.
  187. ; Note that the value in the fourth field, 0x0, maps to FLG_ADDREG_TYPE_SZ.
  188. HKLM,"Software\Microsoft\Windows NT\CurrentVersion\Setup\OCManager\ToDoList\Cluster","Title",0x0,%ToDoListTitle%
  189. ; Note that the value in the fourth field, 0x00020000, maps to FLG_ADDREG_TYPE_EXPAND_SZ.
  190. HKLM,"Software\Microsoft\Windows NT\CurrentVersion\Setup\OCManager\ToDoList\Cluster","ConfigCommand",0x00020000,"%windir%\cluster\cluscfg.exe"
  191. ; These are additional keys required by Server Solutions.
  192. HKLM,"Software\Microsoft\Windows NT\CurrentVersion\SrvWiz","Home",0x10001,3
  193. HKCU,"Software\Microsoft\Windows NT\CurrentVersion\Setup\Welcome","SrvWiz",0x10001,1
  194. HKCU,"Software\Microsoft\Windows NT\CurrentVersion\Explorer\tips","Show",0x10001,1
  195. [WelcomeUI.Uninstall.reg]
  196. HKLM,"Software\Microsoft\Windows NT\CurrentVersion\Setup\OCManager\ToDoList\Cluster"
  197. [ClusterInstallState.reg]
  198. ; The following registry key is used to indicate that the Cluster Setup OCM DLL
  199. ; believes that it has completed successfully. Note that the value of eInstallStateFilesCopied
  200. ; maps to (DWORD) 1.
  201. ; Note that the value in the fourth field, 0x10001, maps to FLG_ADDREG_TYPE_DWORD.
  202. HKLM,"Software\Microsoft\Windows NT\CurrentVersion\Cluster Server","ClusterInstallationState",0x10001,1
  203. [ClusterLog.Add.Reg]
  204. ; Enable cluster logging by setting the appropriate environment variables.
  205. ; Note, a WM_SETTINGCHANGE message has to be broadcast to all top level windows in the system
  206. ; during a standalone installation to allow applications to see this change. See Knowledge Base article Q104011.
  207. HKLM,System\CurrentControlSet\Control\Session Manager\Environment,ClusterLog,0x20000,%SystemRoot%\cluster\cluster.log
  208. [ClusterLog.Del.Reg]
  209. ; Disable cluster logging.
  210. HKLM,System\CurrentControlSet\Control\Session Manager\Environment,ClusterLog
  211. [ClusterInstallState.Uninstall.reg]
  212. HKLM,"Software\Microsoft\Windows NT\CurrentVersion\Cluster Server"
  213. [RegisterCLUSIIS4withEvenLog.reg]
  214. ; The following registry keys are used to register ClusIIS4.dll with the eventlog.
  215. HKLM,System\CurrentControlSet\Services\EventLog\Application\CLUSIIS4,"EventMessageFile",0x00020000,"%SystemRoot%\cluster\clusiis4.dll"
  216. HKLM,System\CurrentControlSet\Services\EventLog\Application\CLUSIIS4,"TypesSupported",0x00010001,0x7
  217. [RegisterCLUSIIS4withEvenLog.Uninstall.reg]
  218. HKLM,System\CurrentControlSet\Services\EventLog\Application\CLUSIIS4
  219. [ClusCfg.reg]
  220. ; The registry keys listed in this section are created when cluscfg.exe runs.
  221. ; Additional registry keys that are created inthe Cluster hive are not explicitly
  222. ; listed here. My theory is that it is sufficient to unload the Cluster hive and
  223. ; delete the Cluster hive file.
  224. ;
  225. ; Cluster rpc transport
  226. ;
  227. HKLM,Software\Microsoft\Rpc\ClientProtocols,ncadg_cluster
  228. HKLM,Software\Microsoft\Rpc\ServerProtocols,ncadg_cluster
  229. ;
  230. ; Cluster Service
  231. ;
  232. HKLM,System\CurrentControlSet\Services\ClusSvc
  233. ;
  234. ; Time Service
  235. ;
  236. HKLM,System\CurrentControlSet\Services\TimeServ
  237. ;
  238. ; ClusDisk
  239. ;
  240. HKLM,System\CurrentControlSet\Services\ClusDisk
  241. ;
  242. ; ClusNet
  243. ;
  244. HKLM,System\CurrentControlSet\Services\ClusNet
  245. HKLM,Software\Microsoft\Windows\CurrentVersion\App Paths\CluAdmin.exe
  246. HKCU,Software\Microsoft\Cluster Administrator
  247. [NT4.reg]
  248. ; This section exists to facilitate removal of registry keys that remain from
  249. ; previous NT 4 Cluster Server installations.
  250. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Cluster Server"
  251. [Upgrade.Add.reg]
  252. ; The registry keys in this section must be revised when upgrading from NT 4.0 to
  253. ; NT 5.0. Failure to update these registry keys will result in the inability of
  254. ; the cluster service to start.
  255. ;
  256. ; Note that additional registry operations requiring run time information may be
  257. ; performed programatically in OnOcCompleteInstallation. At this time, on upgrade,
  258. ; HKLM\System\CurrentControlSet\Services\ClusSvc\ImagePath gets set to the path
  259. ; to the cluster service queried from the Service Control Manager. This is done in
  260. ; order to handle upgrading a version of Cluster service that was previously
  261. ; installed somewhere other than the default location.
  262. ; Note that 0x10000 maps to FLG_ADDREG_TYPE_MULTI_SZ.
  263. ; For Whistler (5.1), the WMI service dependency is no longer required, hence it was
  264. ; removed from the list below. (charlie wickham - 4-17-00)
  265. ; Replace the existing key.
  266. HKLM,"System\CurrentControlSet\Services\ClusSvc","DependOnService",0x10000,"ClusNet"
  267. ; Append to the existing key. Note that 0x10008 maps to FLG_ADDREG_APPEND for REG_MULTI_SZ.
  268. HKLM,"System\CurrentControlSet\Services\ClusSvc","DependOnService",0x10008,"RpcSs"
  269. HKLM,"System\CurrentControlSet\Services\ClusSvc","DependOnService",0x10008,"W32Time"
  270. HKLM,"System\CurrentControlSet\Services\ClusSvc","DependOnService",0x10008,"NetMan"
  271. ;Since Beta 2 of NT 5 Clustering disabled version checking by default, we need to enable
  272. ;it now. This is done by setting the service parameter NoVersionCheck to 0.
  273. HKLM,"System\CurrentControlSet\Services\ClusSvc\Parameters","NoVersionCheck",0x10000,0
  274. [Upgrade.Del.reg]
  275. ; The following two keys are not needed in Windows 2000.
  276. HKLM,"Software\Microsoft\Rpc\ClientProtocols\ncadg_cluster"
  277. HKLM,"Software\Microsoft\Rpc\ServerProtocols\ncadg_cluster"
  278. [MMCSnapin.Add.Reg]
  279. ;
  280. ; This registry entry makes the MMC snap-in appear on remote machine administering this cluster node
  281. ; CluAdMMC.DLL also has to be registered to enable the snap-in on this node.
  282. ;
  283. HKLM,System\CurrentControlSet\Control\Server Applications,{12E7ED01-5540-11D1-9AA4-00C04FB93A80},,%ExtSnapInName%
  284. ; Unregister the MMC extension snap-in.
  285. [MMCSnapin.Del.Reg]
  286. HKLM,System\CurrentControlSet\Control\Server Applications,{12E7ED01-5540-11D1-9AA4-00C04FB93A80}
  287. [Strings]
  288. ClusterComponentDesc = "Cluster Service"
  289. ClusterComponentTip = "Enables servers to work together as a cluster to keep server-based applications highly available, regardless of individual component failures."
  290. DestinationDirNT4Startup = "profiles\all users\start menu\programs\startup"
  291. DestinationDirNT4AdminTools = "profiles\all users\start menu\programs\administrative tools"
  292. NT4StartupFileToRemove = "Windows NT Server, Enterprise Edition Installer.cmd"
  293. NT4AdminToolsFileToRemove = "Enterprise Edition Installer.lnk"
  294. ExtSnapInName="Cluster Service"
  295. ToDoListTitle = "Configure Cluster service"
  296. MSMQ.LTypeName="Message Queuing"
  297. ;
  298. ; Resource Type Names (Non-Localizable)
  299. ;
  300. MSMQ.TypeName="MSMQ"
  301. MSDTC.TypeName="Distributed Transaction Coordinator"