WIX Installer not displaying the custom image of WixUI Dialog correctly

吃可爱长大的小学妹 提交于 2019-12-20 06:36:19

问题


In my WIX installer I'm using a custom WixUIDialogBmp image for installer's Welcome and Completion pages. But as shown below, the image is not displaying correctly. I'm trying to follows this official documentation from `WIX. Question: What I may be missing and how can it be corrected. Note: The issue seems to be that the dialog is showing too much margin on the left despite the fact that the text in the image itself is aligned to the extreme left. But this is just a guess on my part.

Installer's Welcome Dialog:

Installer's Completion Dialog:

Following is the actual image that I am using for <WixVariable Id="WixUIDialogBmp" Value="My_product_WelcomCompletion.bmp"/>. The image My_product_WelcomCompletion.bmp is of size 420 x 312 and the text of the image is left aligned. Note: Clicking on the image below will give you a better idea of the image:


回答1:


Too long for a comment. I don't have time to check and answer this right now, but maybe have a look at this project on github: https://github.com/frederiksen/Classic-WiX-Burn-Theme. Maybe you already have it - sort of looks like you may.

Also, you can find more advanced WiX samples and tutorials from the IsWix project. Essentially a GUI front end for generating WiX MSI files. Here are the actual tutorials. And the tool itself: https://github.com/iswix-llc/iswix. And the blog.



来源:https://stackoverflow.com/questions/47965974/wix-installer-not-displaying-the-custom-image-of-wixui-dialog-correctly

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