I realize that the language ID can identify a language down to the dialect
of a specific region, but I still don't think the language ID is the
appropriate property to check to determine location information. A user my
have set the language to American English but still be located in Japan.
Surely there is a way to get the region setting independent from the
language.
Scott
On 6/6/07, Rennie Petersen <[EMAIL PROTECTED]> wrote:
Well, the UserLanguageID doesn't just give you the language but also the
"locale". There's a difference between English in the USA, English in
Canada, English in the UK, etc.
http://www.microsoft.com/globaldev/reference/lcid-all.mspx
Here are some other system properties you can use if UserLanguageID isn't
the right one:
http://msdn2.microsoft.com/en-us/library/aa370905.aspx
http://msdn2.microsoft.com/en-us/library/aa372389.aspx
Rennie
------------------------------
*From:* Scott Palmer [mailto:[EMAIL PROTECTED]
*Sent:* 6. juni 2007 14:26
*To:* wix-users@lists.sourceforge.net
*Cc:* Rennie Petersen
*Subject:* Re: [WiX-users] Conditionally installing components based on
user'slocale
Thanks, but I need to know the country and I don't really care about the
language. I will have many systems where the language may be set to English
but I will need different values in the registry.
Scott
...previous msgs snipped ...
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users