Windows installer caches entries in the Icon table in the installer cache location as you see below, so in effect by creating that Icon WIX element, you think of it as if it were a separate File element from your root exe. In the past, when I've authored COM registration and tried to do what you are after in that scenario, I had to not use the <Class ...> WIX elements and instead had to break them down into their constituent <Registry...> elements and use file references there. I don't know enough about shortcuts to know whether that is a viable alternative or not. -- Bryan
-----Original Message----- From: Thomas Singer [mailto:w...@regnis.de] Sent: Tuesday, June 01, 2010 12:18 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Shortcut's icon and strange path I define a desktop shortcut with following line <Shortcut Id="..." Name="..." Target="..." WorkingDirectory="..." Icon="myexe.exe" IconIndex="0" /> and have defined the icon reference as <Icon Id="myexe.exe" SourceFile="path\to\myexe.exe" /> When I install the application and take a look at the symbol path in the created shortcut, I see a strange entry like %SystemRoot%\Installer\{8AF15DBB-442D-4BBC-A1EF-77B70AD64065}\myexe.exe I can't seem to find a way to create a shortcut which will contain the full path to myexe.exe as symbol path. Is it my fault or does Wix/MSI not support that? Thanks in advance. -- Cheers, Tom ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users