我的 inno 设置文件中有以下内容,可以创建桌面图标没问题:
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"
但是,启动程序的主文件是 VBS 文件而不是 EXE。我想在快捷方式上有一个漂亮的图标,而不是 VBScript 图标,但找不到更改图标的选项。
是否有这样的选项可用于设置自定义图标?
最佳答案
关于 [Icons]
的 Inno-Setup 帮助部分 说:
IconFilename
The filename of a custom icon (located on the user's system) to be displayed. This can be an executable image (.exe, .dll) containing icons or a .ico file. If this parameter is not specified or is blank, Windows will use the file's default icon. This parameter can include constants.
Example: IconFilename: "{app}\myicon.ico"
(source)
希望有帮助。
关于icons - 带有 inno 设置的自定义桌面图标,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7485355/