I'm trying to customize the icon that shows in Windows Explorer and in Desktop shortcuts for my Delphi application.
In the Delphi 7 IDE, I have loaded the desired icon in the Application tab of the Project Options dialog. It shows my desired icon as a graphic.
I didn't think it was necessary, but I also set my icon as the TMainForm Icon property.
However, the resulting EXE still shows the default D7 icon. What am I missing?
Best Answer
I found it after more hunting. I created a new project by copying an existing project from another folder. I forgot to change the program name at the top of the DPR file to match the name of the new project. Somehow, if a wrong name is used there, it prevents the icon from being changed in the generated EXE file...