Hmm, does this blog entry help:
http://robmensching.com/blog/posts/2007/4/27/How-to-create-an-uninstall-shortcut-and-pass-all-the

On Tue, Aug 10, 2010 at 4:35 PM, Vijai Kalyanapasupathy <
[email protected]> wrote:

> 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:[email protected] <sip%[email protected]>>
>
>
> ------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to