Derek,

Okay, the subtle approach didn't work. Now I'll try the less subtle
version of my question ;-)... 

I don't really understand how a registry key is associated with a
shortcut - shortcuts are files in the file system, not registry keys,
AFAIK. This is a more fundamental question. Perhaps it would be more
obvious to me what I should do if I understood the more base concept. 

What does it actually mean to "create any HKCU registry key I like, and
use it as the keypath"? Can you give me an example of doing this? I just
don't understand the reason why this has to be done (nor do I understand
the actual syntax of doing it, but if I understood the meaning of
associating a registry key in the User hive with a shortcut, perhaps I
could glean the syntax on my own. :)

Thanks in advance,
John

>>> "Derek Cicerone" <[EMAIL PROTECTED]> 7/24/2006 4:32 PM
>>>
It's a very good question actually and I've seen no solid
recommendation on
a best-practice approach.  I think you can create any HKCU registry key
you
like and use it as the keypath (so long as each component has a
different
key).  This issue comes up often so I'll see if I can learn more, but
that's
what I know so far.

Derek

-----Original Message-----
From: John Calcote [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 24, 2006 3:27 PM
To: wix-users@lists.sourceforge.net; [EMAIL PROTECTED] 
Subject: RE: [WiX-users] ORCA validation issue with wix
generatedinstaller

Thanks Derek,

Can you recommend the proper WiX construct for creating the HKCU key
associated with the shortcuts - I have several of these messages, and
I
want to do it the right way, not experiment for days until I come up
with the proper one accidentally. :) I've looked in the Tutorial and
Help documents and I can't find a reference to this issue. If you know
where the information is, please feel free to refer me to the proper
pages.

Thanks,
John

>>> "Derek Cicerone" <[EMAIL PROTECTED]> 7/24/2006 3:21 PM
>>>
That means that the component needs to have a registry key under HKCU
as its
keypath.  This supports installation of per-user shortcuts for a
per-machine
installation.

Alternatively, you could switch to advertised shortcuts by specifying
Advertise="yes" on the Shortcut elements.  However, advertised
shortcuts may
cause undesirable demand-install behavior.

Derek

-----Original Message-----
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of John
Calcote
Sent: Monday, July 24, 2006 12:18 PM
To: wix-users@lists.sourceforge.net 
Subject: [WiX-users] ORCA validation issue with wix generated
installer

Hi,

Can anyone tell me what the following error message from the Orca
Validator means:

ICE43   ERROR   Component PROGUID_comp has non-advertised shortcuts. It
should use a registry key under HKCU as its KeyPath, not a file.

??

Thanks,
John

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
share
your
opinions on IT & business topics through brief surveys -- and earn
cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wix-users 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to