[wix-users] Wix 4 localization not working as expected

Rob Mensching rob at firegiant.com
Fri Nov 22 14:24:26 PST 2019


That bug fixed in more recent PR.

_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Alan Sinclair via wix-users
Sent: Friday, November 22, 2019 12:13 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Alan Sinclair <anadem at gmail.com>
Subject: [wix-users] Wix 4 localization not working as expected

Is localization defined differently in WiX 4 than in WiX 3? Or perhaps included differently than -loc xxx.wxl ?

Light.exe 4.0.0 is giving
    error LGHT0102 : The localization variable !(loc.PackageDescription) is unknown.

PackageDescription IS defined, in a .wxl which is referenced on light's command line:
(This same command line works fine with WiX 3.11):

    light -spdb -sw1076 -ext WixUtilExtension  -ext WixUIExtension  -o
works-en-us.msi   -dWixUILicenseRtf=EndUserLicense.rtf  *-cultures:en-us
-loc wsstrings-en-US.wxl*  wsbase.wixobj  wscore.wixobj  wscustom.wixobj  wslocals.wixobj  wsoptions.wixobj  wsqtquick.wixobj  wsswiftshader.wixobj  wswixui.wixobj  wsWelcomeDlg.wixobj  wsWelcomeEulaDlg.wixobj  wsInstallScopeDlg.wixobj  wsProductModeDlg.wixobj  wsMaintenanceTypeDlg.wixobj  wsReadyDlg.wixobj WiX Toolset Linker version 4.0.0.5205 Copyright (c) .NET Foundation and contributors. All rights reserved.

wsbase.wxs(19) : error LGHT0102 : The localization variable
!(loc.PackageDescription) is unknown.  Please ensure the variable is defined.

C:\wix4\> grep PackageDescription wsstrings-en-us.wxl <String Id="PackageDescription">Works Windows Client Installer</String>

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list