Hello, it's my first try to localize my setup. I am using WiX 3.5.
The Product.wxs has these lines besides all others defining files etc. <Product Id="ANY_GUID" Name="Product" Language="!(loc.LanguageId)" Version="1.0.0.0" Manufacturer="Man" UpgradeCode="ANY_GUID"> <WixVariable Id="WixUILicenseRtf" Value="!(loc.License)" /> </Product> My localization files are: <?xml version="1.0" encoding="utf-8"?> <WixLocalization Culture="en-us" xmlns="http://schemas.microsoft.com/wix/2006/localization"> <String Id="LanguageId">1033</String> <String Id="License">LicEN.rtf</String> </WixLocalization <?xml version="1.0" encoding="utf-8"?> <WixLocalization Culture="de-de" xmlns="http://schemas.microsoft.com/wix/2006/localization"> <String Id="LanguageId">1031</String> <String Id="License">LicDE.rtf</String> </WixLocalization> When running light.exe I get C:\delivery\Dev\wix35_public\src\ext\UIExtension\wixlib\LicenseAgreementDlg.wxs(35,0): error LGHT0103: The system cannot find the file '!(loc.License)'. The command line fpr light.exe arguments are -cultures:en-us -ext "C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll" -ext "C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixNetFxExtension.dll" -loc de-de.wxl -loc en-us.wxl -notidy -out bin\Release\en-us\Product.msi -pdbout bin\Release\en-us\Product.wixpdb -spdb obj\Release\Product.wixobj obj\Release\Product.Generated.wixobj Why does the linker resolves the !(loc.LanguageId) but fails with !(loc.License)? What should I do to localize the license file? The scheme above is taken from Nich Ramirez's book. Regards, Helge ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users