To my surprise I did not find the solution how to set up an icon for the start menu application group folder laying ahead. I am looking for the automatic solution in InnoSetup script.
Thank you in advance.
Create the desktop.ini
file with the content like this if you want to use the *.ico
as a resource (where c:\somepath\icon.ico
is path to your icon):
[.ShellClassInfo]
IconResource=c:\somepath\icon.ico,0
Or create the desktop.ini
file with the content like this if you want to use the icon from the executable as a resource (where c:\somepath\program.exe
is path to your executable):
[.ShellClassInfo]
IconResource=c:\somepath\program.exe,0
Save this desktop.ini
file into the directory where you want to apply the icon. One very important note, you have to set to this newly created file attributes Hidden and System, otherwise it won't work!
So please check very carefully if the InnoSetup won't clear these attributes if you'll have the file included in your setup package while installing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With