icons - Inno Setup 卸载图标消失

标签 icons inno-setup missing-data uninstallation

我使用这段代码的 UninstallerIcon 做错了:

UninstallDisplayIcon=....(Iconlocation)

然后当我拔出带有图标的磁盘时,图标消失:

enter image description here

enter image description here

希望你能帮我:)

最诚挚的问候,

基督教

最佳答案

UninstallDisplayIcon必须指向目标计算机上的永久文件。不是安装程序的源驱动器。这通常意味着您必须安装图标并将UninstallDisplayIcon指向已安装的副本:

[Setup]
UninstallDisplayIcon={app}\uninstall.ico

[Files]
Source: uninstall.ico; DestDir: {app}

请注意,UninstallDisplayIcon 是由目标计算机上的 Windows 加载的,而不是 Inno Setup 本身。除了 .ico 之外,Windows 还支持其他格式,例如 .exe.dll

关于icons - Inno Setup 卸载图标消失,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67554933/

相关文章:

r - read.table()不容许丢失数据吗?

html - 将图标左侧附加到文本的最佳方式

android - 我必须替换哪个 .png 文件才能在 Android Studio 中更改图标符号

javascript - 动态导入 React Material UI 图标

inno-setup - 从欢迎屏幕中删除版本文本

installation - 使用 Inno Setup 创建硬链接(hard link)

r - 如何为时间序列中的缺失数据创建 "NA"

c++ - 如何给 C++ 程序一个图标?

visual-studio - 设置 Inno 以运行 Office 加载项安装程序并等待它

tsql - SQL Server 插入丢失的行