Hi everybody, After reading the reply to another post, I switched variables like the product version to preprocessor variables, which is pretty much what I have been looking for (since I only localized the version to reuse the variable).
I'm still wondering though if I might have missed a reason why the product version cannot or should not be localized? Regards, Matthias -----Ursprüngliche Nachricht----- Von: Matthias Rainer [mailto:matthias.rai...@alumni.tuwien.ac.at] Gesendet: Donnerstag, 26. Februar 2009 00:45 An: wix-users@lists.sourceforge.net Betreff: [WiX-users] Localized Product Version Hi everybody, I'm trying to use a localized product version but I get this error running candle: package.wxs(20) : error CNDL0108 : The Product/@Version attribute's value, '!(loc.Version)', is not a valid version. Legal version values should look like 'x.x.x.x' where x is an integer from 0 to 65534. package.wxs(20) : error CNDL0010 : The Product/@Version attribute was not found; it is required. I'm using this line for the product version: Version="!(loc.Version)" Candle works fine if I pass the version as a parameter and use this line in the wxs file instead: Version="$(var.Version)" Is there a reason why the version string cannot be localized? Even though the version would be the same in every language, I would still like to keep it in the wxl file to reuse the variable to e.g. set the installation directory based on name and version. Regards, Matthias ---------------------------------------------------------------------------- -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.237 / Virus Database: 270.11.3/1971 - Release Date: 02/25/09 06:40:00 ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users