diff --git a/include/wine/wine_common_ver.rc b/include/wine/wine_common_ver.rc index 56e9d64558..4a151c78f1 100644 --- a/include/wine/wine_common_ver.rc +++ b/include/wine/wine_common_ver.rc @@ -42,6 +42,10 @@ never complain. #define WINE_FILENAME_STR "" #endif +#ifndef WINE_FILETYPE +#define WINE_FILETYPE VFT_DLL +#endif + #ifndef WINE_PRODUCTVERSION #define WINE_PRODUCTVERSION 1,0,0,0 #endif @@ -60,7 +64,7 @@ PRODUCTVERSION WINE_PRODUCTVERSION FILEFLAGSMASK 0 FILEFLAGS 0 FILEOS VOS_UNKNOWN -FILETYPE VFT_DLL +FILETYPE WINE_FILETYPE FILESUBTYPE VFT2_UNKNOWN { BLOCK "StringFileInfo" diff --git a/programs/regsvr32/regsvr32.rc b/programs/regsvr32/regsvr32.rc index 3a2f1ea5f6..dd53122ffc 100644 --- a/programs/regsvr32/regsvr32.rc +++ b/programs/regsvr32/regsvr32.rc @@ -15,39 +15,15 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * FIXME: not sure about values of FILEFLAGSMASK, FILEOS, Translation */ -#include "windef.h" -#include "winbase.h" -#include "winver.h" +#define WINE_FILEDESCRIPTION_STR "Wine Register Server" +#define WINE_FILENAME_STR "REGSVR32" +#define WINE_FILETYPE VFT_APP +#define WINE_FILEVERSION 5,0,1586,1 +#define WINE_FILEVERSION_STR "5.0.1586.1" -LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL +#define WINE_PRODUCTVERSION 5,0,1586,1 +#define WINE_PRODUCTVERSION_STR "5.0" -1 VERSIONINFO -FILEVERSION 5, 0, 1586, 1 -PRODUCTVERSION 5, 0, 1586, 1 -FILEFLAGSMASK VS_FFI_FILEFLAGSMASK -FILEOS VOS_DOS_WINDOWS32 -FILETYPE VFT_APP -{ - BLOCK "StringFileInfo" - { - BLOCK "040904B0" - { - VALUE "CompanyName", "Wine Developer Team" - VALUE "FileDescription", "Wine Register Server" - VALUE "FileVersion", "0.01" - VALUE "InternalName", "REGSVR32" - VALUE "LegalCopyright", "Copyright (c) 2003 the Wine project authors" - VALUE "OriginalFilename", "REGSVR32.EXE" - VALUE "ProductName", "Wine" - VALUE "ProductVersion", "1.00" - } - } - BLOCK "VarFileInfo" - { - VALUE "Translation", 1030, 1200 - } -} +#include "wine/wine_common_ver.rc"