I am having trouble getting an install condition based on land ID to work… I have consulted the WIX doc’s and my implementation seems to be correct but since it’s not working I am missing something.

 

We are building a Multilanguage MSI for a small product and we wish to only allow install on the language of the MSI AND English but not a different language.

 

For example a Korean (KOR) MSI should be able to install on a Korean language OS and an English (ENU) language OS but not a German(DEU) language OS. At the same time, a DEU MSI should install on English and German (DEU) but not on a Korean (KOR ) OS ,etc… you get the idea.

 

My condition statement is formatted like this:

 

<Condition Message="You cannot install this version of because it is not compatible with your language version of Windows. Obtain the language version that matches the language version of Windows running on this PC."><![CDATA[SystemDefaultUILanguage = $(var.LCID)OR SystemDefaultUILanguage <> 1033]]></Condition>

 

 

Var.LCID is passed in as the build language and 1033 is of course English. What we are seeing is that the MSI’s can install everywhere.

 

Thanks for help,

Jeff

 

 

 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to