WIX安装程序未正确显示WixUI对话框的自定义图像 [英] WIX Installer not displaying the custom image of WixUI Dialog correctly

查看:137
本文介绍了WIX安装程序未正确显示WixUI对话框的自定义图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的WIX安装程序中,我正在使用自定义WixUIDialogBmp映像安装程序的Welcome and Completion页面.但是如下图所示,图像显示不正确.我正在尝试遵循来自`WIX的官方文档. 问题:我可能缺少的内容以及如何纠正. 注意:问题似乎是,对话框的左边缘显示了太多空白,尽管图像本身的文本与最左端对齐.但这只是我的猜测.

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.

安装程序的欢迎对话框:

安装程序的完成对话框:

以下是我用于<WixVariable Id="WixUIDialogBmp" Value="My_product_WelcomCompletion.bmp"/>的实际图像.图像My_product_WelcomCompletion.bmp的大小为420 x 312,图像的文本保持对齐. 注意:点击下面的图片,您可以更好地了解该图片:

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:

推荐答案

评论太长.我现在没有时间检查和回答这个问题,但是也许可以在github上查看这个项目:

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.

此外,您还可以从 IsWix项目中找到更多高级的WiX示例和教程.本质上是用于生成WiX MSI文件的GUI前端. 这是实际的教程.该工具本身: https://github.com/iswix-llc/iswix .还有博客.

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.

这篇关于WIX安装程序未正确显示WixUI对话框的自定义图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆