X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=windows%2Fputty.iss;h=37b0ecdcd70fb4787331e84440da51b46e357443;hb=ac5b13398f47c99cc189eed4538abcccc3c18300;hp=f96791605cfc59ad91846f625e420898e52dbe36;hpb=c968d9fe8ea9a0fabc02ff7a384550ff350e819d;p=PuTTY.git diff --git a/windows/putty.iss b/windows/putty.iss index f9679160..37b0ecdc 100644 --- a/windows/putty.iss +++ b/windows/putty.iss @@ -1,8 +1,8 @@ ; -*- no -*- -; $Id$ ; -; -- Inno Setup installer script for PuTTY and its related tools. -; Last tested with Inno Setup 5.0.8. +; -- Legacy Inno Setup installer script for PuTTY and its related tools. +; Last tested with Inno Setup 5.5.9. +; (New work should go to the MSI installer; see installer.wxs.) ; ; TODO for future releases: ; @@ -14,10 +14,10 @@ [Setup] AppName=PuTTY -AppVerName=PuTTY version 0.62 -VersionInfoTextVersion=Release 0.62 -AppVersion=0.62 -VersionInfoVersion=0.62.0.0 +AppVerName=PuTTY version 0.67 +VersionInfoTextVersion=Release 0.67 +AppVersion=0.67 +VersionInfoVersion=0.67.0.0 AppPublisher=Simon Tatham AppPublisherURL=http://www.chiark.greenend.org.uk/~sgtatham/putty/ AppReadmeFile={app}\README.txt @@ -29,6 +29,7 @@ ChangesAssociations=yes ;ChangesEnvironment=yes -- when PATH munging is sorted (probably) Compression=zip/9 AllowNoIcons=yes +OutputBaseFilename=installer [Files] ; We flag all files with "restartreplace" et al primarily for the benefit @@ -43,12 +44,12 @@ AllowNoIcons=yes ; reboot" option, but the developers have no interest in adding one. ; NB: apparently, using long (non-8.3) filenames with restartreplace is a ; bad idea. (Not that we do.) -Source: "putty.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete -Source: "pageant.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete -Source: "puttygen.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete -Source: "pscp.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete -Source: "psftp.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete -Source: "plink.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete +Source: "build32\putty.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete +Source: "build32\pageant.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete +Source: "build32\puttygen.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete +Source: "build32\pscp.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete +Source: "build32\psftp.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete +Source: "build32\plink.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete Source: "website.url"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete Source: "..\doc\putty.chm"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete Source: "..\doc\putty.hlp"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete @@ -87,13 +88,6 @@ Root: HKCR; Subkey: "PuTTYPrivateKey\shell\edit"; ValueType: string; ValueName: Root: HKCR; Subkey: "PuTTYPrivateKey\shell\edit\command"; ValueType: string; ValueName: ""; ValueData: """{app}\puttygen.exe"" ""%1"""; Tasks: associate ; Add to PATH on NT-class OS? -[UninstallRun] -; -cleanup-during-uninstall is an undocumented option that tailors the -; message displayed. -; XXX: it would be nice if this task weren't run if a silent uninstall is -; requested, but "skipifsilent" is disallowed. -Filename: "{app}\putty.exe"; Parameters: "-cleanup-during-uninstall"; RunOnceId: "PuTTYCleanup"; StatusMsg: "Cleaning up saved sessions etc (optional)..." - [Messages] ; Since it's possible for the user to be asked to restart their computer, ; we should override the default messages to explain exactly why, so they @@ -104,3 +98,7 @@ FinishedRestartLabel=One or more [name] programs are still running. Setup will n 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? ; ...and this comes up if you try to uninstall. 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? +; Old versions of this installer used to prompt to remove saved settings +; and the like after the point this message was printed, so it seems +; polite to warn people that that no longer happens. +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.