From: Simon Tatham Date: Thu, 23 Feb 2017 18:24:11 +0000 (+0000) Subject: Set our explicit AppUserModelID on our Start Menu shortcut. X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=4c67f0b060a8eb392063b055839d85c6d9913e94;p=PuTTY.git Set our explicit AppUserModelID on our Start Menu shortcut. This is apparently the other half of what we should have done when we called SetCurrentProcessExplicitAppUserModelID at run time: it associates to PuTTY's Start Menu shortcut the same identifier that we give to the running PuTTY process, so that jump lists saved under the latter will be visible to users mousing over the former. I've also done the same thing to the desktop shortcut, just in case that does anything useful. --- diff --git a/windows/installer.wxs b/windows/installer.wxs index c5455dd5..4a720e40 100644 --- a/windows/installer.wxs +++ b/windows/installer.wxs @@ -139,7 +139,15 @@ Source="$(var.Builddir)putty.exe" KeyPath="yes"> + Name="PuTTY" Advertise="no"> + + + + Name="$(var.ProgramName)" Advertise="no"> + + + diff --git a/windows/putty.iss b/windows/putty.iss index 5ecabb78..dda68f63 100644 --- a/windows/putty.iss +++ b/windows/putty.iss @@ -58,7 +58,7 @@ Source: "..\LICENCE"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete Source: "README.txt"; DestDir: "{app}"; Flags: isreadme restartreplace uninsrestartdelete [Icons] -Name: "{group}\PuTTY"; Filename: "{app}\putty.exe" +Name: "{group}\PuTTY"; Filename: "{app}\putty.exe"; AppUserModelID: "SimonTatham.PuTTY" ; We have to fall back from the .chm to the older .hlp file on some Windows ; versions. Name: "{group}\PuTTY Manual"; Filename: "{app}\putty.chm"; MinVersion: 4.1,5.0 @@ -67,8 +67,8 @@ Name: "{group}\PuTTY Web Site"; Filename: "{app}\website.url" Name: "{group}\PSFTP"; Filename: "{app}\psftp.exe" Name: "{group}\PuTTYgen"; Filename: "{app}\puttygen.exe" Name: "{group}\Pageant"; Filename: "{app}\pageant.exe" -Name: "{commondesktop}\PuTTY"; Filename: "{app}\putty.exe"; Tasks: desktopicon\common -Name: "{userdesktop}\PuTTY"; Filename: "{app}\putty.exe"; Tasks: desktopicon\user +Name: "{commondesktop}\PuTTY"; Filename: "{app}\putty.exe"; Tasks: desktopicon\common; AppUserModelID: "SimonTatham.PuTTY" +Name: "{userdesktop}\PuTTY"; Filename: "{app}\putty.exe"; Tasks: desktopicon\user; AppUserModelID: "SimonTatham.PuTTY" ; Putting this in {commonappdata} doesn't seem to work, on 98SE at least. Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\PuTTY"; Filename: "{app}\putty.exe"; Tasks: quicklaunchicon