I do something similar, based (partly) on the UserLanguageID property.
 
I have a registry value, Name=Language, that should contain the code
"en" for English or "da" for Danish. 
 
See here:
 
http://www.merlinia.com/mdt/WiXTutorial3.msl
 
In my MSI, the UserLanguageID property is only made use of if the UI is
invoked. (I query the property in the Welcome dialog box.) But it should
also be possible to make use of this property in MSIs irrespective of
whether the UI is invoked or not.
 
Rennie
 


________________________________

        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott
Palmer
        Sent: 6. juni 2007 04:08
        To: wix-users@lists.sourceforge.net
        Subject: [WiX-users] Conditionally installing components based
on user'slocale
        
        
        As part of my setup I would like to write certain registry
values depending on the country setting of the OS.  E.g. for North
American users I might set a registry value to 1, for European users the
value would be set to 2. 
        
        Is there an easy way to do this without writing a custom action?
        Failing that, is there a custom action that can be written
easily?
        
        
        Thanks,
        
        Scott
        
        

-------------------------------------------------------------------------
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

Reply via email to