[wix-users] Functioning of Internet Shortcut depends upon Target Value
Hoover, Jacob
Jacob.Hoover at greenheck.com
Thu Jun 29 08:54:24 PDT 2017
Have you looked at using util:InternetShortcut? (xmlns:util="http://schemas.microsoft.com/wix/UtilExtension")
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Kevin G. Joback
Sent: Wednesday, June 28, 2017 6:39 PM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Functioning of Internet Shortcut depends upon Target Value
I have been reading about internet shortcuts all day but still have a question. I have the following shortcut component:
<!-- Website shortcut -->
<ComponentGroup Id="cgShortcuts" Directory="dirShortcuts">
<Component Id="compWebsiteShortcut" Guid="some guid">
<Shortcut Id="shortcutWebsite" Name="MKS Website" Target="[MKSWebsite]"
Icon="iconWeb" />
<RegistryValue Root="HKCU"
Key="Software\MKS\$(var.mksProductName)\Shortcuts"
Name="webShortCut" Type="integer" Value="1" KeyPath="yes" />
<RemoveFolder Id="remWebsiteMenu" On="uninstall"/>
</Component>
</ComponentGroup>
When I set the MKSWebsite property to:
<Property Id="MKSWebsite" Value="http://www.molknow.com" />
a shortcut in the appropriate "windows shortcuts" folder is created and a menu item is added to the Start Menu.
When I set the MKSWebsite property to:
<Property Id="MKSWebsite" Value="http://www.molecularknowledge.com" />
a shortcut in the appropriate "windows shortcuts" folder is created (the shortcut works when you click on it) but no menu item is added to the Start Menu.
The two websites molknow.com and molecularknowledge.com both "point" to the same set of files. (Sorry I do not know the correct terminology.)
Any ideas why using the value of molecularknowledge.com does not fully work?
Thank you,
Kevin
Kevin G. Joback, PhD
Molecular Knowledge Systems, Inc.
<http://www.molecularknowledge.com/> http://www.molecularknowledge.com
Phone: 1-603-472-5315 (USA GMT-4:00)
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list