I am doing this in my WixStaBA. The error implies that your project file
structure is not:
<Project Dir>\Resource\RtfTheme.xml and RtfTheme.wxl
One thing that caused a problem for me initially was that I used a folder
name "Resources" but used "Resource" in the Wxs file. A simple typo as some
examples use "Resource" and others use "Resources".
Eventually I renamed my customized files, but in the Payload element they
need to use the hardcoded name of "thm.xml" and "thm.wxl". I also had
difficulty getting it to use a mylogo.png file so I just renamed my file the
default name.
Here is my code if it helps, even though I am using the
HyperlinkLargeLicense varant:
My folder tree is:
<Project Dir>
Resources
logo.png
QDthm.wxl
QDthm.xml
1031\QDthm.wxl
1033\QDthm.wxl (note this is same file as in \Resources, but needed
here for language detection code)
etc.
When I start changing the layout for specific languages (later today?) I
will also add a copy of QDthm.xml and logo.png to each language subfolder
(even if I do not plan to make any change to the png file).
"
<BootstrapperApplicationRef
Id="WixStandardBootstrapperApplication.HyperlinkLargeLicense" >
<Payload Name="Logo.png" SourceFile="Resources\logo.png" />
<Payload Id="theme_de_de" Compressed="yes" Name="1031\thm.wxl"
SourceFile="Resources\1031\QDthm_de_de.wxl"/>
<Payload Id="theme_en_us" Compressed="yes" Name="1033\thm.wxl"
SourceFile="Resources\1033\QDthm_en_us.wxl"/>
<Payload Id="theme_es_es" Compressed="yes" Name="1034\thm.wxl"
SourceFile="Resources\1034\QDthm_es_es.wxl"/>
<Payload Id="theme_fr_fr" Compressed="yes" Name="1036\thm.wxl"
SourceFile="Resources\1036\QDthm_fr_fr.wxl"/>
<Payload Id="theme_it_it" Compressed="yes" Name="1040\thm.wxl"
SourceFile="Resources\1040\QDthm_it_it.wxl"/>
<Payload Id="theme_ja_jp" Compressed="yes" Name="1041\thm.wxl"
SourceFile="Resources\1041\QDthm_ja_jp.wxl"/>
<Payload Id="theme_zh_cn" Compressed="yes" Name="2052\thm.wxl"
SourceFile="Resources\2052\QDthm_zh_cn.wxl"/>
</BootstrapperApplicationRef>
<?endif?>
<WixVariable Id="WixStdbaLicenseUrl"
Value="http://www.mycompany.com/license.html" />
<WixVariable Id="WixStdbaThemeXml" Value="Resources\QDthm.xml" />
<WixVariable Id="WixStdbaThemeWxl" Value="Resources\QDthm.wxl" />
"
When you get past the compile problem, I found it helpful to watch the
bundle run using ProcessMon, to sort out some of these issues.
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-theme-in-Bundle-how-to-add-xml-and-wxl-tp7588021p7588023.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users