Bump version number prior to tagging 0.63.
[sgt/putty] / windows / putty.iss
CommitLineData
53d879ad 1; -*- no -*-\r
8855e10a 2; $Id$\r
53d879ad 3;\r
4; -- Inno Setup installer script for PuTTY and its related tools.\r
ffa04ed5 5; Last tested with Inno Setup 5.0.8.\r
53d879ad 6;\r
7; TODO for future releases:\r
8;\r
a6551274 9; - It might be nice to have an option to add PSCP, Plink and PSFTP to\r
8855e10a 10; the PATH. See wish `installer-addpath'.\r
53d879ad 11;\r
8855e10a 12; - Maybe a "custom" installation might be useful? Hassle with\r
13; UninstallDisplayIcon, though.\r
53d879ad 14\r
15[Setup]\r
16AppName=PuTTY\r
4d9b8cfd 17AppVerName=PuTTY version 0.63\r
18VersionInfoTextVersion=Release 0.63\r
19AppVersion=0.63\r
20VersionInfoVersion=0.63.0.0\r
a6551274 21AppPublisher=Simon Tatham\r
22AppPublisherURL=http://www.chiark.greenend.org.uk/~sgtatham/putty/\r
23AppReadmeFile={app}\README.txt\r
53d879ad 24DefaultDirName={pf}\PuTTY\r
25DefaultGroupName=PuTTY\r
65fdaa9f 26SetupIconFile=puttyins.ico\r
53d879ad 27UninstallDisplayIcon={app}\putty.exe\r
28ChangesAssociations=yes\r
a6551274 29;ChangesEnvironment=yes -- when PATH munging is sorted (probably)\r
53d879ad 30Compression=zip/9\r
a6551274 31AllowNoIcons=yes\r
53d879ad 32\r
33[Files]\r
8855e10a 34; We flag all files with "restartreplace" et al primarily for the benefit\r
35; of unattended un/installations/upgrades, when the user is running one\r
36; of the apps at a time. Without it, the operation will fail noisily in\r
37; this situation.\r
38; This does mean that the user will be prompted to restart their machine\r
39; if any of the files _were_ open during installation (or, if /VERYSILENT\r
40; is used, the machine will be restarted automatically!). The /NORESTART\r
41; flag avoids this.\r
42; It might be nicer to have a "no worries, replace the file next time you\r
43; reboot" option, but the developers have no interest in adding one.\r
44; NB: apparently, using long (non-8.3) filenames with restartreplace is a\r
45; bad idea. (Not that we do.)\r
46Source: "putty.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete\r
47Source: "pageant.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete\r
48Source: "puttygen.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete\r
49Source: "pscp.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete\r
50Source: "psftp.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete\r
51Source: "plink.exe"; DestDir: "{app}"; Flags: promptifolder replacesameversion restartreplace uninsrestartdelete\r
52Source: "website.url"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete\r
9694f371 53Source: "..\doc\putty.chm"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete\r
8855e10a 54Source: "..\doc\putty.hlp"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete\r
55Source: "..\doc\putty.cnt"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete\r
56Source: "..\LICENCE"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete\r
f30a150f 57Source: "README.txt"; DestDir: "{app}"; Flags: isreadme restartreplace uninsrestartdelete\r
53d879ad 58\r
59[Icons]\r
8855e10a 60Name: "{group}\PuTTY"; Filename: "{app}\putty.exe"\r
9694f371 61; We have to fall back from the .chm to the older .hlp file on some Windows\r
62; versions.\r
63Name: "{group}\PuTTY Manual"; Filename: "{app}\putty.chm"; MinVersion: 4.1,5.0\r
64Name: "{group}\PuTTY Manual"; Filename: "{app}\putty.hlp"; OnlyBelowVersion: 4.1,5.0\r
a6551274 65Name: "{group}\PuTTY Web Site"; Filename: "{app}\website.url"\r
8855e10a 66Name: "{group}\PSFTP"; Filename: "{app}\psftp.exe"\r
67Name: "{group}\PuTTYgen"; Filename: "{app}\puttygen.exe"\r
68Name: "{group}\Pageant"; Filename: "{app}\pageant.exe"\r
a6551274 69Name: "{commondesktop}\PuTTY"; Filename: "{app}\putty.exe"; Tasks: desktopicon\common\r
70Name: "{userdesktop}\PuTTY"; Filename: "{app}\putty.exe"; Tasks: desktopicon\user\r
71; Putting this in {commonappdata} doesn't seem to work, on 98SE at least.\r
72Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\PuTTY"; Filename: "{app}\putty.exe"; Tasks: quicklaunchicon\r
53d879ad 73\r
74[Tasks]\r
a6551274 75Name: desktopicon; Description: "Create a &desktop icon for PuTTY"; GroupDescription: "Additional icons:"; Flags: unchecked\r
76Name: desktopicon\common; Description: "For all users"; GroupDescription: "Additional icons:"; Flags: exclusive unchecked\r
77Name: desktopicon\user; Description: "For the current user only"; GroupDescription: "Additional icons:"; Flags: exclusive unchecked\r
78Name: quicklaunchicon; Description: "Create a &Quick Launch icon for PuTTY (current user only)"; GroupDescription: "Additional icons:"; Flags: unchecked\r
79Name: associate; Description: "&Associate .PPK files (PuTTY Private Key) with Pageant and PuTTYgen"; GroupDescription: "Other tasks:"\r
53d879ad 80\r
81[Registry]\r
82Root: HKCR; Subkey: ".ppk"; ValueType: string; ValueName: ""; ValueData: "PuTTYPrivateKey"; Flags: uninsdeletevalue; Tasks: associate\r
83Root: HKCR; Subkey: "PuTTYPrivateKey"; ValueType: string; ValueName: ""; ValueData: "PuTTY Private Key File"; Flags: uninsdeletekey; Tasks: associate\r
84Root: HKCR; Subkey: "PuTTYPrivateKey\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\pageant.exe,0"; Tasks: associate\r
85Root: HKCR; Subkey: "PuTTYPrivateKey\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\pageant.exe"" ""%1"""; Tasks: associate\r
86Root: HKCR; Subkey: "PuTTYPrivateKey\shell\edit"; ValueType: string; ValueName: ""; ValueData: "&Edit"; Tasks: associate\r
87Root: HKCR; Subkey: "PuTTYPrivateKey\shell\edit\command"; ValueType: string; ValueName: ""; ValueData: """{app}\puttygen.exe"" ""%1"""; Tasks: associate\r
a6551274 88; Add to PATH on NT-class OS?\r
89\r
90[UninstallRun]\r
91; -cleanup-during-uninstall is an undocumented option that tailors the\r
92; message displayed.\r
8855e10a 93; XXX: it would be nice if this task weren't run if a silent uninstall is\r
94; requested, but "skipifsilent" is disallowed.\r
a6551274 95Filename: "{app}\putty.exe"; Parameters: "-cleanup-during-uninstall"; RunOnceId: "PuTTYCleanup"; StatusMsg: "Cleaning up saved sessions etc (optional)..."\r
ffa04ed5 96\r
97[Messages]\r
98; Since it's possible for the user to be asked to restart their computer,\r
99; we should override the default messages to explain exactly why, so they\r
100; can make an informed decision. (Especially as 95% of users won't need or\r
101; want to restart; see rant above.)\r
102FinishedRestartLabel=One or more [name] programs are still running. Setup will not replace these program files until you restart your computer. Would you like to restart now?\r
103; This message is popped up in a message box on a /SILENT install.\r
104FinishedRestartMessage=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
105; ...and this comes up if you try to uninstall.\r
106UninstalledAndNeedsRestart=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