Thanks a lot, Blair. That helps. - Miaohsi

-----Original Message-----
From: Blair Murri [mailto:os...@live.com] 
Sent: Tuesday, July 09, 2013 6:04 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WiX 3.6: How do I consolidate languages?

Not certain (is that the system's language, the user's selected language, or 
the threads current language setting?) since it has been a long time since I've 
used InstallShield's scripting but if it is the system's then start with this 
page: 
http://msdn.microsoft.com/library/system.globalization.cultureinfo.installeduiculture.aspx
 
> From: miaohsi.w...@invensys.com
> To: wix-users@lists.sourceforge.net
> Date: Tue, 9 Jul 2013 17:32:35 -0400
> Subject: [WiX-users] WiX 3.6: How do I consolidate languages?
> 
> Dear all,
> 
> I am converting an InstallShield project to WiX 3.6. The script below is 
> executed in the InstallShield installer and I am having the problem of 
> duplicating this in my C# WiX custom action. One WiX property related to this 
> issue that I found from googling is SystemLanguageID, and that's about it. 
> Any idea will be appreciated.
> 
> Thanks a lot,
> Miaohsi
> 
>   LangCode = ID_ENGLISH;
>   if (GetSystemInfo(LANGUAGE, nvResult, svResult) = 0) then
>     NumToStr(LangCode, nvResult);
> 
>     if (LangCode = ID_FRENCH_BELGIUM) || (LangCode = ID_FRENCH_CANADA) || 
> (LangCode = ID_FRENCH_SWISS) || (LangCode = ID_FRENCH_LUXEMBOURG) || 
> (LangCode = ID_FRENCH_MONACO) || (LangCode = ID_FRENCH_WESTINDIES) then
>       LangCode = ID_FRENCH;
>     endif;
> 
> 
> *** Confidentiality Notice: This e-mail, including any associated or attached 
> files, is intended solely for the individual or entity to which it is 
> addressed. This e-mail is confidential and may well also be legally 
> privileged. If you have received it in error, you are on notice of its 
> status. Please notify the sender immediately by reply e-mail and then delete 
> this message from your system. Please do not copy it or use it for any 
> purposes, or disclose its contents to any other person. This email comes from 
> a division of the Invensys Group, owned by Invensys plc, which is a company 
> registered in England and Wales with its registered office at 3rd Floor, 40 
> Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of 
> European legal entities within the Invensys Group, please select the Legal 
> Entities link at invensys.com.
> 
> 
> You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
> recept...@invensys.com. This e-mail and any attachments thereto may be 
> subject to the terms of any agreements between Invensys (and/or its 
> subsidiaries and affiliates) and the recipient (and/or its subsidiaries and 
> affiliates).
> 
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
                                          
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 
7AW (Registered number 166023). For a list of European legal entities within 
the Invensys Group, please select the Legal Entities link at invensys.com.


You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@invensys.com. This e-mail and any attachments thereto may be subject 
to the terms of any agreements between Invensys (and/or its subsidiaries and 
affiliates) and the recipient (and/or its subsidiaries and affiliates).



------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to