Wix Bootstrapper Won't Run When Using ThemeFile

二次信任 提交于 2020-01-15 03:33:13

问题


I have created a wix bootstrapper that runs fine on all computers when no theme file is used. If I use a theme file, it will run on my computer but not on anyone else's.

<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense" > <bal:WixStandardBootstrapperApplication LicenseFile="C:\eula.rtf" ThemeFile="C:\myTheme.xml" /> </BootstrapperApplicationRef>


回答1:


First, look at the bundle log file on the other machines to see the error. Likely the message will indicate there is an issue loading the theme. If that is the case, make sure that all paths in the theme file to loose files (for example, the Image element ImageFile attribute) are relative paths. Finally, be sure to include the loose files as Payload elements in the BootstrapperApplicationRef.

Unlike a .wxs file, the theme file's loose files are not automatically included. That is why you must add the Payload elements yourself.



来源:https://stackoverflow.com/questions/15143575/wix-bootstrapper-wont-run-when-using-themefile

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!