It would be useful to have a support function to get version information strings (Comments, CompanyName, FileDescription, FileVersion, etc.) from a version resource in an executable.This can be useful in cases where (e.g.) the FileVersion (or ProductVersion) string is different (and more authoritative) than the file version (or product version) in the file's VS_FIXEDFILEINFO structure. For example: python.exe 3.14.6 has a VS_FIXEDFILEINFO structure that says the file is version 3.14.6150.1013, but the FileVersion string is "3.14.6" (which is actually what we want).
AFAIK this functionality is not currently available for files on the user's machine...
...although with effort you can use the WinAPI or a helper DLL to do this.
It would be useful to have a support function to get version information strings (Comments, CompanyName, FileDescription, FileVersion, etc.) from a version resource in an executable.
This can be useful in cases where (e.g.) the FileVersion (or ProductVersion) string is different (and more authoritative) than the file version (or product version) in the file's VS_FIXEDFILEINFO structure. For example: python.exe 3.14.6 has a VS_FIXEDFILEINFO structure that says the file is version 3.14.6150.1013, but the FileVersion string is "3.14.6" (which is actually what we want).
--
You received this message because you are subscribed to the Google Groups "innosetup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to innosetup+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/innosetup/b08cd258-ce48-49a6-95ca-dbb3a48c3cfen%40googlegroups.com.
What are you going to use the information for? You didn't explain that part.
--
You received this message because you are subscribed to the Google Groups "innosetup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to innosetup+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/innosetup/d3778d6a-d855-4558-8ef8-288fe004c98bn%40googlegroups.com.
I meant to ask, why is it useful? Just trying to understand what you need the version number for.