Mention `-cleanup' caveats on multi-user systems.
[u/mdw/putty] / windows / putty.iss
CommitLineData
53d879ad 1; -*- no -*-\r
2; putty.iss\r
3;\r
4; -- Inno Setup installer script for PuTTY and its related tools.\r
5;\r
6; TODO for future releases:\r
7;\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
13;\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
19\r
20[Setup]\r
21AppName=PuTTY\r
85149dab 22AppVerName=PuTTY version 0.57\r
53d879ad 23DefaultDirName={pf}\PuTTY\r
24DefaultGroupName=PuTTY\r
25UninstallDisplayIcon={app}\putty.exe\r
26ChangesAssociations=yes\r
27Compression=zip/9\r
28\r
29[Files]\r
30Source: "putty.exe"; DestDir: "{app}"\r
31Source: "pageant.exe"; DestDir: "{app}"\r
32Source: "puttygen.exe"; DestDir: "{app}"\r
33Source: "pscp.exe"; DestDir: "{app}"\r
34Source: "psftp.exe"; DestDir: "{app}"\r
35Source: "plink.exe"; DestDir: "{app}"\r
36Source: "website.url"; DestDir: "{app}"\r
37Source: "..\doc\putty.hlp"; DestDir: "{app}"\r
38Source: "..\doc\putty.cnt"; DestDir: "{app}"\r
39Source: "..\LICENCE"; DestDir: "{app}"\r
40Source: "..\README.txt"; DestDir: "{app}"; Flags: isreadme\r
41\r
42[Icons]\r
43Name: "{group}\PuTTY"; Filename: "{app}\putty.exe"; Tasks: startmenu\r
44Name: "{group}\PuTTY Manual"; Filename: "{app}\putty.hlp"; Tasks: startmenu\r
45Name: "{group}\PuTTY Web Site"; Filename: "{app}\website.url"; Tasks: startmenu\r
46Name: "{group}\PSFTP"; Filename: "{app}\psftp.exe"; Tasks: startmenu\r
47Name: "{group}\PuTTYgen"; Filename: "{app}\puttygen.exe"; Tasks: startmenu\r
48Name: "{group}\Pageant"; Filename: "{app}\pageant.exe"; Tasks: startmenu\r
49Name: "{userdesktop}\PuTTY"; Filename: "{app}\putty.exe"; Tasks: desktopicon\r
50\r
51[Tasks]\r
52Name: startmenu; Description: "Create a &Start Menu group"\r
53Name: desktopicon; Description: "Create a &desktop icon for PuTTY"\r
54Name: associate; Description: "&Associate .PPK files (PuTTY Private Key) with Pageant"\r
55\r
56[Registry]\r
57Root: HKCR; Subkey: ".ppk"; ValueType: string; ValueName: ""; ValueData: "PuTTYPrivateKey"; Flags: uninsdeletevalue; Tasks: associate\r
58Root: HKCR; Subkey: "PuTTYPrivateKey"; ValueType: string; ValueName: ""; ValueData: "PuTTY Private Key File"; Flags: uninsdeletekey; Tasks: associate\r
59Root: HKCR; Subkey: "PuTTYPrivateKey\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\pageant.exe,0"; Tasks: associate\r
60Root: HKCR; Subkey: "PuTTYPrivateKey\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\pageant.exe"" ""%1"""; Tasks: associate\r
61Root: HKCR; Subkey: "PuTTYPrivateKey\shell\edit"; ValueType: string; ValueName: ""; ValueData: "&Edit"; Tasks: associate\r
62Root: HKCR; Subkey: "PuTTYPrivateKey\shell\edit\command"; ValueType: string; ValueName: ""; ValueData: """{app}\puttygen.exe"" ""%1"""; Tasks: associate\r