Add image to the exe link



  • Hello,

    i'm creating the application installer , the repository and the updater. All is going fine. I have created the .exe icon too BUT i saw that the link to the exe is white and with no ico.

    in the .pro file i have RC_ICONS = MYico.ico
    

    In the installscript i have this row:

    component.addOperation("CreateShortcut", "@TargetDir@/MyExe.exe", "@StartMenuDir@/ThisIsMyLink.lnk",
    

    To be more clear when i install the program MyExe.exe have the right icon(the one i have selected in .pro file) but ThisIsMyLink.lnk is a white link to the exe.

    There is a way to have the image on the link too?

    Thank you



  • I use the same install script and the icon works perfectly. Win7



  • @VRonin
    hmm, i'm using windows 10 64bit.
    I'll see if it happens on another SO too.

    Thanks for the hint


Log in to reply