使用Inno Setup添加卸载信息 [英] Adding uninstall information with Inno Setup
问题描述
我正在使用Inno Setup为程序创建安装程序,但是我希望能够添加图标并更改控制面板"(添加/删除程序)中显示的某些信息.
I'm using Inno Setup to create an installer for my program but I want to be able to add an icon and change some of the information displayed in the Control Panel (Add/Remove Programs).
我知道Inno Setup添加了一个注册表项来首先列出该程序,所以我想知道是否可以以任何方式扩展它,以便至少在列表中显示我的图标!
I know that Inno Setup adds a registry key to get the program listed in the first place so I wondered if this could be extended in any way so that, at the least, my icon is displayed in the list!
推荐答案
要更改添加/删除程序控制面板"小程序列表中显示的图标,请指定 UninstallDisplayIcon
指令> [设置]
部分.
To change the icon displayed in the Add/Remove Programs Control Panel applet program list specify the UninstallDisplayIcon
directive in the [Setup]
section.
[Setup]
UninstallDisplayIcon={app}\Application.exe
如果要在添加/删除程序"控制面板小程序中为该程序的条目指定自定义名称,请指定> [Setup]
部分.
If you want to specify a custom name for the program's entry in the Add/Remove Programs Control Panel applet then specify the UninstallDisplayName
directive also in the [Setup]
section.
[Setup]
UninstallDisplayName=Custom name shown in Add/Remove Programs applet
这篇关于使用Inno Setup添加卸载信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!