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 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.

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
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to