See
http://robmensching.com/blog/posts/2007/4/27/How-to-create-an-uninstall-shor
tcut-and-pass-all-the

Alex



-----Original Message-----
From: slmnow [mailto:slm...@hotmail.com] 
Sent: Thursday, May 07, 2009 7:24 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Creating Internet Shorcuts


I'm getting this error msg:

ICE38: Component ApplicationShortcut installs to user profile. It's KeyPath
registry key must fall under HKCU.      C:\Documents and
Settings\mcgeed.PASA\Desktop\Kiss2009r011_050609\DejaVu Setup\Setup.wxs

 Source:

  <DirectoryRef Id="MyProgramMenuDir">
      <Component Id="ApplicationShortcut" Guid="{MY-GUID}">
        <util:InternetShortcut Id="OnlineDocumentationShortcut"
                   Name="My Online Documentation"
                   Target="http://www.wixwiki.com/"/>
        <RegistryValue   Root="HKLM"
Key="Software\Microsoft\$(var.ProductShortName)" Name="installed"
Type="integer" Value="1" />
      </Component>
    </DirectoryRef>

My package is set to InstallScope="perMachine" so I have no idea why I'm
getting this message.  
Changing Root to HKCU fixes the message but has a minor but annoying side
effect.  The registry entry is left behind if the program is installed under
one user then uninstalled under another.  Is there a way to create the
shortcut without using '<RegistryValue/>'?


-- 
View this message in context:
http://n2.nabble.com/Creating-Internet-Shorcuts-tp2828391p2828391.html
Sent from the wix-users mailing list archive at Nabble.com.


----------------------------------------------------------------------------
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to