Hi Oliver,

You need to create a component with:

-          Registry key in HKCU which is a keypath of the component;

-          Shortcut.

You can find more explanation and example here:
http://robmensching.com/blog/archive/2007/04/27/How-to-create-an-uninstall-shortcut-and-pass-all-the.aspx

Regards,
Alex



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Oliver Fairfoul
Sent: Friday, February 15, 2008 9:46 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Non-advertised Shortcuts

Dear all,

I've been experiencing a problem with WiX shortcuts.
For reasons I won't go into now I need to use non-advertised shortcuts to 
reference my executables (a shortcut with an absolute target)
However, When compiling I get the following error:
"error LGHT0204 : ICE43: Component ShortcutComponnent has non-advertised 
shortcuts. It should use a registry key under HKCU as its KeyPath, not a file."

How would I go about setting this registry key as I cannot find any references 
to this on the internet anywhere.

Any help would be much appreciated.

Thanks in advance,

Oliver Fairfoul
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to