Not totally sure about my reverse Boolean logic skills this late at night,
but

NOT SystemLanguageID <> 1041

looks to me like this would be true always except when SystemLanguageID =
1041 (aka ja-JP, for those that don't want to look it up).

Also, this isn't your question, but it is something I noticed: with regards
to the English resources -- your Feature is set to a level of "1", and your
condition can change that to a level of "1", so what you have coded will do
this:

Install English always.
Install Japanese on all systems where the System language is NOT "ja-JP"
(ignoring the User language setting).

Double-check your conditions. Your approach should work.

-----Original Message-----
From: Andy.Kruger [mailto:appr...@gmail.com] 
Sent: Tuesday, February 09, 2010 9:47 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Language specific resources installation problem



I have a master MSI that is targeted for English and Japanese language.
Right now I have segregated the locale specific resources to two different
component groups and everything is embedded in a single MSI
I have made the following changes to the WiX code to conditionally install
based on the locale

 <Feature Id="Fileset_Common" Title="Common Fileset " Description="Common
fileset" Level="1">
        <ComponentGroupRef Id="Fileset_COMMON"/>
      </Feature>

      <Feature Id="Fileset_English" Title="English Fileset"
Description="English fileset" Level="1">
        <ComponentGroupRef Id="Fileset_ENGLISH"/>
        <Condition Level="1">
          <![CDATA[NOT (SystemLanguageID = 1041 AND UserLanguageID =
1041)]]>
        </Condition>
      </Feature>

      <Feature Id="Fileset_Japanese" Title="Japanese Fileset"
Description="Japanese fileset" Level="0">
        <ComponentGroupRef Id="Fileset_JAPANESE"/>
        <Condition Level="1">
          NOT SystemLanguageID &lt;&gt; 1041
        </Condition>
      </Feature>

This always install the Japanese resources.
What am i missing here??
Can't I do it this way?
Should I be using a custom action for this?
Should I be using 2 different MSIs for english and Japanese to achieve
this??



-----
Andy
MSI Developer
Schneider Electric:working:
-- 
View this message in context:
http://n2.nabble.com/Language-specific-resources-installation-problem-tp4546
135p4546135.html
Sent from the wix-users mailing list archive at Nabble.com.

----------------------------------------------------------------------------
--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to