Maybe this will help. I have a foundation theme working and I've provided the code below, which is based on the Wix installer's own, although this is probably more than what is needed. What I suspect happens is that the ThemeFile attribute becomes a Wix variable that is referenced by the Wix-defined payloadgroup so that it's included in the bundle. The error you're getting might be because the theme file isn't being bundled up. Have a look in the Wix sources at its own bundle code too and it should help you understand what's going on. Also have a look to see if your wxl is being extracted at run time.
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.Foundation"> <bal:WixStandardBootstrapperApplication LicenseFile="$(sys.SOURCEFILEDIR)SDLTradosStudioEULA.rtf" LogoFile="$(sys.SOURCEFILEDIR)Trados_icon64.png" SuppressOptionsUI="yes" ThemeFile="BurntToastTheme.xml" LocalizationFile="BurntToastTheme.wxl" /> <PayloadGroupRef Id="WixStdbaBurntToastPayloads"/> </BootstrapperApplicationRef> <PayloadGroup Id='WixStdbaBurntToastPayloads'> <Payload Name='thm.xml' Compressed='yes' SourceFile='!(wix.WixStdbaThemeXml=BurntToastTheme.xml)' /> <Payload Name='thm.wxl' Compressed='yes' SourceFile='!(wix.WixStdbaThemeWxl=BurntToastTheme.wxl)' /> <Payload Name='logo.png' Compressed='yes' SourceFile='!(wix.WixStdbaLogo=Trados_icon64.png)' /> <Payload Name='licence' Compressed='yes' SourceFile='!(wix.WixStdbaLicenseRtf=$(sys.SOURCEFILEDIR)SDLTradosStudioEULA. rtf)' /> <Payload Name='banner' Compressed='yes' SourceFile='BurntToast.png' /> </PayloadGroup> <CustomTable Id='WixStdbaInformation'> <Row> <Data Column='LicenseFile'>licence</Data> </Row> </CustomTable> -----Original Message----- From: Nick Ramirez [mailto:nickra...@hotmail.com] Sent: 20 September 2012 00:34 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Burn standard UI .wxl I've got the following markup in my bootstrapper: <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.Foundation"> <bal:WixStandardBootstrapperApplication ThemeFile="custom.thm" LicenseFile="CustomLicense.rtf" LocalizationFile="thm.wxl" /> </BootstrapperApplicationRef> And I am getting the following error when I run it: Error 0x80070002: Failed to probe for loc file: thm.wxl in path: C:\Users\Win7\AppData\Local\Temp\{489e3324-6d8d-4ff5-953f-dad01c33c9a4}\.ba1\ Error 0x80070002: Failed to initialize data in bootstrapper application. Am I missing something? I've got a file that I've called "thm.wxl" in the project with this markup: <?xml version="1.0" encoding="utf-8"?> <WixLocalization Culture="en-us" xmlns="http://schemas.microsoft.com/wix/2006/localization"> <String Id="Caption">My caption</String> </WixLocalization> -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-standard-U I-wxl-tp7580680.html Sent from the wix-users mailing list archive at Nabble.com. ----------------------------------------------------------------------------- - Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users