See http://blogs.msdn.com/b/heaths/archive/2006/10/25/how-windows-installer-uses -languages.aspx for a really good analysis on how these two values are used. packa...@languages becomes the PID_TEMPLATE value that Heath mentions (defaults to the produ...@language value), while the produ...@language value becomes the ProductLanguage property (a required attribute).
-----Original Message----- From: Nick Ramirez [mailto:nickra...@hotmail.com] Sent: Sunday, June 06, 2010 11:25 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Languages attribute of Packages element Here's how I understand it: For an MSI package (unlike an MSM package) you only specify one LCID for the Package element's Languages attribute. If you omit it, it will be considered a language neutral package. This is stored in the Template Summary property of the MSI, which you can see by opening it with Orca and going to View -> Summary Information. The Package element is evaluated by the end user's computer to see what languages the MSI supports and to see if those languages are installed. If not, there'll be an error. Once it actually start to install the package, it uses the Language attribute from the Product element to display messages correctly. You might set the Product element's Language attribute to a WiX localization variable so that it can change depending upon the .wxl file being used. I usually omit the Package element's Languages attribute, or set it to "0". WenWu Ru wrote: > > The WiX documentation for the Languages attribute of the Packages element > says that it contains the list of language IDs (LCIDs) supported in the > package. > > If this attribute is not set, what is the default value? If it is set, > how is it related to the Language attribute of the Product element? How > to determine what languages a package supports? What windows installer > property does it map to? > > Thank you in advance for your insight! > -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Languages-attr ibute-of-Packages-element-tp5142009p5146209.html Sent from the wix-users mailing list archive at Nabble.com. ---------------------------------------------------------------------------- -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users