View Single Post
  #8  
Old 04-04-2013, 03:39
Errol Errol is offline
Registered User
 
Join Date: Aug 2011
Location: Trinidad W.I.
Posts: 10
Thanks: 2
Thanked 0 Times in 0 Posts
Errol is on a distinguished road
Smile How to display a shortcut with a different icon?

I know it might have been answered but have not seen it. I'm making an installer for Dos Box running an old Dos game called 007 License to Kill, using Inno-Setup and would like to set a shortcut in the start menu and on the desktop using an icon I made.

Lets say the icon name is myicon.ico, after I made the script using Inno-Setup, under the heading [Icons] this is what it looks like;

[Icons]
Name: {group}\007 License to Kill; Filename: C:\Games\007LicensetoKill\dosbox.exe; IconFilename: C:\Games\007LicensetoKill\dosbox.exe; IconIndex: 0
Name: {commondesktop}\007 License to Kill; Filename: C:\Games\007LicensetoKill\dosbox.exe; IconFilename: C:\Games\007LicensetoKill\dosbox.exe; IconIndex: 0; Tasks: desktopicon

What I want to add or change is, instead of the DosBox.exe showing up as the desktop or start menu icon I wanted it to show myicon.ico I already have the .ico file placed in the DosBox directory and the game in a separate folder in the DosBox directory. I tried to do it but it seems I'm doing the wrong thing. After compiling the game and DosBox I either end up with no icon to display or end up with the DosBox icon. I've attached the Iss file I made and if someone can please give me a working example or even modify my Iss file I would really appreciate it very much. Thank you.
Attached Files
File Type: zip Inno Iss.zip (18.6 KB, 239 views)
Reply With Quote