So I figured out that I needed the license payloads to look like this:

<Payload Id="some_id" Name="1031\license.rtf" SourceFile="path_to_license.rtf" 
/>

With the important bit being that the name is LCID\license.rtf.  The only way I 
was able to figure this out was by looking at through the wix sources.  Looking 
at them makes me think that the "thm.xml" is also correct, but whenever I do 
this the installer doesn't seem to work: invoking with -lang <LCID with custom 
theme> does nothing and exits immediately.  Has anyone been able to load a 
thm.xml per language?

Thanks,
Ian

-----Original Message-----
From: Ian Williams [mailto:iawil...@microsoft.com] 
Sent: Wednesday, February 08, 2012 2:00 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Localized bundle: Picking up the right files

Using WixStdba.RtfLicense, I'm able to localize various strings with the .wxl.  
But I'm having difficulty customizing the theme with the .xml files, and I 
can't figure out how to get a different license to load for each language.

    <WixVariable Id="WixStdbaThemeWxl" Value="RtfTheme.wxl" />
    <WixVariable Id="WixStdbaThemeXml" Value="layout.xml" />
    <WixVariable Id="WixStdbaLicenseRtf" Value="1033\License.rtf" />

    <BootstrapperApplicationRef 
Id="WixStandardBootstrapperApplication.RtfLicense">

<!-- works fine -->
      <Payload Id="thm-de-DE" Compressed="yes" Name="1031\thm.wxl" 
SourceFile="RtfTheme.de.wxl"/>
      <Payload Id="thm-es-ES" Compressed="yes" Name="3082\thm.wxl" 
SourceFile="RtfTheme.es.wxl"/> ...

     <!-- doesn't work -->
      <Payload Id="thmx-de-DE" Compressed="yes" Name="1031\thm.xml" 
SourceFile="layout.de.xml"/>
      <Payload Id="thmx-es-ES" Compressed="yes" Name="3082\thm.xml" 
SourceFile="layout.es.xml"/> ...

     <!-- doesn't work -->
      <Payload Id="lic-de-DE" Compressed="yes" Name="1031\lic.rtf" 
SourceFile="1031\License.rtf" />
      <Payload Id="lic-es-ES" Compressed="yes" Name="3082\lic.rtf" 
SourceFile="3082\License.rtf" />
    </BootstrapperApplicationRef>


What am I doing wrong in the Payload specification? Are these supported by 
WixStandardBootstrapperApplication.RtfLicense at this time?


Thanks,
Ian

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers is just 
$99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style 
Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users






------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to