Bug #113545 Missing fields in versioninfo ressources for "myodbc-installer.exe"
Submitted: 3 Jan 2024 14:24 Modified: 3 Jan 2024 15:36
Reporter: Stéphane DELGADO Email Updates:
Status: Verified Impact on me:
None 
Category:Connector / ODBC Severity:S3 (Non-critical)
Version:8.2.0 OS:Windows
Assigned to: CPU Architecture:Any
Tags: versioning, windows

[3 Jan 2024 14:24] Stéphane DELGADO
Description:
VersionInfo ressources are missing in "myodbc-installer.exe" PE images.

These ressources are necessary to distinguish "myodbc-installer.exe" from other PE images.

How to repeat:
By command line (PowerShell) :
> ls bin/myodbc-installer.exe | % VersionInfo | fl *

Graphically :
Click-right then "Properties" on "myodbc-installer.exe". You should see the related fields in the "Details" tab.

Suggested fix:
Add a VersionInfo ressource file for "myodbc-installer.exe". This one can be the same as "driver/driver.rc.cmake" but with the following fields changed accordingly to the image :
- Comments
- InternalName
- OriginalFilename

The ressource file should be added in compilation source files of "myodbc-installer.exe" (probably in "ADD_EXECUTABLE()" macro of "installer/CMakeLists.txt").

Note : Similar steps are done in "driver/CMakeLists.txt" to add "driver/driver.rc.cmake" ressource file in "myodbc8*.dll" drivers.
 
Source : https://learn.microsoft.com/en-us/windows/win32/menurc/versioninfo-resource
[3 Jan 2024 15:36] MySQL Verification Team
Hello Stéphane DELGADO,

Thank you for the report and feedback.

regards,
Umesh