making the manual shortcut in the Start menu point to one or other
of the two help files depending on the version of Windows;
fortunately Inno Setup has no difficulty doing that.
git-svn-id: svn://svn.tartarus.org/sgt/putty@7028
cda61777-01e9-0310-a592-
d414129be87e
Source: "psftp.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete\r
Source: "plink.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete\r
Source: "website.url"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete\r
Source: "psftp.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete\r
Source: "plink.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete\r
Source: "website.url"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete\r
+Source: "..\doc\putty.chm"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete\r
Source: "..\doc\putty.hlp"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete\r
Source: "..\doc\putty.cnt"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete\r
Source: "..\LICENCE"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete\r
Source: "..\doc\putty.hlp"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete\r
Source: "..\doc\putty.cnt"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete\r
Source: "..\LICENCE"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete\r
\r
[Icons]\r
Name: "{group}\PuTTY"; Filename: "{app}\putty.exe"\r
\r
[Icons]\r
Name: "{group}\PuTTY"; Filename: "{app}\putty.exe"\r
-Name: "{group}\PuTTY Manual"; Filename: "{app}\putty.hlp"\r
+; We have to fall back from the .chm to the older .hlp file on some Windows\r
+; versions.\r
+Name: "{group}\PuTTY Manual"; Filename: "{app}\putty.chm"; MinVersion: 4.1,5.0\r
+Name: "{group}\PuTTY Manual"; Filename: "{app}\putty.hlp"; OnlyBelowVersion: 4.1,5.0\r
Name: "{group}\PuTTY Web Site"; Filename: "{app}\website.url"\r
Name: "{group}\PSFTP"; Filename: "{app}\psftp.exe"\r
Name: "{group}\PuTTYgen"; Filename: "{app}\puttygen.exe"\r
Name: "{group}\PuTTY Web Site"; Filename: "{app}\website.url"\r
Name: "{group}\PSFTP"; Filename: "{app}\psftp.exe"\r
Name: "{group}\PuTTYgen"; Filename: "{app}\puttygen.exe"\r