After some trial and error I've found that adding the following to my Component (containing the Shortcut)
<RegistryValue Root='HKCU' Key='Software\[Manufacturer]\[ProductName]' Type='string' Value='' KeyPath='yes' /> ...makes it all work. I'm a bit concerned because I've used the Software\[Manufacturer]\[ProductName] registry key as the "key path" for another component (the start menu folder itself) and I read somewhere that key paths should not be reused between components. Still, it works in my tests currently. -Stephen -----Original Message----- From: Stephen Brooks Sent: Friday, March 30, 2012 8:33 PM To: wix-users@lists.sourceforge.net Subject: Re: Creating a shortcut to a directory Hi, Complete WiX beginner here. I've managed to create a Start Menu folder with shortcuts to files in it (by using Shortcut elements nested inside the File element of the destination, which in turn is inside a Component element). But I want to create a shortcut to the installation *directory* itself so the users can edit some of the files there. Putting Shortcut inside a Directory doesn't seem to work. I feel I have to put Shortcut in a Component somehow but haven't managed to make it work. If anyone can give a short example of creating a shortcut-to-a-folder in the Start Menu, that would be great. -Stephen ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users