Cannot use custom theme file #8578
Unanswered
Lukemtesta
asked this question in
Questions
Replies: 1 comment
-
It appears you are using some v3 schema. The documentation is a little scant. The best way I've learnt about theming in v4 is to take a look at some examples in the repo. See https://github.com/wixtoolset/wix/tree/HEAD/src/ext/Bal/stdbas/Resources - it is different to v3 and there are breaking changes. Also a log file is produced when compiling. Look in. C:\Users<USER>\AppData\Local\Temp - Or equivalent to your environmental setup |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Visual Studio 2022 Professional Version: 17.7.3
Wix version: 4.0.5
Created a wix bundle project fine, compiles and runs with the Theme property set to "rtfTheme".
Now I am doing a test to see if I can use a custom theme file. I have downloaded the RtfTheme from the bastd repository. The file contents are here:
I now set the property ThemeFile to the xml file path relative to the project file.
Visual studio now complains with two errors:
Severity Code Description Project File Line Suppression State
Error WIX0010 The WixStandardBootstrapperApplication/@theme attribute was not found; it is required.C:\Users\pc\Documents\gh\git\Installer\Bundle.wxs 26
Error WIX0048 The document element name 'Theme' is invalid. A WiX localization file must use 'WixLocalization' as the document element name. HippotizerV5Bundle C:\Users\pc\Documents\gh\git\Installer\wix.exe 1
Any ideas how to get this bundle building with the rtfTheme.xml file?
Beta Was this translation helpful? Give feedback.
All reactions