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.

110 lines
3.6 KiB

  1. /*++
  2. Copyright (c) 2002 Microsoft Corporation
  3. Module Name :
  4. const.cxx
  5. Abstract:
  6. Repository for the constants that are used throughout
  7. the project
  8. Author:
  9. Christopher Achille (cachille)
  10. Project:
  11. Internet Services Setup
  12. Revision History:
  13. April 2002: Created
  14. --*/
  15. #include "stdafx.h"
  16. #include "resource.h"
  17. //
  18. // This struct, and the enum below it must mach up
  19. //
  20. struct sComponentList g_ComponentList[] =
  21. // Component ID Product Name Sel by Incl. in
  22. // Default GrpPol Deny
  23. { { _T("iis"), 0, TRUE, FALSE },
  24. { _T("iis_common"), 0, TRUE, TRUE },
  25. { _T("iis_inetmgr"), 0, TRUE, TRUE },
  26. { _T("iis_pwmgr"), 0, FALSE, TRUE },
  27. { _T("iis_www_parent"), 0, TRUE, TRUE },
  28. { _T("iis_www"), 0, TRUE, TRUE },
  29. { _T("iis_www_vdir_scripts"), 0, FALSE, TRUE },
  30. { _T("iis_doc"), 0, FALSE, TRUE },
  31. { _T("iis_ftp"), 0, FALSE, TRUE },
  32. { _T("sakit_web"), 0, FALSE, TRUE },
  33. { _T("appsrv"), 0, FALSE, FALSE },
  34. { _T("appsrv_console"), 0, TRUE, FALSE },
  35. { _T("complusnetwork"), 0, FALSE, FALSE },
  36. { _T("dtcnetwork"), 0, FALSE, FALSE },
  37. { _T("IIS_ASP"), IDS_PRODUCT_ASP, FALSE, TRUE },
  38. { _T("IIS_InternetDataConnector"), IDS_PRODUCT_HTTPODBC, FALSE, TRUE },
  39. { _T("IIS_ServerSideIncludes"), IDS_PRODUCT_SSINC, FALSE, TRUE },
  40. { _T("IIS_WebDav"), IDS_PRODUCT_WEBDAV, FALSE, TRUE },
  41. { NULL },
  42. };
  43. //
  44. // This struct enumerates all of the extensions that IIS installs
  45. //
  46. struct sOurDefaultExtensions g_OurExtensions[] =
  47. { { _T("asp.dll"),
  48. _T("ASP"),
  49. g_ComponentList[ COMPONENT_IIS_WWW_ASP ].dwProductName,
  50. g_ComponentList[ COMPONENT_IIS_WWW_ASP ].szComponentName,
  51. FALSE,
  52. FALSE,
  53. { _T(".asp"),
  54. _T(".asa"),
  55. _T(".cer"),
  56. _T(".cdx"),
  57. NULL
  58. }
  59. },
  60. { _T("httpodbc.dll"),
  61. _T("HTTPODBC"),
  62. g_ComponentList[ COMPONENT_IIS_WWW_HTTPODBC ].dwProductName,
  63. g_ComponentList[ COMPONENT_IIS_WWW_HTTPODBC ].szComponentName,
  64. FALSE,
  65. FALSE,
  66. { _T(".idc"),
  67. NULL
  68. }
  69. },
  70. { _T("ssinc.dll"),
  71. _T("SSINC"),
  72. g_ComponentList[ COMPONENT_IIS_WWW_SSINC ].dwProductName,
  73. g_ComponentList[ COMPONENT_IIS_WWW_SSINC ].szComponentName,
  74. FALSE,
  75. FALSE,
  76. { _T(".stm"),
  77. _T(".shtm"),
  78. _T(".shtml"),
  79. NULL
  80. }
  81. },
  82. { _T("httpext.dll"),
  83. _T("WEBDAV"),
  84. g_ComponentList[ COMPONENT_IIS_WWW_WEBDAV ].dwProductName,
  85. g_ComponentList[ COMPONENT_IIS_WWW_WEBDAV ].szComponentName,
  86. FALSE,
  87. FALSE,
  88. { NULL
  89. }
  90. }
  91. };
  92. //
  93. // This is the structure that OCM give us
  94. //
  95. SETUP_INIT_COMPONENT g_OCMInfo;