cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ScottDonofrio
Level 4

Not able to get Product Name from non-English setup.exe

I have a setup.exe that is built that supports a single, non-English language, say German. I also have an external C++ application that I use to extract information from this setup.exe such as ProductName, FileVersion, etc. Using Win32 API functions GetFileVersionInfo and  VerQueryValue fails to return a value. The reason is because, viewing setup.exe in a resource editor, there is only a single, language neutral resource included. The value of Version info 1 : 0 -> VarFileInfo -> Translation does not match StringFileInfo -> BLOCK <see image below>. The function VerQueryValue is looking for StringFileInfo\040704B0 and fails because that doesn't exist.

Is there a way for the Installshield compiler to build a setup launcher with the correct language resource?

StringFileInfoIssue.jpg

Labels (2)
0 Kudos

(0) Replies