One of the following may be an option.

If you place your MSMs in directories named after their LCID:

<Merge ... Language="!(loc.LANG)"
SourceFile="MyMsms\!(loc.LANG)\MyLocalized.msm"/>

Otherwise, make sure you have a "Culture" string in your WXL files, set to
the same value as the "Culture" attribute of the WixLocalization element,
and do this:

<Merge ... Language="!(loc.LANG)"
SourceFile="MyMsms\!(loc.Culture)\MyLocalized.msm"/>

Adjust the file path(s) as needed.

-----Original Message-----
From: sagar shinde [mailto:sagar.i...@gmail.com] 
Sent: Thursday, October 21, 2010 12:01 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] if condition

hi,
thanks for reply.Is there any other way that i can select path for file
depending on localized languages

On Thu, Oct 21, 2010 at 12:14 PM, Blair <os...@live.com> wrote:

> Preprocessor commands/expressions are evaluated while the source xml is
> parsed, using compile-time variables. Link/bind-time variables are not
> known
> at that time and can't be evaluated by the preprocessor. The <?if?>
> processing statement is not preserved for the linker, and thus cannot be
> used to select authoring in the way you are attempting.
>
> -----Original Message-----
> From: sagar shinde [mailto:sagar.i...@gmail.com]
> Sent: Wednesday, October 20, 2010 11:05 PM
> To: WiX-users@lists.sourceforge.net
> Subject: [WiX-users] if condition
>
> Hi,
>
> i am new wix user and m getting one error while using this if conditon
> statement
>
> <?if !(loc.LANG)=1033?>
>
> is it a wright syntax
>
> m getting error like
> Error 1 The parenthesis don't match in the expression '!(loc.LANG) =
1033'.
>
>
----------------------------------------------------------------------------
> --
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
----------------------------------------------------------------------------
--
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
----------------------------------------------------------------------------
--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to