Mention the potential networked-CHM problem in the post-installer
[sgt/putty] / windows / putty.iss
index 01a7374..3652960 100644 (file)
@@ -22,6 +22,7 @@ AppPublisherURL=http://www.chiark.greenend.org.uk/~sgtatham/putty/
 AppReadmeFile={app}\README.txt\r
 DefaultDirName={pf}\PuTTY\r
 DefaultGroupName=PuTTY\r
+SetupIconFile=installer.ico\r
 UninstallDisplayIcon={app}\putty.exe\r
 ChangesAssociations=yes\r
 ;ChangesEnvironment=yes -- when PATH munging is sorted (probably)\r
@@ -48,14 +49,18 @@ Source: "pscp.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion re
 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: "..\README.txt"; DestDir: "{app}"; Flags: isreadme restartreplace uninsrestartdelete\r
+Source: "README.txt"; DestDir: "{app}"; Flags: isreadme restartreplace uninsrestartdelete\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