Thank you very much for explanation. Looking forward for your solution.

-----Original Message-----
From: Blair [mailto:os...@live.com] 
Sent: Friday, February 19, 2010 1:10 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] How to determine current culture in WiX
preprocessor

The culture (as it comes from the .wixproj file) is currently used in
linking and binding, not compiling. It is possible construct the build
system such that you compile just one time and then link for each culture.
As a result, the preprocessor doesn't necessarily ever have a way to know
what culture(s) will eventually be built.

What you need is a way to reference (component groups, perhaps) to include
(or not) fragments in a culture-specific way. Let me think about this, I'm
sure we can come up with a way.

The way I solved this at a previous position I was in won't apply here,
because they didn't use MSBuild/wix.targets to build their MSIs, so they
were able to run candle once per-culture.

-----Original Message-----
From: Oleksandr Y. Nechyporenko [mailto:alexnc69...@gmail.com] 
Sent: Thursday, February 18, 2010 10:21 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to determine current culture in WiX preprocessor

Hi All,

 

Is it possible to determine the culture using preprocessors directives?

 

I.e. I can specify in the Project Properties -> Build -> Cultures to Build
several cultures. For example "en-US;uk-UA". After that I will receive 2
MSIs after the build. But I want to include some specific components to
first MSI for en-US and some specific components to second MSI for uk-UA.
The easiest way to do it is to use preprocessor directives. But I can't
understand, how I can check for which culture the current build is preformed
using <?if ?> operation.

 

Thanks.

 

----------------------------------------------------------------------------
--
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


----------------------------------------------------------------------------
--
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to