0
votes

I have created the exe file from jar and used this exe to create the installer using Inno setup. However when I install the system tray icon is not changing to custom icon I am proving in the .iss script. With Inno Setup the application icon which is displayed in Start > Program Files is picked up correctly but not the system tray icon.

I used the resource hacker to verify that the exe file has the image which needs to be displayed in the system tray. When Installing I do get prompted to select the desktop icon and quicklaunch icon. Desktop icon is picked correctly but not the quicklaunch icon.

Could some one suggest how to customize the system tray icon (quicklaunchicon).

1
First of all, this is not the system tray. Second of all, it sounds like you're experiencing the common pains of Windows caching your icons. See: stackoverflow.com/questions/19848585/… - Jerry Dodge
@Jerry, icon cache is being refreshed by Inno Setup. - TLama
@JerryDodge I tried your suggested, it did not work...Also started the .exe file from a different folder still the same issue. Any other clues please ? - Ayub
Does your debug log show anything about your icons? - Jerry Dodge
@JerryDodge how do I find the debug log ? - Ayub

1 Answers

0
votes

@JerryDodge Thank you for the clues. The jar itself had the icon file which needed to be replaced. After replacing it, everything worked.