Replies: 2 comments
-
Would your interpretation of the 'theme' not include things like images, custom fonts, etc that are part of the visual styling? There probably should have been an error message specifically about the file that was missed. |
Beta Was this translation helpful? Give feedback.
-
No there wasn't. The exact log (reproduced today) is below. It says it fails to load wixpreq.thm (which is strange since my theme attribute is pointed to a different file). Pulling in the latest iuipreq.thm contains numerous changes but most relevant is mbapreq.png -> wixpreq.png. This fixes the problem but not thanks to the log file. [26D0:30DC][2024-11-08T15:15:05]i001: Burn x64 v5.0.2+aa65968c419420d32e3e1b647aea0082f5ca5b78, Windows v10.0 x64 (Build 22631: Service Pack 0), path: C:\GitHub\REDACTED\Installer\REDACTEDBundle\bin\x64\Debug\REDACTED-0.0.1.exe |
Beta Was this translation helpful? Give feedback.
-
My IsWiX tool has a custom project template for internal ui bootstrapper application. It includes a clone of the iupreq.thm and iuipreq.wxl to make it easy to customize. It builds and runs using WiX 4.0.5 but when I built it in 5.0.0 it succeeds but then fails to run.
[42E8:096C][2024-07-09T16:00:53]e000: Error 0x80070057: Failed to load theme from path: C:\Users\chrpai\AppData\Local\Temp{8D89D44D-9E53-407F-A1C4-6689DC94BA41}.ba\wixpreq.thm
[42E8:096C][2024-07-09T16:00:53]e000: Error 0x80070057: Failed to initialize theme.
[42E8:2BEC][2024-07-09T16:00:53]i500: Shutting down, exit code: 0x57
[42E8:096C][2024-07-09T16:00:53]i000: The prerequisites were not successfully installed, error: 0x0. The bootstrapper application will be not reloaded.
I searched through the Burn source and I found the issue. mbqpreq.png was renamed to wixpreq.png. If I pull the latest iuipreq.thm into the project it builds and runs successfully. The error message says it couldn't load the theme which is partially true... it's loaded but dependencies are not found.
I wanted to start this as a discussion before filing an issue.
Thanks,
Chris
Beta Was this translation helpful? Give feedback.
All reactions