It is the KeyPath for the component containing the shortcut. See Ilya's
answer for that. Shortcuts cannot (unfortunately) be KeyPaths and there is
an ICE test that more-or-less demands that shortcut's have an HKCU registry
as their keypath. The content of the registry doesn't matter, so use your
content instead of the "1" in the example.

-----Original Message-----
From: Martin Maurer [mailto:capiman26061...@gmx.de] 
Sent: Sunday, May 23, 2010 10:13 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Some beginner's questions about WIX

4) When creating a shortcut (i took an example from delivered WiX help file
and modified it), there is the following line:

<RegistryValue Root="HKCU" Key="Software\MyTool" Name="installed"
Type="integer" Value="1" KeyPath="yes"/>

For what is it ? Is the Name (="installed") relevant or can i take every
name (e.g. wxs_installed) ? I ask, because my tool has a registry entry,
with same name (but string) and different content. So i must change the one
or the other to avoid a conflict...



------------------------------------------------------------------------------

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

Reply via email to