Menu

#1862 ProductLanguage property not included in transformation

v3.5
closed
torch (15)
2012-09-15
2009-10-27
No

Our product is localized in four languages.
Based on the ProductLanguage reference (http://msdn.microsoft.com/en-us/library/aa370856%28VS.85%29.aspx) I am using following code to change this property:
<product language="!(loc.LANG)" ...="">
The language is defined in the localization file (e.g.):
<string id="user-content-LANG">1031</string>
The MSI packages are created correctly (with ProductLanguage property set to LANG of specified langauage).
Problem is that language transformation created using command:
torch.exe -t language Package_EN.msi Package_DE.msi -out 1031.mst
does not contain the ProductLanguage property.</product>

When using msitran.exe (http://msdn.microsoft.com/en-us/library/aa370495%28VS.85%29.aspx) the ProductLanguage property is correctly included in the resulting transformation.

Discussion

  • Stefan Pavlik

    Stefan Pavlik - 2009-10-27

    The version of torch is 3.0.5419.0

     
  • Heath Stewart

    Heath Stewart - 2009-11-06

    You need to add a PropertyRef to ProductLanguage to include it in the patch. msitrans.exe takes all changes, but patch families during build time are a filter. This is also the way to produce a minor upgrade MSP - by adding a PropertyRef to ProductVersion.

    This is by design.

     
  • Stefan Pavlik

    Stefan Pavlik - 2009-11-19

    I do not understand where should I add a 'PropertyRef to ProductLanguage' as you requested.
    I have tried to add the line
    <propertyref id="user-content-ProductLanguage">
    into <product> section but it did not help.</product></propertyref>

    Could you please describe the way how to create language transformation that will correctly change the ProductLanguage property?

     
  • Heath Stewart

    Heath Stewart - 2009-11-20

    vydra, you need to add the PropertyRef to the PatchFamily element for a patch to include it in the patch. PatchFamily is a filter (and defines a patch family for the resulting MSP). There is a How To in wix.chm that shows how.

    If you have further questions, please email wix-users@lists.sourceforge.net for support.

     
MongoDB Logo MongoDB