I don't think MSI supports that.  See definition of the Icon table 
(http://msdn.microsoft.com/en-us/library/aa369210(v=VS.85).aspx)



-----Original Message-----
From: Sylvain Petreolle [mailto:sylv...@mhzwireless.com] 
Sent: Tuesday, May 04, 2010 3:26 AM
To: Wix-Users
Subject: [WiX-users] Creating a shortcut : using shell32 common icons ?

Hello,

I managed to create a shortcut that has an icon located into the Windows
shell32 library.
However, the created package currently embeds the shell32 file instead of 
linking to it.
My current definition of the shortcut looks like this, could someone point me 
into the correct direction ?

Code:
<Shortcut Id="desktopFlashLuxinet10" Directory="DesktopFolder" 
Name="FlashLuxinet Wix 1.0"
                 WorkingDirectory='INSTALLLOCATION' 
Icon="FlashLuxinetIcon.exe" IconIndex="12"  Advertise="yes"  /> ....
<Icon Id="FlashLuxinetIcon.exe" 
Sourcefile="C:\WINDOWS\system32\shell32.dll" />

--
Best regards,
Sylvain Petreolle
Mhz Wireless


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

Reply via email to