(Despite receiving a confirmation, I haven't seen this message hit the list
after 4 days, so I'm resending...)
In my WiX XML I have:
<Icon Id="MyProduct.ico" SourceFile="$(var.MainIconPath)"/>
...
<Shortcut Id="desktopShortcut" Directory="DesktopFolder" Name="MyProduct"
WorkingDirectory="INSTALLDIR"
Icon="MyProduct.ico" IconIndex="0" Advertise="yes"/>
The shortcut gets created. On my machine and some others the icons are
correct. But many machines get the wrong icon for ALL of the advertised
shortcuts.. the icon picked up is that of an entirely different application
from another vendor that was already installed on the target machine.
Changing to non-advertised shortcuts fixes this icon problem. When this
happens, it happens for all of the advertised shortcuts. That means all of
the shortcuts I put in the start menu or desktop, regardless of the icons
that they are supposed to use, get something completely different that is
entirely unrelated.
I've seen this now with two installers I've done with WiX 3.
Is this just a known bug in Windows XP that I have to put up with? Is there
some trick to get it to work? I was trying to avoid non-advertised
shortcuts for these components because of the added hassle of making dummy
registry entries to satisfy the ICE problems since I'm doing a per-machine
install.
Thanks in advance,
Scott
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users