简体   繁体   中英

WIX Installer not displaying the custom image of WixUI Dialog correctly

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:

在此处输入图片说明

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM