1 #define MY_VS_FFI_FILEFLAGSMASK 0x0000003FL
\r
2 #define MY_VOS_NT_WINDOWS32 0x00040004L
\r
3 #define MY_VOS_CE_WINDOWS32 0x00050004L
\r
5 #define MY_VFT_APP 0x00000001L
\r
6 #define MY_VFT_DLL 0x00000002L
\r
8 // #include <WinVer.h>
\r
11 #include "7zVersion.h"
\r
14 #define MY_VER MY_VER_MAJOR,MY_VER_MINOR,MY_VER_BUILD,0
\r
17 #define DBG_FL VS_FF_DEBUG
\r
22 #define MY_VERSION_INFO(fileType, descr, intName, origName) \
\r
25 FILEVERSION MY_VER \
\r
26 PRODUCTVERSION MY_VER \
\r
27 FILEFLAGSMASK MY_VS_FFI_FILEFLAGSMASK \
\r
29 FILEOS MY_VOS_NT_WINDOWS32 \
\r
33 BLOCK "StringFileInfo" \
\r
37 VALUE "CompanyName", "Igor Pavlov" \
\r
38 VALUE "FileDescription", descr \
\r
39 VALUE "FileVersion", MY_VERSION \
\r
40 VALUE "InternalName", intName \
\r
41 VALUE "LegalCopyright", MY_COPYRIGHT \
\r
42 VALUE "OriginalFilename", origName \
\r
43 VALUE "ProductName", "7-Zip" \
\r
44 VALUE "ProductVersion", MY_VERSION \
\r
47 BLOCK "VarFileInfo" \
\r
49 VALUE "Translation", 0x409, 1200 \
\r
53 #define MY_VERSION_INFO_APP(descr, intName) MY_VERSION_INFO(MY_VFT_APP, descr, intName, intName ".exe")
\r
55 #define MY_VERSION_INFO_DLL(descr, intName) MY_VERSION_INFO(MY_VFT_DLL, descr, intName, intName ".dll")
\r