Alain Guibert points out that palette changes weren't causing the space
[sgt/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
a6551274 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
11; AUTOEXEC.BAT.\r
53d879ad 12;\r
a6551274 13; - Maybe a "custom" installation might be useful? Hassle with icons,\r
14; though.\r
53d879ad 15\r
16[Setup]\r
17AppName=PuTTY\r
c35ff6c8 18AppVerName=PuTTY version 0.58\r
19VersionInfoTextVersion=Release 0.58\r
20AppVersion=0.58\r
a6551274 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
c35ff6c8 23;VersionInfoVersion=0.58.0.0\r
a6551274 24AppPublisher=Simon Tatham\r
25AppPublisherURL=http://www.chiark.greenend.org.uk/~sgtatham/putty/\r
26AppReadmeFile={app}\README.txt\r
53d879ad 27DefaultDirName={pf}\PuTTY\r
28DefaultGroupName=PuTTY\r
29UninstallDisplayIcon={app}\putty.exe\r
30ChangesAssociations=yes\r
a6551274 31;ChangesEnvironment=yes -- when PATH munging is sorted (probably)\r
53d879ad 32Compression=zip/9\r
a6551274 33AllowNoIcons=yes\r
53d879ad 34\r
35[Files]\r
36Source: "putty.exe"; DestDir: "{app}"\r
37Source: "pageant.exe"; DestDir: "{app}"\r
38Source: "puttygen.exe"; DestDir: "{app}"\r
39Source: "pscp.exe"; DestDir: "{app}"\r
40Source: "psftp.exe"; DestDir: "{app}"\r
41Source: "plink.exe"; DestDir: "{app}"\r
42Source: "website.url"; DestDir: "{app}"\r
43Source: "..\doc\putty.hlp"; DestDir: "{app}"\r
44Source: "..\doc\putty.cnt"; DestDir: "{app}"\r
45Source: "..\LICENCE"; DestDir: "{app}"\r
46Source: "..\README.txt"; DestDir: "{app}"; Flags: isreadme\r
47\r
48[Icons]\r
a6551274 49Name: "{group}\PuTTY"; Filename: "{app}\putty.exe"; Comment: "SSH, Telnet and Rlogin client";\r
50Name: "{group}\PuTTY Manual"; Filename: "{app}\putty.hlp"\r
51Name: "{group}\PuTTY Web Site"; Filename: "{app}\website.url"\r
52Name: "{group}\PSFTP"; Filename: "{app}\psftp.exe"; Comment: "Command-line interactive SFTP client"\r
53Name: "{group}\PuTTYgen"; Filename: "{app}\puttygen.exe"; Comment: "PuTTY SSH key generation utility"\r
54Name: "{group}\Pageant"; Filename: "{app}\pageant.exe"; Comment: "PuTTY SSH authentication agent"\r
55Name: "{commondesktop}\PuTTY"; Filename: "{app}\putty.exe"; Tasks: desktopicon\common\r
56Name: "{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
58Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\PuTTY"; Filename: "{app}\putty.exe"; Tasks: quicklaunchicon\r
53d879ad 59\r
60[Tasks]\r
a6551274 61Name: desktopicon; Description: "Create a &desktop icon for PuTTY"; GroupDescription: "Additional icons:"; Flags: unchecked\r
62Name: desktopicon\common; Description: "For all users"; GroupDescription: "Additional icons:"; Flags: exclusive unchecked\r
63Name: desktopicon\user; Description: "For the current user only"; GroupDescription: "Additional icons:"; Flags: exclusive unchecked\r
64Name: quicklaunchicon; Description: "Create a &Quick Launch icon for PuTTY (current user only)"; GroupDescription: "Additional icons:"; Flags: unchecked\r
65Name: associate; Description: "&Associate .PPK files (PuTTY Private Key) with Pageant and PuTTYgen"; GroupDescription: "Other tasks:"\r
53d879ad 66\r
67[Registry]\r
68Root: HKCR; Subkey: ".ppk"; ValueType: string; ValueName: ""; ValueData: "PuTTYPrivateKey"; Flags: uninsdeletevalue; Tasks: associate\r
69Root: HKCR; Subkey: "PuTTYPrivateKey"; ValueType: string; ValueName: ""; ValueData: "PuTTY Private Key File"; Flags: uninsdeletekey; Tasks: associate\r
70Root: HKCR; Subkey: "PuTTYPrivateKey\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\pageant.exe,0"; Tasks: associate\r
71Root: HKCR; Subkey: "PuTTYPrivateKey\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\pageant.exe"" ""%1"""; Tasks: associate\r
72Root: HKCR; Subkey: "PuTTYPrivateKey\shell\edit"; ValueType: string; ValueName: ""; ValueData: "&Edit"; Tasks: associate\r
73Root: HKCR; Subkey: "PuTTYPrivateKey\shell\edit\command"; ValueType: string; ValueName: ""; ValueData: """{app}\puttygen.exe"" ""%1"""; Tasks: associate\r
a6551274 74; Add to PATH on NT-class OS?\r
75\r
76[UninstallRun]\r
77; -cleanup-during-uninstall is an undocumented option that tailors the\r
78; message displayed.\r
79Filename: "{app}\putty.exe"; Parameters: "-cleanup-during-uninstall"; RunOnceId: "PuTTYCleanup"; StatusMsg: "Cleaning up saved sessions etc (optional)..."\r