Using a Win32 Version Info property set to set the version info of a Delphi Win32 project. The FileVersion property value does not get entered in the exe’s version info ‘File Version’ field; it is always ‘0.0.0.0’. All other property values are entered ok. If the property set isn’t used, the module version number (set manually) does get entered in the ‘File Version’ field.Using FB 5.0.0.60.
The problem appears to be that you must assign MajorVersion, MinorVersion etc values to the property set to have a File Version entry other than 0.0.0.0. Assigning a variable to the FileVersion property seems to do nothing. A bit confusing. I just want to set a variable with a value such as ‘5.0.7.0’ to the FileVersion property and have it entered in the File Version fields of the version data.
Is this a bug or as designed?
Hi Andrew
I would think that this is as designed. The File Version field is usually linked to those properties anyway. I’m on vacation so I’m not able to look a the code. If you are concerned by this behaviour email support and they will check it out when the office re-opens on the 2nd.