]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - windows/putty.iss
Stop using MS-deprecated names stricmp and strnicmp.
[PuTTY.git] / windows / putty.iss
index 46a818c1fe0d0ecd25e3b8117a52df92a27b25a7..37b0ecdcd70fb4787331e84440da51b46e357443 100644 (file)
@@ -1,7 +1,8 @@
 ; -*- no -*-\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
@@ -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\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
@@ -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?\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