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.

167 lines
4.2 KiB

  1. /**
  2. * Version strings for the project binaries
  3. *
  4. * Copyright (c) 2001 Microsoft Corporation
  5. */
  6. // Standard version includes
  7. #pragma once
  8. #include <winver.h>
  9. #include <ntverp.h>
  10. //
  11. // Version
  12. //
  13. // Version numbers can be assigned in newbuild.cmd
  14. //
  15. #ifndef FUS_VER_MAJORVERSION
  16. #define FUS_VER_MAJORVERSION 1
  17. #endif
  18. #ifndef FUS_VER_MINORVERSION
  19. #define FUS_VER_MINORVERSION 0
  20. #endif
  21. #ifndef FUS_VER_PRODUCTBUILD
  22. #define FUS_VER_PRODUCTBUILD 1218
  23. #endif
  24. #ifndef FUS_VER_PRODUCTBUILD_QFE
  25. #define FUS_VER_PRODUCTBUILD_QFE 0
  26. #endif
  27. //
  28. // Allow a component to override values in individual rc files
  29. // by checking if these are already defined
  30. //
  31. #ifndef FUS_VER_PRODUCTNAME_STR
  32. #define FUS_VER_PRODUCTNAME_STR "Microsoft� Application Deployment Framework"
  33. #endif
  34. #ifndef FUS_VER_INTERNALNAME_STR
  35. #define FUS_VER_INTERNALNAME_STR "CLICKONCE"
  36. #endif
  37. // the followings are defined in individual RC files:
  38. // FUS_VER_ORIGINALFILENAME_STR
  39. // FUS_VER_FILEDESCRIPTION_STR
  40. //
  41. // Don't edit the remainder of this file to change version values.
  42. // Edit above instead.
  43. //
  44. //#if FUSBLDTYPE_FREE
  45. //#define FUS_BLDTYPE_STR "Free"
  46. //#elif FUSBLDTYPE_ICECAP
  47. //#define FUS_BLDTYPE_STR "Icecap"
  48. //#elif FUSBLDTYPE_RETAIL
  49. //#define FUS_BLDTYPE_STR "Retail"
  50. //#else //FUSBLDTYPE_DEBUG
  51. //#define FUS_BLDTYPE_STR "Debug"
  52. //#endif
  53. #if DBG
  54. #define FUS_BLDTYPE_STR "Debug"
  55. #else
  56. #define FUS_BLDTYPE_STR "Retail"
  57. #endif
  58. //
  59. // undefine these values as some are defined in sdk\inc\ntverp.h
  60. //
  61. #ifdef VER_MAJORVERSION
  62. #undef VER_MAJORVERSION
  63. #endif
  64. #ifdef VER_MINORVERSION
  65. #undef VER_MINORVERSION
  66. #endif
  67. #ifdef VER_PRODUCTBUILD
  68. #undef VER_PRODUCTBUILD
  69. #endif
  70. #ifdef VER_PRODUCTBUILD_QFE
  71. #undef VER_PRODUCTBUILD_QFE
  72. #endif
  73. #ifdef VER_PRODUCTNAME_STR
  74. #undef VER_PRODUCTNAME_STR
  75. #endif
  76. #ifdef VER_INTERNALNAME_STR
  77. #undef VER_INTERNALNAME_STR
  78. #endif
  79. #ifdef VER_ORIGINALFILENAME_STR
  80. #undef VER_ORIGINALFILENAME_STR
  81. #endif
  82. #ifdef VER_FILEDESCRIPTION_STR
  83. #undef VER_FILEDESCRIPTION_STR
  84. #endif
  85. #ifdef VER_PRODUCTVERSION_STR
  86. #undef VER_PRODUCTVERSION_STR
  87. #endif
  88. #ifdef VER_PRODUCTVERSION
  89. #undef VER_PRODUCTVERSION
  90. #endif
  91. #ifdef VER_FILEVERSION_STR
  92. #undef VER_FILEVERSION_STR
  93. #endif
  94. #ifdef VER_FILEVERSION
  95. #undef VER_FILEVERSION
  96. #endif
  97. #ifdef VER_FILETYPE
  98. #undef VER_FILETYPE
  99. #endif
  100. #ifdef VER_FILESUBTYPE
  101. #undef VER_FILESUBTYPE
  102. #endif
  103. #define VER_MAJORVERSION FUS_VER_MAJORVERSION
  104. #define VER_MINORVERSION FUS_VER_MINORVERSION
  105. #define VER_PRODUCTBUILD FUS_VER_PRODUCTBUILD
  106. #define VER_PRODUCTBUILD_QFE FUS_VER_PRODUCTBUILD_QFE
  107. #define VER_PRODUCTNAME_STR FUS_VER_PRODUCTNAME_STR
  108. #define VER_INTERNALNAME_STR FUS_VER_INTERNALNAME_STR
  109. #define VER_ORIGINALFILENAME_STR FUS_VER_ORIGINALFILENAME_STR
  110. #define VER_FILEDESCRIPTION_STR FUS_VER_FILEDESCRIPTION_STR
  111. #define CONCAT5HELPER(a, b, c, d, e) #a "." #b "." #c "." #d " " e
  112. #define CONCAT5(a, b, c, d, e) CONCAT5HELPER(a, b, c, d, e)
  113. #define CONCAT5HELPER_L(a, b, c, d, e) L ## #a L"." L ## #b L"." L ## #c L"." L ## #d L" " L ## e
  114. #define CONCAT5_L(a, b, c, d, e) CONCAT5HELPER_L(a, b, c, d, e)
  115. #define VER_PRODUCTVERSION_STR CONCAT5(VER_MAJORVERSION, VER_MINORVERSION, VER_PRODUCTBUILD, VER_PRODUCTBUILD_QFE, FUS_BLDTYPE_STR)
  116. #define VER_PRODUCTVERSION_STR_L CONCAT5_L(VER_MAJORVERSION, VER_MINORVERSION, VER_PRODUCTBUILD, VER_PRODUCTBUILD_QFE, FUS_BLDTYPE_STR)
  117. #define VER_PRODUCTVERSION VER_MAJORVERSION,VER_MINORVERSION,VER_PRODUCTBUILD,VER_PRODUCTBUILD_QFE
  118. #define VER_FILEVERSION_STR CONCAT5(VER_MAJORVERSION, VER_MINORVERSION, VER_PRODUCTBUILD, VER_PRODUCTBUILD_QFE, FUS_BLDTYPE_STR)
  119. #define VER_FILEVERSION_STR_L CONCAT5_L(VER_MAJORVERSION, VER_MINORVERSION, VER_PRODUCTBUILD, VER_PRODUCTBUILD_QFE, FUS_BLDTYPE_STR)
  120. #define VER_FILEVERSION VER_MAJORVERSION,VER_MINORVERSION,VER_PRODUCTBUILD,VER_PRODUCTBUILD_QFE
  121. #define VER_FILETYPE VFT_DLL
  122. #define VER_FILESUBTYPE VFT2_UNKNOWN
  123. //#define VER_FILESUBTYPE VFT_UNKNOWN
  124. // Standard NT build defines
  125. #include <common.ver>