Thanks for your explanations. But unfortunately I cannot proceed, because the only thing what I understand in that code lines is, that #... are constants. I just don't know that way of coding. So I can try out what I want, it will cause errors ever.
What means {app} for example? As already told above, I don't know that programming style. Inno Setup embeds the .ico file automatically to the setup itself, to the uninstaller and so on, but only the most important place, namely the desktop shortcut isn't considered.
I've tried out a tool to embed an .ico file directly into my .exe file, but the .exe file didn't work then anymore. What tool can you suggest to embed .ico into .exe?
Or I just get some suitable code lines here in this forum to my given command lines. Would be biggest appreciated, Thanks!
On 11/10/2022 07:45, 'Ruediger' wrote:
Hi, I've trouble to create a setup using Inno Setup 6.2.1, because I don't know how to bring the .ico file to the desktop shortcut. If I try to use IconFilename, IconFilename isn't recognized. How to change the command lines to bring the .ico file to the desktop shortcut? Thanks!
The preferred method for exe files is to embed your icon as the first resource in the exe itself; that way it will automatically get the icon without any IconFilename required. This will also automatically work for any custom shortcuts the user makes directly from the exe file.But if you still want to use an IconFilename, you just need to install it somewhere (typically {app} or a subfolder) with a [Files] entry, then use its {app}\whatever path in the IconFilename.
--You received this message because you are subscribed to a topic in the Google Groups "innosetup" group.To unsubscribe from this topic, visit https://groups.google.com/d/topic/innosetup/IHEXciMImOE/unsubscribe.To unsubscribe from this group and all its topics, send an email to innosetup+...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/innosetup/d716cc81-30ba-8f69-3c0e-d893f81368e2%40mirality.co.nz.
You received this message because you are subscribed to the Google Groups "innosetup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to innosetup+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/innosetup/NE4xORk--3-2%40tutanota.de.
Thanks, but unfortunately the tips didn't help me at all. I struggled for hours to get a desktop icon created. It worked then indeed, but my exe file didn't launch then.
Pathetic manuals are of no use for me to gain knowledge, so there are three possibilities for me now: Either I accept the Windows default icon or I find someone to pay for probably 3 lines of code or I get the help I want here in this forum. Inno Setup is good so far, but to get a desktop icon created is reserved to experts only. If Inno Setup would have been made differently from the start, I wouldn't need to ask for help here. Thanks again.
--
You received this message because you are subscribed to the Google Groups "innosetup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to innosetup+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/innosetup/a5c4065d-e80a-4bfe-83c5-783501d67f3dn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/innosetup/b8995fd8-7b6d-4534-be84-ca8838b9fd1cn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/innosetup/1578f194-b199-4ae2-8de0-d527bd0f659fn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/innosetup/a323460c-44d0-413a-9f6f-44e69a6e438bn%40googlegroups.com.