[wix-users] Functioning of Internet Shortcut depends upon Target Value

Kevin G. Joback kevin at molecularknowledge.com
Wed Jun 28 16:39:29 PDT 2017


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)

 



More information about the wix-users mailing list