; -*- no -*-\r
-; $Id$\r
;\r
-; -- Inno Setup installer script for PuTTY and its related tools.\r
-; Last tested with Inno Setup 5.0.8.\r
+; -- Legacy Inno Setup installer script for PuTTY and its related tools.\r
+; Last tested with Inno Setup 5.5.9.\r
+; (New work should go to the MSI installer; see installer.wxs.)\r
;\r
; TODO for future releases:\r
;\r
\r
[Setup]\r
AppName=PuTTY\r
-AppVerName=PuTTY version 0.61\r
-VersionInfoTextVersion=Release 0.61\r
-AppVersion=0.61\r
-VersionInfoVersion=0.61.0.0\r
+AppVerName=PuTTY version 0.67\r
+VersionInfoTextVersion=Release 0.67\r
+AppVersion=0.67\r
+VersionInfoVersion=0.67.0.0\r
AppPublisher=Simon Tatham\r
AppPublisherURL=http://www.chiark.greenend.org.uk/~sgtatham/putty/\r
AppReadmeFile={app}\README.txt\r
;ChangesEnvironment=yes -- when PATH munging is sorted (probably)\r
Compression=zip/9\r
AllowNoIcons=yes\r
+OutputBaseFilename=installer\r
\r
[Files]\r
; We flag all files with "restartreplace" et al primarily for the benefit\r
; reboot" option, but the developers have no interest in adding one.\r
; NB: apparently, using long (non-8.3) filenames with restartreplace is a\r
; bad idea. (Not that we do.)\r
-Source: "putty.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete\r
-Source: "pageant.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete\r
-Source: "puttygen.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete\r
-Source: "pscp.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion 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: "build32\putty.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete\r
+Source: "build32\pageant.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete\r
+Source: "build32\puttygen.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete\r
+Source: "build32\pscp.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete\r
+Source: "build32\psftp.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete\r
+Source: "build32\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
Root: HKCR; Subkey: "PuTTYPrivateKey\shell\edit\command"; ValueType: string; ValueName: ""; ValueData: """{app}\puttygen.exe"" ""%1"""; Tasks: associate\r
; Add to PATH on NT-class OS?\r
\r
-[UninstallRun]\r
-; -cleanup-during-uninstall is an undocumented option that tailors the\r
-; message displayed.\r
-; XXX: it would be nice if this task weren't run if a silent uninstall is\r
-; requested, but "skipifsilent" is disallowed.\r
-Filename: "{app}\putty.exe"; Parameters: "-cleanup-during-uninstall"; RunOnceId: "PuTTYCleanup"; StatusMsg: "Cleaning up saved sessions etc (optional)..."\r
-\r
[Messages]\r
; Since it's possible for the user to be asked to restart their computer,\r
; we should override the default messages to explain exactly why, so they\r
FinishedRestartMessage=One or more [name] programs are still running.%nSetup will not replace these program files until you restart your computer.%n%nWould you like to restart now?\r
; ...and this comes up if you try to uninstall.\r
UninstalledAndNeedsRestart=One or more %1 programs are still running.%nThe program files will not be removed until your computer is restarted.%n%nWould you like to restart now?\r
+; Old versions of this installer used to prompt to remove saved settings\r
+; and the like after the point this message was printed, so it seems\r
+; polite to warn people that that no longer happens.\r
+ConfirmUninstall=Are you sure you want to completely remove %1 and all of its components?%n%nNote that this will not remove any saved sessions or random seed file that %1 has created. These are harmless to leave on your system, but if you want to remove them, you should answer No here and run 'putty.exe -cleanup' before you uninstall.\r