Hi, I have a component with an advertised shortcut setup as follows:
<Component Guid="myguid" Id="myID" Shared="no" Permanent="no" DiskId="1"> <File Source="..\..\mydir\myfile.txt" Name="myfile.txt" Id="myfile.txt" KeyPath="yes"> <Shortcut Name="My Text File" Id="myfilesct" Description="My Text File" Directory="MyProgMenuFolder" Advertise="yes" /> </File> </Component> This gives me a blank icon. Is there a way to use default windows icons on advertised shortcuts? I have tried using non-advertised (which works) but it seems way over-complicated, and I still haven't resolved per-user/per-machine issues with doing that. I have seen examples that use the related executable to get the icon (e.g. notepad.exe) but the side effect of that is it seems to package whatever executable you choose into the MSI itself, and this also doesn't lend itself to using the user's default icons. Can someone please help to point out examples (either advertised or not) that use the windows default icon and don't end up packing in a foreign executable. Thanks in advance. Regards, Troy Simpson ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users