This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: LANG_SUPPORTED not recognized
Subscribe
- 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
‎Jul 22, 2008
05:32 AM
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
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
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 22, 2008
01:17 PM
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 23, 2008
05:48 AM
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 😞
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 😞
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)