Hi,

I have a wix project that places a shortcut in a subfolder in the users start 
menu, when I change the source to set the ALLUSERS property to 1 I get the 
shortcut in the correct place but the permissions of the shortcut are incorrect 
resulting in users not having access to the shortcut. Only system and the 
installer service account have permissions for the shortcut.

Below are the parts that I use to install the shortcut onto the start menu.

<Directory Id="TARGETDIR" Name="SourceDir">
  <Directory Id="StartMenuFolder">
    <Directory Id="MyProgramFolder" Name="PROGRAM">
    </Directory>
  </Directory>
</Directory>


<DirectoryRef Id="MyProgramFolder">
  <Component Id="ProgramFolderShortcut" Guid="{GUID}">
    <Shortcut Id="ProgramProgramFolderShortcut"
             Name="Program"
              Description="Program UI"
              Target="[INSTALLLOCATION]Program.exe"/>
    <RemoveFolder Id="MyProgramFolder" On="uninstall"/>
    <RegistryValue Root="HKCU" Key="Software\Company\ProgramUI" 
Name="installed" Type="integer" Value="1" KeyPath="yes"/>
  </Component>
</DirectoryRef>

I hope someone has a solution for me

------------------------------------------------------------------------------
RSA&#174; Conference 2012
Save $700 by Nov 18
Register now&#33;
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to