[RFC PATCH 2/2] vulkan-1: Set FILEVERSION to fix official Vulkan loader installer.

Liam Middlebrook lmiddlebrook at nvidia.com
Sat Mar 14 16:58:06 CDT 2020


I had some trouble finding the logic in the VulkanLoader repository for 
checking the DLL's FILEVERSION. As it turns out, the Vulkan Runtime 
Installer for Windows lives here:
	https://github.com/KhronosGroup/Vulkan-Tools/blob/master/windows-runtime-installer/InstallerRT.nsi#L52


Signed-off-by: Liam Middlebrook <lmiddlebrook at nvidia.com>


Thanks,

Liam Middlebrook

On 3/13/20 10:10 AM, Brendan Shanks wrote:
> Red Dead Redemption 2 requires and installs the official Vulkan loader,
> but the installer requires vulkan-1.dll's FILEVERSION to be lower than what
> it's installing.
> 
> Signed-off-by: Brendan Shanks <bshanks at codeweavers.com>
> ---
>   dlls/vulkan-1/version.rc | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/dlls/vulkan-1/version.rc b/dlls/vulkan-1/version.rc
> index ec75462ddf..93cf661525 100644
> --- a/dlls/vulkan-1/version.rc
> +++ b/dlls/vulkan-1/version.rc
> @@ -20,6 +20,7 @@
>   
>   #define WINE_FILEDESCRIPTION_STR "Wine Vulkan Loader"
>   #define WINE_FILENAME_STR "vulkan-1.dll"
> +#define WINE_FILEVERSION 1,0,0,0 /* Set to 1.0.0 so the official Vulkan runtime installer will replace this file */
>   #define WINE_FILEVERSION_STR PACKAGE_VERSION
>   #define WINE_PRODUCTVERSION_STR PACKAGE_VERSION
>   #define WINE_PRODUCTNAME_STR "Wine Vulkan"
> 

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------



More information about the wine-devel mailing list