md8070
Posts: 24
Joined: Thu Nov 10, 2011 9:58 pm

making a shortcut advertised loses icon

i have a very simple project (repackaged) that has only two shortcuts on the Start Menu, one EXE and one CHM

After the repackaging process I save it and build it. Then test it on a testing machine, everything works

If I go back to the project and make the EXE shortcut advertised, when I install this new MSI on the testing machine, the shortcut on the StartMenu has lost its icon. it is simply a white rectangle

anyone experience anything like this?

thanks
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: making a shortcut advertised loses icon

Hello,

Did you specify the icon in the "Icon File" field from the "New File Shortcut" dialog when created the advertised shortcut? Please keep in mind that newer versions of Windows will no longer set the icon if left blank.

Also, can you reproduce the behavior on several clean machines?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
md8070
Posts: 24
Joined: Thu Nov 10, 2011 9:58 pm

Re: making a shortcut advertised loses icon

i didn't create the shortcut, it was created by the installation

i simply went into its properties and made it "advertised"

yes, i can reproduce
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: making a shortcut advertised loses icon

Hello,

What I was trying to say is that you should manually add the icon in the "Icon File" field from the "Edit Shortcut Properties" dialog when you mark as advertised the related shortcut in order to solve this issue.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”