[wix-users] Start Menu, Windows 10

Douglas, Keith (STATCAN) keith.douglas at canada.ca
Wed Jun 29 07:18:29 PDT 2016


      <Directory Id="DesktopFolder" Name="Desktop">
        <Component Id="Shortcuts" Guid="37aa8635-481b-4bcd-8b34-567d7422b97f">
          <RegistryKey Root="HKCU" Key="Software\Statistics Canada\test" Action="createAndRemoveOnUninstall">
            <RegistryValue Name="ID8330f8cd_e5e6_48c3_8756_7d75787eca81" Value="1" Type="integer" KeyPath="yes" />
          </RegistryKey>
          <util:InternetShortcut Id="Shortcut0" Name="CMP Offline" Target="http://localhost:8080/" Directory="DesktopFolder" />
          <util:InternetShortcut Id="Shortcut1" Name="CMP Offline" Target="http://localhost:8080/" Directory="ProgramMenuFolder" />
        </Component>
      </Directory>
      <Directory Id="ProgramMenuFolder" />

I use the above to attempt to add a shortcut to an URL in Windows 10. The desktop one works, albeit with the initial "How do you wish to open this app" dialogue.
The start menu one does not seem to work. I realize that I am putting both as a descendant of DesktopFolder, but from what I understand the Directory attribute should override this anyway.

What should I be doing to get a Start Menu shortcut in Windows 10? I read something that suggests that it is not possible unless one's item is a Windows Store application. Is that correct?
(Also, can one automatically launch Edge and not have the "How ..." ever show up?)

Thanks,


Keith Douglas

Programmer Analyst, Collection Systems Division
Statistics Canada / Government of Canada
Keith.Douglas at canada.ca<mailto:Keith.Douglas at canada.ca> / Tel : 613-854-5589

Programmeur analyste, Division des systèmes de collecte
Statistique Canada / Gouvernenment du Canada
Keith.Douglas at canada.ca<mailto:Keith.Douglas at canada.ca> / Tél :613-854-5589





More information about the wix-users mailing list