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.

156 lines
5.7 KiB

  1. ; Dependency file for setup wizards.
  2. // This include file is included at the beginning of every .dep template
  3. // file (.tpl). Remember that the customers will see anything that is
  4. // not commented out using C++ or C-style comments.
  5. //
  6. // Include version information from dwinvers.h
  7. #include "dwinvers.h"
  8. //
  9. // Define a version string
  10. #define MAKEVERSION(aa,bb,cc,dd) aa.bb.cc.dd
  11. //
  12. // Default version string
  13. #define VERSION MAKEVERSION(vusMajorVer,vusMinorVer,vusVersNumf2,vusVersNuml2)
  14. // declare language ID's
  15. //
  16. //
  17. // Note: for most of these, we use the primary language ID,
  18. // : and NOT the full language ID (the exceptions being
  19. // : CHT/CHS).
  20. //
  21. #define ID_ENGLISH 0009
  22. #define ID_GERMAN 0007
  23. #define ID_FRENCH 000C
  24. #define ID_ITALIAN 0010
  25. #define ID_SPANISH 000A
  26. #define ID_JAPANESE 0011
  27. #define ID_KOREAN 0012
  28. #define ID_CHT 0404
  29. #define ID_CHS 0804
  30. // locale abbreviations
  31. //
  32. //
  33. // The following are the standard localized DLL names:
  34. //
  35. // English: EN
  36. // German: DE
  37. // French: FR
  38. // Italian: IT
  39. // Spanish: ES
  40. // Japanese: JP
  41. // Korean: KO
  42. // Chinese Traditional: CHT
  43. // Chinese Simplified: CHS
  44. // ***************************************************************************
  45. // Standard Internet keys
  46. // ***************************************************************************
  47. #define INTERNET_VB5(a) \
  48. CABFileName=a ## .cab {NEWL} \
  49. CABDefaultURL=http:{DOUBLESLASH}activex.microsoft.com/controls/vb5 {NEWL} \
  50. CABINFFile=a ## .inf
  51. #define INTERNET(a) \
  52. CABFileName=a ## .cab {NEWL} \
  53. CABDefaultURL=http:{DOUBLESLASH}activex.microsoft.com/controls/vb6 {NEWL} \
  54. CABINFFile=a ## .inf
  55. // ***************************************************************************
  56. // Defines a single language DLL section. Use this only
  57. // if your component has only a single satellite DLL.
  58. // ***************************************************************************
  59. #define SATELLITE_1(basename, baselocname, langabbrev, langid, langfullname) \
  60. ; ** langfullname (langabbrev) *** {NEWL} \
  61. ; (langid = langfullname) {NEWL} \
  62. ; {NEWL} \
  63. [basename <langid>] {NEWL} \
  64. Uses1=baselocname ## langabbrev ## .dll {NEWL} \
  65. Uses2= {NEWL} \
  66. {NEWL} \
  67. [baselocname ## langabbrev ## .dll <langid>] {NEWL} \
  68. Uses1= {NEWL} \
  69. INTERNET(baselocname ## langabbrev) {NEWL}
  70. // ***************************************************************************
  71. // Defines all language satellite DLL sections. Use this only
  72. // if your component has only a single satellite DLL.
  73. // ***************************************************************************
  74. #define SATELLITE_DLLS(component, baselocname) \
  75. SATELLITE_1(component, baselocname, DE, ID_GERMAN, German) {NEWL} \
  76. SATELLITE_1(component, baselocname, FR, ID_FRENCH, French) {NEWL} \
  77. SATELLITE_1(component, baselocname, IT, ID_ITALIAN, Italian) {NEWL} \
  78. SATELLITE_1(component, baselocname, ES, ID_SPANISH, Spanish) {NEWL} \
  79. SATELLITE_1(component, baselocname, JP, ID_JAPANESE, Japanese) {NEWL} \
  80. SATELLITE_1(component, baselocname, KO, ID_KOREAN, Korean) {NEWL} \
  81. SATELLITE_1(component, baselocname, CHT, ID_CHT, Chinese Traditional) {NEWL} \
  82. SATELLITE_1(component, baselocname, CHS, ID_CHS, Chinese Simplified) {NEWL}
  83. // ***************************************************************************
  84. // Standard section for ComCat.dll
  85. // ***************************************************************************
  86. #define STD_COMCAT_SECTION \
  87. /* BUG #5-28738,stephwe,11/96: Include ComCat.dll as a dependence {NEWL} \
  88. of all our shipped ctls */ {NEWL} \
  89. {NEWL} \
  90. /* Note that we are *not* including this file in any of the cab files {NEWL} \
  91. because IE3.0 can't download it if in use, which it will be */ {NEWL} \
  92. {NEWL} \
  93. /* NOTE: This section is repeated in vb6dep.ini. Please keep them in {NEWL} \
  94. sync. */ {NEWL} \
  95. {NEWL} \
  96. [ComCat.dll] {NEWL} \
  97. Dest=$(WinSysPathSysFile) {NEWL} \
  98. Register=$(DLLSelfRegister) {NEWL} \
  99. Uses1= {NEWL}
  100. // ***************************************************************************
  101. // The entire contents of a standard dependency file for a component
  102. // without any dependencies other than a localized DLL using the standard
  103. // language abbreviations, self-registerable, and going into windows\system
  104. // ***************************************************************************
  105. #define STD_DEP_FILE_ONLY_SATELLITE_DEPENDENCE(component, basename, baselocname) \
  106. ; Dependencies for component {NEWL} \
  107. {NEWL} \
  108. {NEWL} \
  109. ; Default Dependencies ---------------------------------------------- {NEWL} \
  110. {NEWL} \
  111. {NEWL} \
  112. [component] {NEWL} \
  113. Dest=$(WinSysPath) {NEWL} \
  114. Register=$(DLLSelfRegister) {NEWL} \
  115. Version=VERSION {NEWL} \
  116. Uses1=ComCat.dll/*BUG #5-28738,stephwe,11/96 */ {NEWL} \
  117. Uses2= {NEWL} \
  118. INTERNET(basename) {NEWL} \
  119. {NEWL} \
  120. STD_COMCAT_SECTION {NEWL} \
  121. {NEWL} \
  122. ; Localized Dependencies -------------------------------------------- {NEWL} \
  123. {NEWL} \
  124. {NEWL} \
  125. SATELLITE_DLLS(component, baselocname)
  126. // ***************************************************************************
  127. // VERSION INFORMATION!
  128. // This is the version for the .dep file *itself*. It goes at the top of every .dep file
  129. [Version]
  130. Version=VERSION