[wix-users] Change icon's default location
osito at live.com
Fri Feb 16 15:17:54 PST 2018
On upgrades I reinstall (overwrite) the shortcuts. Never had a problem with the icons.
Sent from my Windows 10 phone
From: Gustavo Calheiros via wix-users<mailto:wix-users at lists.wixtoolset.org>
Sent: Thursday, February 15, 2018 2:56 AM
To: Hoover, Jacob<mailto:Jacob.Hoover at greenheck.com>
Cc: Gustavo Calheiros<mailto:gustavorlc at gmail.com>; WiX Toolset Users Mailing List<mailto:wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Change icon's default location
I tried to use a .EXE as icon resource, but in this case the .EXE is also
copied to the GUID path. I guess with the DLL would be the same.
2018-02-14 19:19 GMT+01:00 Hoover, Jacob <Jacob.Hoover at greenheck.com>:
> Use a resource only DLL which has embedded icons which you install?
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Gustavo Calheiros via wix-users
> Sent: Wednesday, February 14, 2018 12:02 PM
> To: wix-users at lists.wixtoolset.org
> Cc: Gustavo Calheiros <gustavorlc at gmail.com>
> Subject: [wix-users] Change icon's default location
> I have a project where I definied one icon as below:
> <Icon Id="myicon.ico" SourceFile="myicon.ico" />
> When the installation finishes, this Icon is stored at
> So any shortcuts created by the user will reference an icon pointed by
> this path with GUID.
> The problem is that when I install a new version of the software, another
> GUID will be generated, and despite the fact that the shortcut will still
> work, its icon will be blank (new installation erases old GUID path and
> creates a new one, making the old icon path invalid).
> Question: How to make my ICON be stored in the folder where my program is
> installed, instead of this GUID path?
> Thanks in advance.
> WiX Toolset Users Mailing List provided by FireGiant
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users