cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
oferdi
Level 2

LANG_SUPPORTED not recognized

Hi,
I'm using an Installscript project and I am trying to use the LANG_SUPPORTED constant of which the documentation says the following:

Is ( nIsFlag, szIsData );

LANG_SUPPORTED—(InstallScript and InstallScript MSI projects) Does the installation support the language that is specified in szIsData?


But the LANG_SUPPORTED constant is not recognized by the compiler 😞

However in the "Is.h" header I've eventually found:
#define LANGUAGE_SUPPORTED 19

Just to inform anyone who is getting as angry as I am getting with such problems!
Regards
Labels (1)
0 Kudos
(2) Replies
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

The constant appears to be incorrectly documented in the Is function doc. The constant should actually be LANGUAGE_SUPPORTED. I've submitted work order IOC-000073813 to correct this in a future release.
0 Kudos
oferdi
Level 2

Well having found the correct constant name I've tried to use it.
The documentation is utterly poor without giving an example how to specify the language ID.

Since this has to be a string the question is: which one?
- has it to be the hex value, e.g.: "0x0009" (as it appears in the setup.ini)
- or has it to be decimal, e.g.: "1031"
- or anything else?

Being used to do reverse engineering with Installshield, I've tried some variants -
but none produced a correct result.

Since the function only checks the setup.ini for the language ID, I finally found it easier to
write my own function for the task 😞
0 Kudos