简体   繁体   English

Wix Change exe安装程序图标

[英]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.

相关问题 更改自定义 Wix Bundle 安装程序的 WixBundleExecutePackageCacheFolder - Change the WixBundleExecutePackageCacheFolder for Custom Wix Bundle installer 如何避免安装相同的应用程序实例 wix 安装程序 MSI 和 EXE? - How to avoid install same instance of application wix installer MSI & EXE? 更改exe的开始菜单图标 - Change the Start menu icon of exe 在安装程序项目中更改默认图标和快捷方式名称 - Change default icon and name of shortcut In installer project 通过WIX安装程序安装的带有CLI项目EXE的C#无法正常工作 - C# with CLI project EXE installed through WIX installer doesnt work Wix-如何在安装程序中启动另一个MSI(或EXE)? (C#) - Wix - How do I launch another MSI (or EXE) inside my installer? (C#) 使用WIX创建安装程序时执行sqlpackage.exe(具有很少的相关dll) - Execute sqlpackage.exe (which has few dependent dlls) while creating installer using WIX 使用 Wix 3.8,当卸载程序打包在 exe 安装程序中时,如何使用 Bundle 卸载 ExePackage? - Using Wix 3.8, using Bundle how do Uninstall an ExePackage when the uninstaller is packaged up inside an exe installer? wix#用于创建安装程序的脚本 - wix # script for creating a installer 无法使用WiX安装程序进行设置 - Unable to setup with WiX Installer
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM