简体   繁体   English

更改WIX .exe安装程序图标

[英]Change WIX .exe installer Icon

I have made a .exe installer for my application using Wix, but I'm unable to remove the following Icon for installer dialog. 我使用Wix为我的应用程序制作了一个.exe安装程序,但是我无法删除以下安装程序对话框的图标。

在此输入图像描述

I would be thankful if you assist me with this. 如果你能帮助我,我将感激不尽。 Unfortunately I could not find any documentation clearly pointing to this issue. 不幸的是,我找不到任何明确指出这个问题的文件。

You must provide an alternate image. 您必须提供替代图像。 The the WixStandardBootstrapperApplication element set the LogoFile and/or LogoSideFile attributes to the paths of the images. WixStandardBootstrapperApplication元素将LogoFile和/或LogoSideFile属性设置为图像的路径。 You can use path relative to the bundle source file. 您可以使用相对于包源文件的路径。

The documentation is here . 文档在这里 The "Changing the WiX Standard Bootstrapper Application Branding" topic applies. “更改WiX标准引导程序应用程序标记”主题适用。

From your question I understand that you are not trying to change the Windows OS icon of installer file (.msi or .exe) but the images that appear in installer windows. 根据您的问题,我了解您并不是要尝试更改安装程序文件(.msi或.exe)的Windows操作系统图标,而是更改安装程序窗口中显示的图像。 Wix user interface have default icons with specific sizes for welcome & installation dialogs as well as banners as follows : Wix用户界面具有特定大小的默认图标,用于欢迎和安装对话框以及横幅,如下所示

Variable name: Description (Dimensions 变量名称:描述(尺寸

  • WixUIBannerBmp: Top banner (493 × 58) WixUIBannerBmp:顶部横幅(493×58)
  • WixUIDialogBmp: Background bitmap used on the welcome and completion dialogs (493 × 312) WixUIDialogBmp:欢迎和完成对话框中使用的背景位图(493×312)
  • WixUIExclamationIco: Exclamation icon on the WaitForCostingDlg (32 × 32) WixUIExclamationIco:WaitForCostingDlg上的感叹号图标(32×32)
  • WixUIInfoIco: Information icon on the cancel and error dialogs (32 × 32) WixUIInfoIco:取消和错误对话框上的信息图标(32×32)
  • WixUINewIco: Button glyph on the BrowseDlg (16 × 16) WixUINewIco:BrowseDlg上的按钮字形(16×16)
  • WixUIUpIco: Button glyph on the BrowseDlg (16 × 16) WixUIUpIco:BrowseDlg上的按钮字形(16×16)

You can find more info here . 你可以在这里找到更多信息。 For Wix 3.0+, there are some explanations here. 对于Wix 3.0+,这里有一些解释

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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