[wix-users] ProductLanguage property not included in transformation

Tobias S tobias.s1979 at gmail.com
Thu Sep 24 01:58:56 PDT 2015


Works for us also on WiX 3.8 RTM by

  <Product ... Language="!(loc.Language)"

and the corresponding wxl file then contains e.g.
<?xml version="1.0" encoding="utf-8"?>
<WixLocalization Culture="de-de"
xmlns="http://schemas.microsoft.com/wix/2006/localization">
  <String Id="Language">1031</String>


We then use the torch task
    <Torch
      RunAsSeparateProcess="True"
      ToolPath="$(WixToolPath)"
      BaselineFile="$(TargetDir)$(DefaultLanguage)\$(TargetFileName)"
      UpdateFile="%(Transforms.OutputFolder)$(TargetFileName)"
      OutputFile="%(Transforms.Identity)"
      AdditionalOptions="-t Language" />

This generates call
C:\Program Files (x86)\WiX Toolset v3.10\bin\Torch.exe -t Language
"c:\..\bin\Debug\x64\en-US\MyMSI.msi" "c:\..\bin\Debug\x64\de-de\MyMSI.msi"
-out "c..\bin\Debug\x64\en-US\de-de_x64.mst"


More information about the wix-users mailing list