2
votes

I have seen some Inno Setup installer that assign an icon from shell32.dll to one or more of its shortcuts, in the desktop or in the start menu.

The question is how to assign one of theses to any shortcut that I want.

1

1 Answers

1
votes

Refer to shell32.dll in IconFilename parameter of your [Icons] section entry:

[Icons]
Name: "{userdesktop}\My Program"; Filename: "{app}\MyProg.exe"; \
    IconFilename: "shell32.dll"; IconIndex: 12

enter image description here