Quote:
Originally Posted by fabrieunko
Hello, I don't know if I am in the right section, please excuse me if this post is not in the right place, and if a moderator comes and can move it.
I am doing a small installer with inno setup. but I cannot display the game icon on the windows 10 desktop. I have a white incone.
here is my section of code where I treat the icon
Code:
[Icons]
Name: "{group}\My Program"; Filename: "{app}\program.exe"; WorkingDir: "{app}"; IconFilename: "{app}\program.exe";
Name: "{commondesktop}\My Program"; Filename: "{app}\program.exe"; WorkingDir: "{app}"; IconFilename: "{app}\program.exe";
Name: "{group}\Uninstall My Program"; Filename: "{app}\unins000.exe"; WorkingDir: "{app}"; Check: CheckISDoneError;
if anyone can help me? thank you so much
|
hi dear
use this code
Code:
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Icons]
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
no need IconFilename if Icon=exe File
==============
Use disc cleanup and select Thumbnails