4 ; -- Inno Setup installer script for PuTTY and its related tools.
\r
6 ; TODO for future releases:
\r
8 ; - It would be neighbourly to set up an [UninstallRun] entry that ran
\r
9 ; some close cousin of `putty -cleanup', only it should prompt first
\r
10 ; in case the user wants to keep stuff. And make the `leave it alone'
\r
11 ; button the DEFAULT. And perhaps warn that on NT-style systems not
\r
12 ; everything will be caught by this.
\r
14 ; - The Quick Launch bar is an interesting thought. Certainly a fair
\r
15 ; number of people actually _believe_ my silly joke about how PuTTY
\r
16 ; is the only thing that makes Windows usable, so perhaps they'd like
\r
17 ; that. Unchecked by default, though, I think.
\r
18 ; * does this need to be conditional on the Windows version?
\r
22 AppVerName=PuTTY version 0.53
\r
23 DefaultDirName={pf}\PuTTY
\r
24 DefaultGroupName=PuTTY
\r
25 UninstallDisplayIcon={app}\putty.exe
\r
26 ChangesAssociations=yes
\r
30 Source: "putty.exe"; DestDir: "{app}"
\r
31 Source: "pageant.exe"; DestDir: "{app}"
\r
32 Source: "puttygen.exe"; DestDir: "{app}"
\r
33 Source: "pscp.exe"; DestDir: "{app}"
\r
34 Source: "psftp.exe"; DestDir: "{app}"
\r
35 Source: "plink.exe"; DestDir: "{app}"
\r
36 Source: "website.url"; DestDir: "{app}"
\r
37 Source: "doc\putty.hlp"; DestDir: "{app}"
\r
38 Source: "doc\putty.cnt"; DestDir: "{app}"
\r
39 Source: "LICENCE"; DestDir: "{app}"
\r
40 Source: "README.txt"; DestDir: "{app}"; Flags: isreadme
\r
43 Name: "{group}\PuTTY"; Filename: "{app}\putty.exe"; Tasks: startmenu
\r
44 Name: "{group}\PuTTY Manual"; Filename: "{app}\putty.hlp"; Tasks: startmenu
\r
45 Name: "{group}\PuTTY Web Site"; Filename: "{app}\website.url"; Tasks: startmenu
\r
46 Name: "{group}\PSFTP"; Filename: "{app}\psftp.exe"; Tasks: startmenu
\r
47 Name: "{group}\PuTTYgen"; Filename: "{app}\puttygen.exe"; Tasks: startmenu
\r
48 Name: "{group}\Pageant"; Filename: "{app}\pageant.exe"; Tasks: startmenu
\r
49 Name: "{userdesktop}\PuTTY"; Filename: "{app}\putty.exe"; Tasks: desktopicon
\r
52 Name: startmenu; Description: "Create a &Start Menu group"
\r
53 Name: desktopicon; Description: "Create a &desktop icon for PuTTY"
\r
54 Name: associate; Description: "&Associate .PPK files (PuTTY Private Key) with Pageant"
\r
57 Root: HKCR; Subkey: ".ppk"; ValueType: string; ValueName: ""; ValueData: "PuTTYPrivateKey"; Flags: uninsdeletevalue; Tasks: associate
\r
58 Root: HKCR; Subkey: "PuTTYPrivateKey"; ValueType: string; ValueName: ""; ValueData: "PuTTY Private Key File"; Flags: uninsdeletekey; Tasks: associate
\r
59 Root: HKCR; Subkey: "PuTTYPrivateKey\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\pageant.exe,0"; Tasks: associate
\r
60 Root: HKCR; Subkey: "PuTTYPrivateKey\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\pageant.exe"" ""%1"""; Tasks: associate
\r
61 Root: HKCR; Subkey: "PuTTYPrivateKey\shell\edit"; ValueType: string; ValueName: ""; ValueData: "&Edit"; Tasks: associate
\r
62 Root: HKCR; Subkey: "PuTTYPrivateKey\shell\edit\command"; ValueType: string; ValueName: ""; ValueData: """{app}\puttygen.exe"" ""%1"""; Tasks: associate
\r