Re: [WiX-users] Operating System language detection

2007-10-23 Thread Gareth at Serif

Have you tried looking at the SystemLanguageID property?

I was hoping to find a nice simple regkey to look for rather than having to
compose a new DLL function.
-- 
View this message in context: 
http://www.nabble.com/Operating-System-language-detection-tf4671232.html#a13359979
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Operating System language detection

2007-10-23 Thread Richard

In article [EMAIL PROTECTED],
Gareth at Serif [EMAIL PROTECTED]  writes:

 
 Have you tried looking at the SystemLanguageID property?
 
 I was hoping to find a nice simple regkey to look for rather than having to
 compose a new DLL function.

Huh?  SystemLanguageID is a standard Windows Installer property.  It
has nothing to do with DLLs.
-- 
The Direct3D Graphics Pipeline -- DirectX 9 draft available for download
  http://www.xmission.com/~legalize/book/download/index.html

Legalize Adulthood! http://blogs.xmission.com/legalize/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Operating System language detection

2007-10-22 Thread Richard

In article [EMAIL PROTECTED],
Gareth at Serif [EMAIL PROTECTED]  writes:

 Does anyone know hoe to determin the language of the operating system?

Have you tried looking at the SystemLanguageID property?  It is
determined by calling GetSystemDefaultLangID.
-- 
The Direct3D Graphics Pipeline -- DirectX 9 draft available for download
  http://www.xmission.com/~legalize/book/download/index.html

Legalize Adulthood! http://blogs.xmission.com/legalize/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Operating System language detection

2007-10-22 Thread Mike Dimmick
GetSystemDefaultUILanguage, I think.

-- 
Mike Dimmick

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gareth at
Serif
Sent: 22 October 2007 17:15
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Operating System language detection


Does anyone know hoe to determin the language of the operating system?

I'm aware that the MSI Engine stores the locale, which you can configure in
the control panel.  However, there must be something deeper as some of
Microsoft's KB updates (xmllite  WIC, for example) seem to fail if the OS
is of the wrong language above and beyoond the user configurable options
within the Control Panel.

So, what might these packages be detecting?  I've tried using regmon to
determin any locale ID's being read somewhere that I'm not familiar with,
but so far no joy.

Any recommendations are welcom.

Thanks,
Gareth
-- 
View this message in context:
http://www.nabble.com/Operating-System-language-detection-tf4671232.html#a13
344584
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Operating System language detection

2007-10-22 Thread Richard

In article [EMAIL PROTECTED],
Mike Dimmick [EMAIL PROTECTED]  writes:

 GetSystemDefaultUILanguage, I think.

Hmm!  I wonder how that is different from GetSystemDefaultLangID and
when they would return different values?
-- 
The Direct3D Graphics Pipeline -- DirectX 9 draft available for download
  http://www.xmission.com/~legalize/book/download/index.html

Legalize Adulthood! http://blogs.xmission.com/legalize/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Operating System language detection

2007-10-22 Thread Mike Dimmick
The latest documentation I'm using - which accompanied VS2005 (must update
this...) says that for GetSystemDefaultLangID, [t]he return value is the
language identifier of the system locale. Which I think means it's the
result of using the LANGIDFROMLCID macro on the return value of
GetSystemDefaultLCID.

That value is the system default locale identifier, which can be changed by
the user on the Advanced tab of Regional and Language Options (in Windows XP
and Server 2003), where it is called 'Language for non-Unicode programs'.

See for example http://blogs.msdn.com/michkap/archive/2005/03/25/402313.aspx
for what GetSystemDefaultUILanguage is, and
http://blogs.msdn.com/michkap/archive/2005/04/08/406413.aspx for what all
the other 'defaults' are. And see also
http://www.microsoft.com/globaldev/reference/localetable.mspx for all the
meanings of 'locale'.

Anyone serious about international coding should be reading Michael Kaplan's
blog.

-- 
Mike Dimmick

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard
Sent: 22 October 2007 22:27
To: WiX Users
Subject: Re: [WiX-users] Operating System language detection


In article [EMAIL PROTECTED],
Mike Dimmick [EMAIL PROTECTED]  writes:

 GetSystemDefaultUILanguage, I think.

Hmm!  I wonder how that is different from GetSystemDefaultLangID and
when they would return different values?
-- 
The Direct3D Graphics Pipeline -- DirectX 9 draft available for download
  http://www.xmission.com/~legalize/book/download/index.html

Legalize Adulthood! http://blogs.xmission.com/legalize/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users