4 ; -- Inno Setup installer script for PuTTY and its related tools.
\r
6 ; TODO for future releases:
\r
8 ; - It might be nice to have an option to add PSCP, Plink and PSFTP to
\r
9 ; the PATH. This is probably only practical on NT-class systems; I
\r
10 ; believe doing this on 9x would require mucking around with
\r
13 ; - Maybe a "custom" installation might be useful? Hassle with icons,
\r
18 AppVerName=PuTTY version 0.57
\r
19 VersionInfoTextVersion=Release 0.57
\r
21 ;FIXME -- enable this when we've got it going for individual EXEs too
\r
22 ; and are committed to the version numbering scheme.
\r
23 ;VersionInfoVersion=0.57.0.0
\r
24 AppPublisher=Simon Tatham
\r
25 AppPublisherURL=http://www.chiark.greenend.org.uk/~sgtatham/putty/
\r
26 AppReadmeFile={app}\README.txt
\r
27 DefaultDirName={pf}\PuTTY
\r
28 DefaultGroupName=PuTTY
\r
29 UninstallDisplayIcon={app}\putty.exe
\r
30 ChangesAssociations=yes
\r
31 ;ChangesEnvironment=yes -- when PATH munging is sorted (probably)
\r
36 Source: "putty.exe"; DestDir: "{app}"
\r
37 Source: "pageant.exe"; DestDir: "{app}"
\r
38 Source: "puttygen.exe"; DestDir: "{app}"
\r
39 Source: "pscp.exe"; DestDir: "{app}"
\r
40 Source: "psftp.exe"; DestDir: "{app}"
\r
41 Source: "plink.exe"; DestDir: "{app}"
\r
42 Source: "website.url"; DestDir: "{app}"
\r
43 Source: "..\doc\putty.hlp"; DestDir: "{app}"
\r
44 Source: "..\doc\putty.cnt"; DestDir: "{app}"
\r
45 Source: "..\LICENCE"; DestDir: "{app}"
\r
46 Source: "..\README.txt"; DestDir: "{app}"; Flags: isreadme
\r
49 Name: "{group}\PuTTY"; Filename: "{app}\putty.exe"; Comment: "SSH, Telnet and Rlogin client";
\r
50 Name: "{group}\PuTTY Manual"; Filename: "{app}\putty.hlp"
\r
51 Name: "{group}\PuTTY Web Site"; Filename: "{app}\website.url"
\r
52 Name: "{group}\PSFTP"; Filename: "{app}\psftp.exe"; Comment: "Command-line interactive SFTP client"
\r
53 Name: "{group}\PuTTYgen"; Filename: "{app}\puttygen.exe"; Comment: "PuTTY SSH key generation utility"
\r
54 Name: "{group}\Pageant"; Filename: "{app}\pageant.exe"; Comment: "PuTTY SSH authentication agent"
\r
55 Name: "{commondesktop}\PuTTY"; Filename: "{app}\putty.exe"; Tasks: desktopicon\common
\r
56 Name: "{userdesktop}\PuTTY"; Filename: "{app}\putty.exe"; Tasks: desktopicon\user
\r
57 ; Putting this in {commonappdata} doesn't seem to work, on 98SE at least.
\r
58 Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\PuTTY"; Filename: "{app}\putty.exe"; Tasks: quicklaunchicon
\r
61 Name: desktopicon; Description: "Create a &desktop icon for PuTTY"; GroupDescription: "Additional icons:"; Flags: unchecked
\r
62 Name: desktopicon\common; Description: "For all users"; GroupDescription: "Additional icons:"; Flags: exclusive unchecked
\r
63 Name: desktopicon\user; Description: "For the current user only"; GroupDescription: "Additional icons:"; Flags: exclusive unchecked
\r
64 Name: quicklaunchicon; Description: "Create a &Quick Launch icon for PuTTY (current user only)"; GroupDescription: "Additional icons:"; Flags: unchecked
\r
65 Name: associate; Description: "&Associate .PPK files (PuTTY Private Key) with Pageant and PuTTYgen"; GroupDescription: "Other tasks:"
\r
68 Root: HKCR; Subkey: ".ppk"; ValueType: string; ValueName: ""; ValueData: "PuTTYPrivateKey"; Flags: uninsdeletevalue; Tasks: associate
\r
69 Root: HKCR; Subkey: "PuTTYPrivateKey"; ValueType: string; ValueName: ""; ValueData: "PuTTY Private Key File"; Flags: uninsdeletekey; Tasks: associate
\r
70 Root: HKCR; Subkey: "PuTTYPrivateKey\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\pageant.exe,0"; Tasks: associate
\r
71 Root: HKCR; Subkey: "PuTTYPrivateKey\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\pageant.exe"" ""%1"""; Tasks: associate
\r
72 Root: HKCR; Subkey: "PuTTYPrivateKey\shell\edit"; ValueType: string; ValueName: ""; ValueData: "&Edit"; Tasks: associate
\r
73 Root: HKCR; Subkey: "PuTTYPrivateKey\shell\edit\command"; ValueType: string; ValueName: ""; ValueData: """{app}\puttygen.exe"" ""%1"""; Tasks: associate
\r
74 ; Add to PATH on NT-class OS?
\r
77 ; -cleanup-during-uninstall is an undocumented option that tailors the
\r
78 ; message displayed.
\r
79 Filename: "{app}\putty.exe"; Parameters: "-cleanup-during-uninstall"; RunOnceId: "PuTTYCleanup"; StatusMsg: "Cleaning up saved sessions etc (optional)..."
\r