[PATCH] Version info for comctl32.dll

lawson_whitney at juno.com lawson_whitney at juno.com
Sat Mar 17 14:50:51 CST 2001



On Sat, 17 Mar 2001, Dmitry Timoshkov wrote:

>
> I'm sorry, I didn't focus you on the subject that FILEVERSION and PRODUCTVERSION
> are distinctly different things? How about to experiment with different WINE_FILEVERSION
> and PRODUCTVERSION (WINE_FILEVERSION_STR and WINE_PRODUCRVERSION_STR) numbers?
>
> Sorry, if it is not the same as you expected from me...
>
With wine_common_ver.rc changed as attached, and
dlls/oleaut32/version.rc

#define WINE_FILEVERSION 10,0,0,0
#define WINE_FILEVERSION_STR "10.0"
#define WINE_PRODUCTVERSION 10,1,0,0
#define WINE_PRODUCTVERSION_STR "10.0"
#define WINE_FILEDESCRIPTION_STR "Wine OLE dll"
#define WINE_FILENAME_STR "oleaut32.dll"

#include "wine/wine_common_ver.rc"

Tha app still works, and I can't see that it matters to About.exe
either.

Is that what you meant?

Regards,

Lawson
---cut here
-------------- next part --------------
diff -urN was/include/wine/wine_common_ver.rc is/include/wine/wine_common_ver.rc
--- was/include/wine/wine_common_ver.rc	Mon Mar  5 23:47:12 2001
+++ is/include/wine/wine_common_ver.rc	Sat Mar 17 15:37:59 2001
@@ -8,6 +8,14 @@
 #define WINE_FILEVERSION_STR "1.0"
 #endif
 
+#ifndef WINE_PRODUCTVERSION
+#define WINE_PRODUCTVERSION 1,0,0,0
+#endif
+
+#ifndef WINE_PRODUCTVERSION_STR
+#define WINE_PRODUCTVERSION_STR "1.0"
+#endif
+
 #ifndef WINE_FILEDESCRIPTION_STR
 #define WINE_FILEDESCRIPTION_STR "Wine core dll"
 #endif
@@ -18,7 +26,7 @@
 
 VS_VERSION_INFO VERSIONINFO
 FILEVERSION    WINE_FILEVERSION
-PRODUCTVERSION 1,0,0,0
+PRODUCTVERSION WINE_PRODUCTVERSION
 FILEFLAGSMASK  0
 FILEFLAGS      0
 FILEOS         VOS_UNKNOWN
@@ -37,7 +45,7 @@
 				    "(see the file AUTHORS for a complete list)"
 	    VALUE "OriginalFilename", WINE_FILENAME_STR
 	    VALUE "ProductName", "Wine"
-	    VALUE "ProductVersion", "1.0"
+	    VALUE "ProductVersion", WINE_PRODUCTVERSION_STR
 	}
     }
     BLOCK "VarFileInfo"


More information about the wine-devel mailing list