Windows Installer: how to change icon of desktop shortcut
-
Hi all -
With some help, I managed to get the Windows Installer to generate a desktop shortcut. Now users are asking that the shortcut icon be our company logo instead of the default application icon.
I know that changing icons is normally a Windows exercise performed by the user. I'm wondering whether it's possible to do this from within the installscript...any ideas?
Thanks...
-
Hi all -
With some help, I managed to get the Windows Installer to generate a desktop shortcut. Now users are asking that the shortcut icon be our company logo instead of the default application icon.
I know that changing icons is normally a Windows exercise performed by the user. I'm wondering whether it's possible to do this from within the installscript...any ideas?
Thanks...
@mzimmers It should be enough to change the application icon as described here: https://doc.qt.io/qt-5/appicon.html
-
@mzimmers It should be enough to change the application icon as described here: https://doc.qt.io/qt-5/appicon.html
@jsulm hey, you're right! That was a pleasant surprise on a couple of fronts: I didn't realize the shortcut took the icon of the original file, and also this seemed to be a more straightforward process than it used to be (no more .rc file; just an entry in the project file.)
Thanks!