I have looked around all day for solutions to this issue, but I couldn't find anything that actually worked.
Here is what I had originally:- <DirectoryRef Id="DesktopFolder"> <Component Id="SkyAdminDesktopShortcut" Guid="E69C9AAC-3BB5-4730-B65A-976923D69821" Win64="$(var.is64bit)"> <Shortcut Id="SkyAdminDesktopShortcut" Directory="DesktopFolder" Name="AdminCon" LongName="LiveId Admin Console" WorkingDirectory="INSTALLDIR" Target="[WindowsFolder]\System32\WindowsPowerShell\v1.0\powershell.exe" Arguments="foo"/> <CreateFolder/> </Component> </DirectoryRef> I got ICE38 and ICE43 errors:- skyadminserver.wxs(20) : error LGHT0204 : ICE38: Component SkyAdminDesktopShortcut installsto user profile. It must use a registry key under HKCU as its KeyPath, not a file. skyadminserver.wxs(20) : error LGHT0204 : ICE43: Component SkyAdminDesktopShortcut has non-advertised shortcuts. It should use a registry key under HKCU as its KeyPath, not a file. I read up on this issue and based on what I could find this can be solved via two different tacks:- 1. Set the shortcut to be an advertised shortcut. I didn't think this will work; I tried it anyway and it didn't. 2. Add a registry entry under HKCU that acts as the key path for the component. I tried this by adding the following:- <RegistryValue Id="RegShortcutDesktop" Root="HKCU" Key="SOFTWARE\Microsoft\$(var.GroupName)" Name="Installed" Value="1" Type="integer" KeyPath="yes" /> Which resulted in:- <DirectoryRef Id="DesktopFolder"> <Component Id="SkyAdminDesktopShortcut" Guid="E69C9AAC-3BB5-4730-B65A-976923D69821" Win64="$(var.is64bit)"> <RegistryValue Id="RegShortcutDesktop" Root="HKCU" Key="SOFTWARE\Microsoft\$(var.GroupName)" Name="Installed" Value="1" Type="integer" KeyPath="yes" /> <Shortcut Id="SkyAdminDesktopShortcut" Directory="DesktopFolder" Name="AdminCon" LongName="LiveId Admin Console" WorkingDirectory="INSTALLDIR" Target="[WindowsFolder]\System32\WindowsPowerShell\v1.0\powershell.exe" Arguments="foo"/> <CreateFolder/> </Component> </DirectoryRef> But that still didn't solve this problem. I get exactly the same errors are the previous one. What am I doing wrong? Thanks, Vijai Kalyan<sip:vkal...@microsoft.com> ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users