regparms.h 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620
  1. /** BEGIN COPYRIGHT BLOCK
  2. * This Program is free software; you can redistribute it and/or modify it under
  3. * the terms of the GNU General Public License as published by the Free Software
  4. * Foundation; version 2 of the License.
  5. *
  6. * This Program is distributed in the hope that it will be useful, but WITHOUT
  7. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  8. * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  9. *
  10. * You should have received a copy of the GNU General Public License along with
  11. * this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
  12. * Place, Suite 330, Boston, MA 02111-1307 USA.
  13. *
  14. * In addition, as a special exception, Red Hat, Inc. gives You the additional
  15. * right to link the code of this Program with code not covered under the GNU
  16. * General Public License ("Non-GPL Code") and to distribute linked combinations
  17. * including the two, subject to the limitations in this paragraph. Non-GPL Code
  18. * permitted under this exception must only link to the code of this Program
  19. * through those well defined interfaces identified in the file named EXCEPTION
  20. * found in the source code files (the "Approved Interfaces"). The files of
  21. * Non-GPL Code may instantiate templates or use macros or inline functions from
  22. * the Approved Interfaces without causing the resulting work to be covered by
  23. * the GNU General Public License. Only Red Hat, Inc. may make changes or
  24. * additions to the list of Approved Interfaces. You must obey the GNU General
  25. * Public License in all respects for all of the Program code and other code used
  26. * in conjunction with the Program except the Non-GPL Code covered by this
  27. * exception. If you modify this file, you may extend this exception to your
  28. * version of the file, but you are not obligated to do so. If you do not wish to
  29. * provide this exception without modification, you must delete this exception
  30. * statement from your version and license this file solely under the GPL without
  31. * exception.
  32. *
  33. *
  34. * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
  35. * Copyright (C) 2005 Red Hat, Inc.
  36. * All rights reserved.
  37. * END COPYRIGHT BLOCK **/
  38. #ifdef HAVE_CONFIG_H
  39. # include <config.h>
  40. #endif
  41. // //
  42. // Name: regparms.h //
  43. // Platforms: WIN32 //
  44. // ...................................................................... //
  45. // This module contains registry key definations used throughout the //
  46. // server. //
  47. // ...................................................................... //
  48. // Revision History: //
  49. // 01-12-95 Initial Version, Aruna Victor ([email protected]) //
  50. // 12-19-96 3.0 registry changes, Andy Hakim ([email protected]) //
  51. // 07-24-97 3.5 registry changes, Ted Byrd ([email protected]) //
  52. // 09-28-97 4.0 registry changes, Glen Beasley ([email protected]) //
  53. //--------------------------------------------------------------------------//
  54. #define KEY_COMPANY "Fedora"
  55. #define KEY_APP_PATH "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\App Paths"
  56. #define KEY_RUN_ONCE "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\RunOnce"
  57. #define KEY_SERVICES "SYSTEM\\CurrentControlSet\\Services"
  58. #define KEY_SNMP_SERVICE "SNMP\\Parameters\\ExtensionAgents"
  59. #define KEY_SNMP_CURRENTVERSION "SNMP\\CurrentVersion"
  60. #define KEY_EVENTLOG_MESSAGES "EventLogMessages"
  61. #define KEY_EVENTLOG_APP "EventLog\\Application"
  62. #define KEY_SOFTWARE_NETSCAPE "SOFTWARE\\Fedora"
  63. #define VALUE_IMAGE_PATH "ImagePath"
  64. #define VALUE_CONFIG_PATH "ConfigurationPath"
  65. #define VALUE_ROOT_PATH "RootPath"
  66. #define VALUE_APP_PATH "Pathname"
  67. #define PROGRAM_GROUP_NAME "Fedora SuiteSpot"
  68. #define STR_PRODUCT_TYPE "Server"
  69. #define STR_EXE ".exe"
  70. #define STR_COMPANY_PREFIX "ns-"
  71. /* SuiteSpot IDs */
  72. #define NSS_NAME_SHORT "SuiteSpot"
  73. #define NSS_VERSION "6.0"
  74. #define NSS_NAME_VERSION "SuiteSpot 6.0"
  75. #define NSS_NAME_FULL "Fedora SuiteSpot"
  76. #define NSS_NAME_FULL_VERSION "Fedora SuiteSpot 6.0"
  77. #define NSS_NAME_UNINSTALL "Uninstall SuiteSpot 6.0"
  78. /* Admin IDs */
  79. #define ADM_ID_PRODUCT "admin"
  80. #define ADM_NAME_SHORT "Administration"
  81. #define ADM_VERSION "1.0"
  82. #define ADM_NAME_VERSION "Administration 1.0"
  83. #define ADM_NAME_SERVER "Administration Server"
  84. #define ADM_NAME_FULL "Fedora Administration Server"
  85. #define ADM_NAME_FULL_VERSION "Fedora Administration Server 1.0"
  86. #define ADM_NAME_SERVICE "Fedora Administration 1.0"
  87. #define ADM_EXE "ns-admin.exe"
  88. #define ADM_EXE_START "admin.exe"
  89. #define ADM_ID_SERVICE "admin10"
  90. #define ADM_KEY_ROOT "Administration\\1.0"
  91. #define ADM_SERVER_LST_NAME "adm:Netscape Enterprise Server"
  92. #define ADM_DIR_ROOT "admin"
  93. #define ADM_NAME_UNINSTALL "Uninstall Administration Server 1.0"
  94. #define ADMIN_SERVICE_NAME "Admin Server"
  95. #define ADMIN_ICON_NAME "Administer Netscape Servers"
  96. /* Enterprise IDs */
  97. #define ENT_ID_PRODUCT "https"
  98. #define ENT_NAME_SHORT "Enterprise"
  99. #define ENT_VERSION "6.2"
  100. #define ENT_NAME_VERSION "Enterprise 6.2"
  101. #define ENT_NAME_SERVER "Enterprise Server"
  102. #define ENT_NAME_FULL "Fedora Enterprise Server"
  103. #define ENT_NAME_FULL_VERSION "Fedora Enterprise Server 6.2"
  104. #define ENT_NAME_SERVICE "Fedora Enterprise 6.2"
  105. #define ENT_EXE "ns-httpd.exe"
  106. #define ENT_EXE_START "httpd.exe"
  107. #define ENT_ID_SERVICE "https"
  108. #define ENT_KEY_ROOT "Enterprise\\6.2"
  109. #define ENT_SERVER_LST_NAME "https:Fedora Enterprise Server"
  110. #define ENT_DIR_ROOT "https"
  111. #define ENT_NAME_UNINSTALL "Uninstall Enterprise Server 3.01"
  112. #if 0
  113. /* Personal IDs */
  114. #define PERSONAL_APP_PATH_KEY "ns-httpd.exe"
  115. #define PERSONAL_README_ICON_NAME "FastTrack README"
  116. #define PERSONAL_REGISTRY_ROOT_KEY "Httpd Server"
  117. #define PERSONAL_SERVER_LST_NAME "httpd:Netscape FastTrack Server"
  118. #define PERSONAL_UNINSTALL_ICON_NAME "Uninstall FastTrack"
  119. #define PERSONAL_UNINSTALL_KEY "FastTrackV2.0"
  120. #define PERSONAL_SERVER_NAME "Netscape FastTrack Server"
  121. #define PER_ID_PRODUCT "httpd"
  122. #define PER_NAME_SHORT "FastTrack"
  123. #define PER_VERSION "3.01"
  124. #define PER_NAME_VERSION "FastTrack 3.01"
  125. #define PER_NAME_SERVER "FastTrack Server"
  126. #define PER_NAME_FULL "Netscape FastTrack Server"
  127. #define PER_NAME_FULL_VERSION "Netscape FastTrack Server 3.01"
  128. #define PER_NAME_SERVICE "Netscape FastTrack 3.01"
  129. #define PER_EXE "ns-httpd.exe"
  130. #define PER_EXE_START "httpd.exe"
  131. #define PER_ID_SERVICE "httpd"
  132. #define PER_KEY_ROOT "FastTrack\\3.01"
  133. #define PER_SERVER_LST_NAME "httpd:Netscape FastTrack Server"
  134. #define PER_DIR_ROOT "httpd"
  135. #define PER_NAME_UNINSTALL "Uninstall FastTrack Server 3.01"
  136. /* Proxy IDs */
  137. #define PRX_ID_PRODUCT "proxy"
  138. #define PRX_NAME_SHORT "Proxy"
  139. #define PRX_VERSION "3.0"
  140. #define PRX_NAME_VERSION "Proxy 3.0"
  141. #define PRX_NAME_SERVER "Proxy Server"
  142. #define PRX_NAME_FULL "Netscape Proxy Server"
  143. #define PRX_NAME_FULL_VERSION "Netscape Proxy Server 3.0"
  144. #define PRX_NAME_SERVICE "Netscape Proxy 3.0"
  145. #define PRX_EXE "ns-proxy.exe"
  146. #define PRX_EXE_START "proxy.exe"
  147. #define PRX_ID_SERVICE "proxy30"
  148. #define PRX_KEY_ROOT "Proxy\\3.0"
  149. #define PRX_SERVER_LST_NAME "proxy:Netscape Proxy Server"
  150. #define PRX_DIR_ROOT "proxy"
  151. #define PRX_NAME_UNINSTALL "Uninstall Proxy Server 3.0"
  152. /* Catalog IDs */
  153. #define CATALOG_SHORT_NAME "Catalog"
  154. #define CATALOG_SERVER_NAME "Netscape Catalog Server"
  155. #define CATALOG_SERVER_VERSION "1.0"
  156. #define CATALOG_SETUP_SHORT_NAME "Catalog Server"
  157. #define CATALOG_SETUP_NAME "Netscape Catalog Server 1.0"
  158. #define CATALOG_REGISTRY_ROOT_KEY "Catalog Server"
  159. #define CATALOG_EXE "ns-httpd.exe"
  160. #define CATALOG_DIR_ROOT "catalog"
  161. #define CATALOG_APP_PATH_KEY "ns-catalog"
  162. #define CATALOG_UNINSTALL_KEY "CatalogV1.0"
  163. #define CATALOG_SERVER_LST_NAME "catalog:Netscape Catalog Server"
  164. #define CATALOG_SERVICE_PREFIX "Netscape Catalog Server "
  165. #define CATALOG_README_ICON_NAME "Catalog README"
  166. #define CATALOG_UNINSTALL_ICON_NAME "Uninstall Catalog"
  167. #define CATALOG_PRODUCT_NAME "catalog"
  168. /* RDS IDs */
  169. #define RDS_SHORT_NAME "RDS"
  170. #define RDS_SERVER_NAME "Netscape RDS Server"
  171. #define RDS_SERVER_VERSION "1.0"
  172. #define RDS_SETUP_SHORT_NAME "RDS Server"
  173. #define RDS_SETUP_NAME "Netscape RDS Server 1.0"
  174. #define RDS_REGISTRY_ROOT_KEY "RDS Server"
  175. #define RDS_EXE "ns-httpd.exe"
  176. #define RDS_DIR_ROOT "rds"
  177. #define RDS_APP_PATH_KEY "ns-rds"
  178. #define RDS_UNINSTALL_KEY "RdsV1.0"
  179. #define RDS_SERVER_LST_NAME "rds:Netscape RDS Server"
  180. #define RDS_SERVICE_PREFIX "Netscape RDS Server "
  181. #define RDS_README_ICON_NAME "Rds README"
  182. #define RDS_UNINSTALL_ICON_NAME "Uninstall RDS"
  183. #define RDS_PRODUCT_NAME "rds"
  184. /* News IDs */
  185. #define NEWS_SHORT_NAME "News"
  186. /* Alpha #define NEWS_SERVER_NAME "Netscape News Server (tm) " */
  187. /* Alpha #define NEWS_SETUP_NAME "Netscape News Server (tm) " */
  188. /* Alpha #define NEWS_UNINSTALL_KEY "NewsV1.2" */
  189. #define NEWS_SERVER_NAME "Netscape News Server"
  190. #define NEWS_SERVER_VERSION "2.0"
  191. #define NEWS_UNINSTALL_KEY "NetscapeNewsV2.0"
  192. #define NEWS_SETUP_SHORT_NAME "News Server"
  193. #define NEWS_SETUP_NAME "Netscape News Server"
  194. #define NEWS_REGISTRY_ROOT_KEY "News Server" // key under SW/Netscape
  195. #define NEWS_EXE "nnrpd.exe" // value for <No name>
  196. #define NEWS_DIR_ROOT "news" // mess.dll in Reg, and in .lst
  197. #define NEWS_APP_PATH_KEY "innd.exe" // key under app paths
  198. #define NEWS_SERVER_LST_NAME "news:Netscape News Server"
  199. #define NEWS_SERVICE_PREFIX "Netscape News Server "
  200. #define NEWS_README_ICON_NAME "News Readme"
  201. #define NEWS_UNINSTALL_ICON_NAME "Uninstall News"
  202. /* Mail IDs */
  203. /* When we integrate the core & admin servers installation processes */
  204. /* we will use the code below instead of the section following it. */
  205. /*
  206. #define MAIL_SHORT_NAME "Mail"
  207. #define MAIL_SERVER_NAME "Netscape Mail Server (tm)"
  208. #define MAIL_SERVER_VERSION "2.0"
  209. #define MAIL_SETUP_SHORT_NAME "Mail Server"
  210. #define MAIL_SETUP_NAME "Netscape Mail Server (tm)"
  211. #define MAIL_REGISTRY_ROOT_KEY "Mail Server" // key under SW/Netscape
  212. #define MAIL_EXE "NetscapeMTA.exe" // value for <No name>
  213. #define MAIL_DIR_ROOT "mail" // mess.dll in Reg, and in .lst
  214. #define MAIL_APP_PATH_KEY "NetscapeMTA.exe" // key under app paths
  215. #define MAIL_UNINSTALL_KEY "MailV2.0"
  216. #define MAIL_SERVER_LST_NAME "mail:Netscape Mail Server"
  217. #define MAIL_SERVICE_PREFIX "Netscape Mail Server "
  218. #define MAIL_README_ICON_NAME "Mail Readme"
  219. #define MAIL_UNINSTALL_ICON_NAME "Uninstall Mail"
  220. */
  221. #define MAIL_SHORT_NAME "Admin"
  222. #define MAIL_SERVER_NAME "Netscape Administration Server (tm)"
  223. #define MAIL_SERVER_VERSION "2.0"
  224. #define MAIL_SETUP_SHORT_NAME "Admin Server"
  225. #define MAIL_SETUP_NAME "Netscape Administration Server (tm)"
  226. #define MAIL_REGISTRY_ROOT_KEY "Mail Server" // key under SW/Netscape
  227. #define MAIL_EXE "NetscapeMTA.exe" // value for <No name>
  228. #define MAIL_DIR_ROOT "mail" // mess.dll in Reg, and in .lst
  229. #define MAIL_APP_PATH_KEY "NetscapeMTA.exe" // key under app paths
  230. #define MAIL_UNINSTALL_KEY "MailV2.0"
  231. #define MAIL_SERVER_LST_NAME "mail:Netscape Mail Server"
  232. #define MAIL_SERVICE_PREFIX "Netscape Admin Server "
  233. #define MAIL_README_ICON_NAME "Mail Readme"
  234. #define MAIL_UNINSTALL_ICON_NAME "Uninstall Mail"
  235. #endif
  236. /* Synchronization Service IDs */
  237. #define DSS_SHORT_NAME "Directory Synchronization Service"
  238. #define DSS_SERVER_NAME "Fedora Directory Synchronization Service"
  239. #define DSS_SERVER_VERSION "1"
  240. #define DSS_SETUP_SHORT_NAME "Fedora Synchronization Service"
  241. #define DSS_SETUP_NAME "Fedora Directory Synchronization Service 1"
  242. #define DSS_REGISTRY_ROOT_KEY "Directory Synchronization Service"
  243. #define DSS_EXE "dssynch.exe"
  244. #define DSS_DIR_ROOT "dssynch"
  245. #define DSS_APP_PATH_KEY "dssynch.exe"
  246. #define DSS_CONFIG_TOOL "synchcfg.exe"
  247. #define DSS_UNINSTALL_KEY "SynchronizationV1"
  248. #define DSS_SERVER_LST_NAME "dssynch:Netscape Directory Synchronization Service"
  249. #define DSS_SERVICE_PREFIX "Fedora Directory Synchronization Service "
  250. #define DSS_README_ICON_NAME "Directory Synchronization Service README"
  251. #define DSS_CONFIG_ICON_NAME "Directory Synchronization Service Config"
  252. #define DSS_UNINSTALL_ICON_NAME "Uninstall Directory Synch Service"
  253. #define DSS_PRODUCT_NAME "dssynch"
  254. #define DSS_ID_PRODUCT DSS_PRODUCT_NAME
  255. #define DS_COMPONENT 1
  256. /* IDs needed for Directory 102/30 synchservice */
  257. #define ADMIN_APP_PATH_KEY "ns-admin.exe"
  258. #define ADMIN_EXE "ns-admin.exe"
  259. #define ADMIN_REGISTRY_ROOT_KEY "admin.exe"
  260. #define ADMSERV_COMPRESSED_FILE "admserv.z"
  261. #define APPBASE_DIR95 "Program Files"
  262. #define APPBASE_PATH "Netscape"
  263. #define APP_PATH_KEY "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\App Paths"
  264. #define BASE_REGISTRY95 "Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\"
  265. #define BASE_REGISTRYNT "Software\\Microsoft\\Windows NT\\CurrentVersion\\App Paths\\"
  266. #define CMS_COMPRESSED_FILE "certsvr.z"
  267. #define CMS_DIR_ROOT "cms"
  268. #define CMS_SHORT_NAME "Certificate Server"
  269. #define CMS_APP_PATH_KEY "libcms.dll"
  270. #define CMS_UNINSTALL_KEY "CertificateV1.0"
  271. #define CMS_UNINSTALL_ICON_NAME "Uninstall CertServer"
  272. #define UPGRADE_VER_1_ICON_NAME "Upgrade 1.1x Servers"
  273. #define CMS_README_ICON_NAME "CertServer README"
  274. #define CMS_REGISTRY_ROOT_KEY "Certificate Server"
  275. #define CMS_SERVER_NAME "Netscape Certificate Server"
  276. #define CMS_SERVER_LST_NAME "cms:Netscape Certificate Server"
  277. #define COMPANY_NAME "Netscape"
  278. #define DIR_HTTPD_SERVER DSS_DIR_ROOT
  279. #define DSS_COMPRESSED_FILE "dssynch.z"
  280. #define DSS_COMPRESSED_HELP_FILE "hdssynch.z"
  281. #define DS_COMPRESSED_FILE "slapd.z"
  282. #define ENTERPRISE_APP_PATH_KEY "ns-https.exe"
  283. #define ENTERPRISE_README_ICON_NAME "Enterprise README"
  284. #define ENTERPRISE_REGISTRY_ROOT_KEY "Https Server"
  285. #define ENTERPRISE_SERVER_LST_NAME "https:Netscape Enterprise Server"
  286. #define ENTERPRISE_SERVER_NAME "Netscape Enterprise Server"
  287. #define ENTERPRISE_UNINSTALL_KEY "EnterpriseV2.0"
  288. #define ENTERPRISE_UNINSTALL_ICON_NAME "Uninstall Enterprise"
  289. #define ENTERPRISE_DIR_ROOT "https"
  290. #define ENTERPRISE_SHORT_NAME "Enterprise"
  291. #define EXTRAS_COMPRESSED_FILE "extras.z"
  292. #define HTTP_SERVER_NAME DSS_DIR_ROOT
  293. #define INSTALL_COMPRESSED_FILE "install.z"
  294. #define LIVEWIRE_COMPRESSED_FILE "wire.z"
  295. #define NSAPI_COMPRESSED_FILE "nsapi.z"
  296. #define PERSONAL_DIR_ROOT "httpd"
  297. #define PERSONAL_SHORT_NAME "FastTrack"
  298. #define PLUGINS_COMPRESSED_FILE "plugins.z"
  299. #define REGISTRY_ROOT_PATH_KEY "Path"
  300. #define SERVDLLS_COMPRESSED_FILE "servdlls.z"
  301. #define SERVER_APP_PATH_KEY DSS_APP_PATH_KEY
  302. #define SERVER_COMPRESSED_FILE "server.z"
  303. #define SERVER_EXE DSS_EXE
  304. #define SERVER_LIST_NAME DSS_SERVER_LST_NAME
  305. #define SERVER_PRODUCT_NAME DSS_REGISTRY_ROOT_KEY
  306. #define SERVER_PRODUCT_VERSION DSS_VERSION_DEF
  307. #define SERVER_README_ICON_NAME DSS_README_ICON_NAME
  308. #define SERVER_UNINSTALL_ICON_NAME DSS_UNINSTALL_ICON_NAME
  309. #define SETUP_NAME DSS_SETUP_NAME
  310. #define SETUP_SHORT_NAME DSS_SHORT_NAME
  311. #define SETUP_TITLE_WIN95_BMP "titleNTb.bmp"
  312. #define SETUP_TITLE_WINNT_BMP "titledss.bmp"
  313. #define SOFTWARE_NETSCAPE_KEY "SOFTWARE\\Netscape"
  314. #define NETSCAPE_WEB_KEY "Netscape Web Servers"
  315. #define NETSCAPE_SERVICE_KEY "SYSTEM\\CurrentControlSet\\Services"
  316. #define SYSDLLS_COMPRESSED_FILE "ssdlls.z"
  317. #define UNINSTALL_KEY DSS_UNINSTALL_KEY
  318. #define UNINSTALL_REGISTRY95 "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\"
  319. // NT SNMP Extension Agent registry entries
  320. #define SNMP_SERVICE_KEY "SYSTEM\\CurrentControlSet\\Services\\SNMP\\Parameters\\ExtensionAgents\\"
  321. #define SNMP_AGENT_KEY "HTTP SNMP Agent"
  322. #define SNMP_CURRENT_VERSION "CurrentVersion"
  323. #define SNMP_PATHNAME "Pathname"
  324. #define SNMP_DLL_PATH "bin\\https\\httpsnmp.dll"
  325. #define SNMP_SERVICE_NAME "SNMP"
  326. // end synch service
  327. #define LICENSE_TXT "license.txt"
  328. #define UNINST_EXE "unslapd.exe"
  329. #define DSS_UNINST_EXE "unsynch.exe"
  330. #define DIR_ADMSERV_SERVER "admserv"
  331. #define COPY_READMEFILES "Copying readme files..."
  332. #define COPY_SYSDLLFILES "Copying Shared System files..."
  333. #define COPY_SERVDLLFILES "Copying Shared Server files..."
  334. #define COPY_SERVERFILES "Copying web server files..."
  335. #define COPY_ADMINFILES "Copying administration server files..."
  336. #define COPY_EXTRASFILES "Copying CGI Example and Log Analyzer Files..."
  337. #define COPY_INSTALLFILES "Copying Version 1.1x upgrade files..."
  338. #define COPY_NSAPIFILES "Copying NSAPI Library and Examples Files..."
  339. #define COPY_PLUGINSFILES "Copying Plug-in Files..."
  340. #define COPY_LIVEWIREFILES "Copying LiveWire Files..."
  341. #define INSTALL_LIVEWIREFILES "Installing LiveWire Server Extension files..."
  342. #define INSTALL_CMSFILES "Installing Certificate Server files..."
  343. #define INSTALL_DSFILES "Installing Directory Server files..."
  344. #define INSTALL_DSSFILES "Installing Directory Synchronization Service files..."
  345. #define INSTALL_DSSHELPFILES "Installing Directory Synchronization Service Help files..."
  346. #define STR_DEFTAB " "
  347. /* end temp ds102 IDs */
  348. /* Directory IDs */
  349. /* NOTES:
  350. dboreham: I have no idea what is going on below:
  351. we seem to be using two completely different sets of defines.
  352. This needs sorted out
  353. ryamaura: The first group is there only to ensure that
  354. nothing breaks. The second group conforms to the rest of
  355. the SuiteSpot servers and should be the final form.
  356. */
  357. #define DS_SHORT_NAME "Directory Server"
  358. #define DS_SERVER_NAME "Fedora Directory Server"
  359. #define DS_SERVER_VERSION "1"
  360. #define DS_SETUP_SHORT_NAME "Directory Server"
  361. #define DS_SETUP_NAME "Fedora Directory Server 1"
  362. #define DS_REGISTRY_ROOT_KEY "Directory Server"
  363. #define DS_APP_PATH_KEY "ns-slapd.exe"
  364. #define DS_UNINSTALL_KEY "DirectoryV1"
  365. #define DS_SERVICE_PREFIX "Fedora Directory Server "
  366. #define DS_README_ICON_NAME "Directory Server 1 README"
  367. #define DS_UNINSTALL_ICON_NAME "Uninstall Directory Server 1"
  368. #define DS_PRODUCT_NAME "slapd"
  369. #define DS_ID_PRODUCT "slapd"
  370. #define DS_NAME_SHORT "Directory"
  371. #define DS_VERSION_OLD "3.0"
  372. #undef DS_VERSION
  373. #define DS_VERSION "1"
  374. #define DS_NAME_VERSION "Directory 1"
  375. #define DS_NAME_SERVER "Directory Server"
  376. #define DS_NAME_FULL "Fedora Directory Server"
  377. #define DS_NAME_FULL_VERSION "Fedora Directory Server 1"
  378. #define DS_NAME_SERVICE "Fedora Directory 1"
  379. #define DS_EXE "ns-slapd.exe"
  380. #define DS_EXE_START "slapd.exe"
  381. #define DS_ID_SERVICE "slapd"
  382. #define DS_KEY_ROOT "Directory\\1"
  383. #define DS_KEY_ROOT_OLD "Directory\\3.0"
  384. #define DS_SERVER_LST_NAME "slapd:Fedora Directory Server"
  385. #define DS_DIR_ROOT "slapd"
  386. #define DS_NAME_UNINSTALL "Uninstall Directory Server 1"
  387. #define DS_SNMP_PATH "bin\\slapd\\server\\ns-ldapagt.dll"
  388. #define DS_OPTIONS "Select the installation option from below"
  389. #define DS_OPTIONS_TITLE "Directory Server Installions Options"
  390. #define DS_GENERAL_OPTIONS DS_NAME_SERVER
  391. #ifndef DS_COMPONENT
  392. #define DS_COMPONENT 1
  393. #endif
  394. /* original definitions */
  395. // Upper-level registry parameters
  396. /* Note: the followin MCC_ are not defined when this file is included
  397. for the NT setup.rul file. Beware of using the following definitions in NT
  398. - nirmal
  399. */
  400. #if defined(MCC_ADMSERV)
  401. #define SERVICE_NAME ADM_ID_SERVICE
  402. #define EVENTLOG_APPNAME ADM_NAME_VERSION
  403. #define SERVICE_EXE ADM_EXE
  404. #define SERVICE_PREFIX ADM_NAME_VERSION
  405. #define SVR_ID_PRODUCT ADM_ID_PRODUCT
  406. #define SVR_NAME_SHORT ADM_NAME_SHORT
  407. #define SVR_VERSION ADM_VERSION
  408. #define SVR_NAME_VERSION ADM_NAME_VERSION
  409. #define SVR_NAME_SERVER ADM_NAME_SERVER
  410. #define SVR_NAME_FULL ADM_NAME_FULL
  411. #define SVR_NAME_FULL_VERSION ADM_NAME_FULL_VERSION
  412. #define SVR_NAME_SERVICE ADM_NAME_SERVICE
  413. #define SVR_EXE ADM_EXE
  414. #define SVR_EXE_START ADM_EXE_START
  415. #define SVR_ID_SERVICE ADM_ID_SERVICE
  416. #define SVR_KEY_ROOT ADM_KEY_ROOT
  417. #define SVR_SERVER_LST_NAME ADM_SERVER_LST_NAME
  418. #define SVR_DIR_ROOT ADM_DIR_ROOT
  419. #define SVR_NAME_UNINSTALL ADM_NAME_UNINSTALL
  420. #elif defined(NS_ENTERPRISE)
  421. #define PRODUCT_KEY ENT_KEY_ROOT
  422. #define PRODUCT_NAME ENT_ID_PRODUCT
  423. #define EVENTLOG_APPNAME ENT_NAME_VERSION
  424. #define SERVICE_PREFIX ENT_NAME_VERSION
  425. #define SVR_ID_PRODUCT ENT_ID_PRODUCT
  426. #define SVR_NAME_SHORT ENT_NAME_SHORT
  427. #define SVR_VERSION ENT_VERSION
  428. #define SVR_NAME_VERSION ENT_NAME_VERSION
  429. #define SVR_NAME_SERVER ENT_NAME_SERVER
  430. #define SVR_NAME_FULL ENT_NAME_FULL
  431. #define SVR_NAME_FULL_VERSION ENT_NAME_FULL_VERSION
  432. #define SVR_NAME_SERVICE ENT_NAME_SERVICE
  433. #define SVR_EXE ENT_EXE
  434. #define SVR_EXE_START ENT_EXE_START
  435. #define SVR_ID_SERVICE ENT_ID_SERVICE
  436. #define SVR_KEY_ROOT ENT_KEY_ROOT
  437. #define SVR_SERVER_LST_NAME ENT_SERVER_LST_NAME
  438. #define SVR_DIR_ROOT ENT_DIR_ROOT
  439. #define SVR_NAME_UNINSTALL ENT_NAME_UNINSTALL
  440. #elif defined(NS_PROXY)
  441. #define PRODUCT_KEY PRX_KEY_ROOT
  442. #define PRODUCT_NAME PRX_ID_PRODUCT
  443. #define EVENTLOG_APPNAME PRX_NAME_VERSION
  444. #define SERVICE_PREFIX PRX_NAME_VERSION
  445. #define SVR_ID_PRODUCT PRX_ID_PRODUCT
  446. #define SVR_NAME_SHORT PRX_NAME_SHORT
  447. #define SVR_VERSION PRX_VERSION
  448. #define SVR_NAME_VERSION PRX_NAME_VERSION
  449. #define SVR_NAME_SERVER PRX_NAME_SERVER
  450. #define SVR_NAME_FULL PRX_NAME_FULL
  451. #define SVR_NAME_FULL_VERSION PRX_NAME_FULL_VERSION
  452. #define SVR_NAME_SERVICE PRX_NAME_SERVICE
  453. #define SVR_EXE PRX_EXE
  454. #define SVR_EXE_START PRX_EXE_START
  455. #define SVR_ID_SERVICE PRX_ID_SERVICE
  456. #define SVR_KEY_ROOT PRX_KEY_ROOT
  457. #define SVR_SERVER_LST_NAME PRX_SERVER_LST_NAME
  458. #define SVR_DIR_ROOT PRX_DIR_ROOT
  459. #define SVR_NAME_UNINSTALL PRX_NAME_UNINSTALL
  460. #elif defined(NS_CATALOG)
  461. #define PRODUCT_KEY CATALOG_REGISTRY_ROOT_KEY // CKA (should use key above)
  462. #define PRODUCT_NAME "catalog"
  463. #define EVENTLOG_APPNAME "NetscapeCatalog"
  464. #define SERVICE_PREFIX CATALOG_SERVICE_PREFIX
  465. #elif defined(NS_RDS)
  466. #define PRODUCT_KEY RDS_REGISTRY_ROOT_KEY // CKA (should use key above)
  467. #define PRODUCT_NAME "rds"
  468. #define EVENTLOG_APPNAME "NetscapeRds"
  469. #define SERVICE_PREFIX RDS_SERVICE_PREFIX
  470. #elif defined(NS_PERSONAL)
  471. #define PRODUCT_KEY PER_KEY_ROOT
  472. #define PRODUCT_NAME PER_ID_PRODUCT
  473. #define EVENTLOG_APPNAME PER_NAME_VERSION
  474. #define SERVICE_PREFIX PER_NAME_VERSION
  475. #define SVR_ID_PRODUCT PER_ID_PRODUCT
  476. #define SVR_NAME_SHORT PER_NAME_SHORT
  477. #define SVR_VERSION PER_VERSION
  478. #define SVR_NAME_VERSION PER_NAME_VERSION
  479. #define SVR_NAME_SERVER PER_NAME_SERVER
  480. #define SVR_NAME_FULL PER_NAME_FULL
  481. #define SVR_NAME_FULL_VERSION PER_NAME_FULL_VERSION
  482. #define SVR_NAME_SERVICE PER_NAME_SERVICE
  483. #define SVR_EXE PER_EXE
  484. #define SVR_EXE_START PER_EXE_START
  485. #define SVR_ID_SERVICE PER_ID_SERVICE
  486. #define SVR_KEY_ROOT PER_KEY_ROOT
  487. #define SVR_SERVER_LST_NAME PER_SERVER_LST_NAME
  488. #define SVR_DIR_ROOT PER_DIR_ROOT
  489. #define SVR_NAME_UNINSTALL PER_NAME_UNINSTALL
  490. #elif defined(NS_DSS)
  491. #define PRODUCT_KEY DSS_REGISTRY_ROOT_KEY // CKA (should use key above)
  492. #define PRODUCT_NAME "dssynch"
  493. #define EVENTLOG_APPNAME "NetscapeDirSynchService"
  494. #define SERVICE_PREFIX DSS_SERVICE_PREFIX
  495. #elif defined(NS_DS)
  496. #define PRODUCT_BIN "ns-slapd"
  497. #define SLAPD_EXE "slapd.exe"
  498. #define SERVICE_EXE SLAPD_EXE
  499. #define SLAPD_CONF "slapd.conf"
  500. #define SLAPD_DONGLE_FILE "password.dng"
  501. #define DONGLE_FILE_NAME SLAPD_DONGLE_FILE
  502. #define PRODUCT_KEY DS_REGISTRY_ROOT_KEY
  503. #define PRODUCT_NAME DS_ID_PRODUCT
  504. #define EVENTLOG_APPNAME DS_NAME_VERSION
  505. #define SERVICE_PREFIX DS_NAME_VERSION
  506. #define SVR_ID_PRODUCT DS_ID_PRODUCT
  507. #define SVR_NAME_SHORT DS_NAME_SHORT
  508. #define SVR_VERSION DS_VERSION
  509. #define SVR_VERSION_OLD DS_VERSION_OLD
  510. #define SVR_NAME_VERSION DS_NAME_VERSION
  511. #define SVR_NAME_SERVER DS_NAME_SERVER
  512. #define SVR_NAME_FULL DS_NAME_FULL
  513. #define SVR_NAME_FULL_VERSION DS_NAME_FULL_VERSION
  514. #define SVR_NAME_SERVICE DS_NAME_SERVICE
  515. #define SVR_EXE DS_EXE
  516. #define SVR_EXE_START DS_EXE_START
  517. #define SVR_ID_SERVICE DS_ID_SERVICE
  518. #define SVR_KEY_ROOT DS_KEY_ROOT
  519. #define SVR_SERVER_LST_NAME DS_SERVER_LST_NAME
  520. #define SVR_DIR_ROOT DS_DIR_ROOT
  521. #define SVR_NAME_UNINSTALL DS_NAME_UNINSTALL
  522. #define SNMP_PATH DS_SNMP_PATH
  523. #elif defined(NS_SETUP)
  524. #else
  525. #error SERVER TYPE NOT DEFINED
  526. #endif /* MCC_ADMSERV */
  527. // Do not move this section. This has to come immediately after the
  528. // ifdef section above - Nirmal
  529. //
  530. #if defined(MCC_NEWS) // Nirmal : added for news 2/21/95.
  531. #define PRODUCT_BIN "innd" // Redefine the generic ns-httpd.exe
  532. #define PRODUCT_KEY NEWS_REGISTRY_ROOT_KEY // CKA (should use key above)
  533. #define PRODUCT_NAME "news"
  534. #define EVENTLOG_APPNAME "NetscapeNews"
  535. #define SERVICE_PREFIX NEWS_SERVICE_PREFIX
  536. #endif
  537. #define VERSION_KEY "CurrentVersion"
  538. // Configuration Parameters
  539. #define SOFTWARE_KEY "Software"
  540. // NT Perfmon DLL entries
  541. #define KEY_PERFORMANCE "Performance"
  542. #define PERF_MICROSOFT_KEY "SOFTWARE\\Microsoft\\Windows NT\\Perflib\\009"
  543. #define PERF_COUNTER_KEY "Counter"
  544. #define PERF_HELP_KEY "Help"
  545. #define PERF_OPEN_FUNCTION "OpenNSPerformanceData"
  546. #define PERF_COLLECT_FUNCTION "CollectNSPerformanceData"
  547. #define PERF_CLOSE_FUNCTION "CloseNSPerformanceData"
  548. #define PERF_CTR_INI "nsctrs.ini"
  549. // this section used to be in confhttp.h. TODO: convert to SVR_ format -ahakim
  550. #if defined(NS_CATALOG)
  551. #define SERVER_REGISTRY_ROOT_KEY CATALOG_REGISTRY_ROOT_KEY
  552. #define SERVER_APP_PATH_KEY CATALOG_APP_PATH_KEY
  553. #define SERVER_DIR_ROOT CATALOG_DIR_ROOT
  554. #define SERVER_SETUP_NAME CATALOG_SETUP_NAME
  555. #define SERVER_SHORT_NAME CATALOG_SHORT_NAME
  556. #elif defined(NS_RDS)
  557. #define SERVER_REGISTRY_ROOT_KEY RDS_REGISTRY_ROOT_KEY
  558. #define SERVER_APP_PATH_KEY RDS_APP_PATH_KEY
  559. #define SERVER_DIR_ROOT RDS_DIR_ROOT
  560. #define SERVER_SETUP_NAME RDS_SETUP_NAME
  561. #define SERVER_SHORT_NAME RDS_SHORT_NAME
  562. #endif