Installation WiX修补程序对话框-未显示背景图像

Installation WiX修补程序对话框-未显示背景图像,installation,wix,patch,Installation,Wix,Patch,我已经创建了一个工作WiX补丁,但在安装过程中,它没有显示产品背景图像 “原始产品设置”对话框显示图像,这些图像在其项目中定义如下: <Product ...> <WixVariable Id="WixUIBannerBmp" Value="gn_setup_dialog_banner.bmp" /> <WixVariable Id="WixUIDialogBmp" Value="gn_setup_dialog.bmp" /> 修补程序已

我已经创建了一个工作WiX补丁,但在安装过程中,它没有显示产品背景图像

“原始产品设置”对话框显示图像,这些图像在其项目中定义如下:

<Product ...>
    <WixVariable Id="WixUIBannerBmp" Value="gn_setup_dialog_banner.bmp" />
    <WixVariable Id="WixUIDialogBmp" Value="gn_setup_dialog.bmp" />

修补程序已创建,工作正常。问题是它没有显示这些图像。它显示对话框的一些默认背景

这是我的补丁,如果这有帮助的话:

<?xml version='1.0' encoding='windows-1252'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
    <Patch AllowRemoval='yes'
        Manufacturer='xxx'
        MoreInfoURL='...'
        DisplayName='...'
        Description='Small Update Patch'
        Classification='Update'
        Codepage="...">

        <Media Id='5000' Cabinet='RTM.cab'>
            <PatchBaseline Id='RTM' />
        </Media>        

        <PatchFamily Id="HotFixPatchFamily" Version="1.0.1.0" Supersede="no" />
    </Patch>
</Wix>


感谢您的帮助。

出于某种原因,修补程序将这两个文件作为“新”文件交付…即使很难,它们也没有更改

无论如何,我通过替换stock Wix对话框图像解决了这个问题,就像这里建议的那样(在底部“替换stock位图”):