Hi,

This still has not been resolved.

My shortcut is nested under the file, with advertise 'yes' and the file 
is set as the key file.
The shortcut is created OK however the icon is not correct until the 
first time the shortcut is followed.

If I change to advertise="no" I'm told I can't have it under a file 
element. That makes no sense to me, if Advertise is yes I am forced to 
put it under a file element, even though it doesnt nessisarily use the 
file element I put it under....????
If I don't wont to advertise so I can make it use a "specific file"... 
then I can't put it under a file element.

So I remove it from the file element and add a target attribute.... And 
Get.....
ICE03: Not a valid foreign key; Table: Shortcut, Column: Target, ..
ICE43: Component ProductComponent has non-advertised shortcuts. It 
should use a registry key under HKCU as its KeyPath, not a file.
ICE57: Component 'ProductComponent' has both per-user and per-machine 
data with a per-machine KeyPath.

Can someone please post an example of creating a shortcut to a file for 
the current user that has the correct Icon from the start.
If this is not possible with WiX3 then please let us know.


Bob Arnson wrote:
> Riyaz Mogharabin wrote:
>>              <Shortcut IconIndex='0' Name='View Readme' Show='normal' 
>> Directory='ProgramMenuDir' Advertise='yes' Id='readmeShortcut' />
>>
>
> When you use Advertise="yes" Windows Installer creates an advertised 
> shortcut, which always points to the key file of the component. Use 
> Advertise="no" to get a shortcut to the file.
>
> -- 
> sig://boB
> http://joyofsetup.com/
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> ------------------------------------------------------------------------
>
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   


=======================================================================
This email, including any attachments, is only for the intended
addressee.  It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
 altered or corrupted during transmission.
=======================================================================


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to