是否可以在Inno Setup中更改卸载图标? [英] Is it possible to change the uninstall icon in Inno Setup?

查看:55
本文介绍了是否可以在Inno Setup中更改卸载图标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从我阅读的内容来看,这似乎不是允许您更改卸载图标的参数:

From what i've read it looks like that is no parameter that allows you to change the uninstall icon:

[Setup]: UninstallIconFile
Description:
Obsolete in 5.0.0. As Setup and Uninstall have been merged into a single executable, setting a custom icon for Uninstall is no longer possible.

那么,还有另一种方法可以更改此图标吗? 我问是因为,例如,如果您只有启动exe,自述文件和卸载程序,则用户可能会不小心单击卸载程序,而不是单击lauch,这有点烦人.

So, is there another way to change this icon? I'm asking because if, for example you have only your launch exe, an readme and the uninstall, users may accidentally click on the uninstall instead of lauch, which is a little bit annoying.

谢谢.

推荐答案

仅当您将IconFilename设置设置为与应用程序相同的图标或具有SetupIconFile时,您的卸载图标才与应用程序图标相同.设置设置为与您的应用程序相同.
默认情况下,卸载"图标与安装"图标相同.如果您确实想确保用户不感到困惑,可以将[Icons]部分中的IconFilename参数设置为卸载图标.像这样:

Your Uninstall Icon would only be the same as your application icon if you set the IconFilename setting to the same icon as the application or have the SetupIconFile setting set to the same as your application.
By default, the Uninstall Icon is the same as the Setup icon. If you really want to make sure the user isn't confused, you can set the IconFilename parameter in the [Icons] section to your uninstall icon. Something like:

Name: "{group}\Uninstall My Program"; Filename: "{uninstallexe}"; IconFilename: "{app}\uninstall.ico"

您还需要在[Files]部分中包含uninstall.ico.

You would need to include the uninstall.ico in your [Files] section as well.

这篇关于是否可以在Inno Setup中更改卸载图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆