I currently have two installs for my product.  One in English and one in
Japanese.  Most files are the same for both languages, but some files
are different.  

 

I was planning to use Wix include files (wxi) for the languages (one for
English, and one for Japanese).  I could then include the correct
components and files in the Japanese install and separate components and
files in the English install.

 

I'm currently using VS 2008 with Wix to build my project which can build
both the English and Japanese at the same time, but I'm trying to see
how I can use a preprocessor variable to perform the right include.

 

So my main .wxs file would have this at the top:

<?if $(var.Culture) = 'ja-JP' ?>

  <?include ProductJapanese.wxi ?>

<?endif ?>

 

Is that possible, or is there a much easier way to do this?  I don't see
any variables for the culture currently being built.

 

Thanks,

Mike Ballou

 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to