You didn’t specify a culture for
light to use, so it didn’t load any localization strings from the library.
Since wix libraries may contain multiple languages of localized strings, the
culture is necessary to pick one. In this case, you’d probably want
“en-us”.
Derek
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wilson, Brad
Sent: Monday, July 10, 2006 12:15
PM
To:
wix-users@lists.sourceforge.net
Subject: [WiX-users] language
specific wixlibs
WiX version being used: 3.0.1828.0
It appears that light.exe is failing to parse the
<WixLocalization> elements that are included in wixlibs. The
following is an example of a generated wixlib that i'm trying to include in an
install (Feature_Designer.wixlib):
<?xml version="1.0"
encoding="utf-8" ?>
<wixLibrary version="3.0.1808.0" xmlns="http://schemas.microsoft.com/wix/2003/11/libraries">
<WixLocalization
Codepage="1252" Culture="en-us" xmlns="http://schemas.microsoft.com/wix/2003/11/localization">
<String Id="IDFeatureTitle">
<![CDATA[ Interaction Designer]]>
</String>
<String Id="IDFeatureDescription">
<![CDATA[ Interaction Designer is used to modify handlers for the xIC
Server.]]>
</String>
</WixLocalization>
<section
id="Fragment_Designer" type="fragment" xmlns="http://schemas.microsoft.com/wix/2003/04/objects">
<reference
sourceLineNumber="..\Feature_Designer.wxs*8"
table="Component" symbol="FileStreamA.d" />
<reference
sourceLineNumber="..\Feature_Designer.wxs*7"
table="Component" symbol="I3ExprEditA.d" />
<reference
sourceLineNumber="..\Feature_Designer.wxs*4"
table="Directory" symbol="SERVER" />
<reference
sourceLineNumber="..\Feature_Designer.wxs*3"
table="ININCustomAction" symbol="TestDeferredCA" />
<table name="Feature">
<tuple sourceLineNumber="..\Feature_Designer.wxs*4">
<field>Feature_Designer</field>
<field />
<field>!(loc.IDFeatureTitle)</field>
<field>!(loc.IDFeatureDescription)</field>
<field>2</field>
<field>1</field>
<field>SERVER</field>
<field>0</field>
</tuple>
</table>
...
i get the following error(s) when running light.exe:
light.exe -nologo -w3 -v0
WiX_ServerManager.wixobj ..\..\..\pub\gen\install\lib\release\Feature_Designer.wixlib
-loc ..\Localization\en-us.wxl -out IC_Server_Manager_Applications.msi -ext
"ININ.WiXExtensions.I3WiXExtensions, ININ.WiXExtensions"
..\Feature_Designer.wxs(4) : error LGHT0102 : The localization variable !(loc.IDFeatureTitle)
is unknown. Please ensure the variable is defined.
..\Feature_Designer.wxs(4) : error LGHT0102 : The localization variable !(loc.IDFeatureDescription)
is unknown. Please ensure the variable is defined.
I guess it's quite possible that i'm not structuring my
wrapper install wxs file correctly. But from the documentation it looks
like it is correct.
Brad Wilson | Developer
phone & fax +1.317.715.8523 |
[EMAIL PROTECTED]
Interactive
Intelligence Inc.
Deliberately Innovative
www.inin.com
|
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users