[英]Wix change exe installer icon
Well, I wrote an add-on to excel and created a msi installer for it using wix toolset. 好吧,我为excel写了一个插件,并使用wix工具集为其创建了一个msi安装程序。 The problem is that I would like to change the installer icon, but from what I read msi installer icons can not be changed and I wanted to ask you whether it is possible to change the installer from msi to some other (eg on exe) and then change the installer icon? 问题是我想更改安装程序图标,但是从我读到的msi安装程序图标无法更改,我想问你是否有可能将安装程序从msi更改为其他(例如在exe上)并且然后更改安装程序图标?
[Update] [更新]
I've already change msi file to exe using wix bootstrap, but still i don't know how could i change this icon. 我已经使用wix bootstrap将msi文件更改为exe,但是我仍然不知道如何更改此图标。
Thanks for all the tips / help. 感谢所有提示/帮助。
This problem is not duplicate of Change exe icon based on define C# 此问题不是基于定义C#的Change exe图标的重复
my problem is not a duplicate of the post that was indicated, because it is a wix project and the given solution is for wpf, winforms projects. 我的问题不是所指示帖子的重复,因为它是一个wix项目,并且给定的解决方案是针对wpf,winforms项目的。
In my project, there is no csproj file, only wixproj, which does not even have the <ApplicationIcon>
tag. 在我的项目中,没有csproj文件,只有wixproj,甚至没有<ApplicationIcon>
标记。
Project properties are also different because there is no context in the build tab. 项目属性也有所不同,因为构建选项卡中没有上下文。
You cannot change the icon displayed by Windows for *.msi file. 您无法更改Windows为* .msi文件显示的图标。
For bundle exe's use 供bundle exe使用
<Bundle ... IconSourceFile='path\to\product.ico'>
This will also change the icon in the "Add/Remove Programs" (which is probably good). 这也将更改“添加/删除程序”中的图标(可能很好)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.