- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Not able to get Product Name from non-English setup.exe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
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?