오픈 소스 소프트웨어 개발 및 다운로드

Browse Subversion Repository

Diff of /trunk/installer/teraterm.iss

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

installer/trunk/teraterm.iss revision 1271 by doda, Sun Jan 25 14:44:38 2009 UTC trunk/installer/teraterm.iss revision 3947 by maya, Thu Jul 22 08:36:34 2010 UTC
# Line 1  Line 1 
1  #define AppName "Tera Term"  #define AppName "Tera Term"
2  #define AppVer "4.61"  #define AppVer "4.66"
3    #define snapshot GetDateTimeString('yyyymmdd_hhnnss', '', '');
4  [Setup]  
5  AppCopyright=TeraTerm Project  [Setup]
6  AppName={#AppName}  AppCopyright=TeraTerm Project
7  AppVerName={#AppName} {#AppVer}  AppName={#AppName}
8  LicenseFile=release\license.txt  #ifndef snapshot
9  DefaultDirName={pf}\teraterm  AppVerName={#AppName} {#AppVer}
10  DefaultGroupName={#AppName}  #else
11  ShowLanguageDialog=yes  AppVerName={#AppName} {#AppVer}+ snapshot-{#snapshot}
12  AllowNoIcons=true  #endif
13  UninstallDisplayIcon={app}\ttermpro.exe  LicenseFile=release\license.txt
14  AppMutex=TeraTermProAppMutex, TeraTermProMacroAppMutex, TeraTermProKeycodeAppMutex, TeraTermMenuAppMutex, CygTermAppMutex  DefaultDirName={pf}\teraterm
15  OutputBaseFilename=teraterm-{#AppVer}  DefaultGroupName={#AppName}
16  PrivilegesRequired=none  ShowLanguageDialog=yes
17    AllowNoIcons=true
18  [Languages]  UninstallDisplayIcon={app}\ttermpro.exe
19  Name: en; MessagesFile: compiler:Default.isl  AppMutex=TeraTermProAppMutex, TeraTermProMacroAppMutex, TeraTermProKeycodeAppMutex, TeraTermMenuAppMutex, CygTermAppMutex
20  Name: ja; MessagesFile: compiler:Languages\Japanese.isl  #ifndef snapshot
21    OutputBaseFilename=teraterm-{#AppVer}
22  [Dirs]  #else
23  Name: {app}\Collector; Components: Collector  OutputBaseFilename=teraterm-{#snapshot}
24  Name: {app}\theme; Components: TeraTerm  #endif
25  Name: {app}\theme\scale; Components: TeraTerm  PrivilegesRequired=none
26  Name: {app}\theme\tile; Components: TeraTerm  
27  Name: {app}\plugin; Components: TeraTerm  [Languages]
28  Name: {app}\lang; Components: TeraTerm  Name: en; MessagesFile: compiler:Default.isl
29    Name: ja; MessagesFile: compiler:Languages\Japanese.isl
30  [Files]  
31  Source: ..\teraterm\release\ttermpro.exe; DestDir: {app}; Components: TeraTerm; Flags: ignoreversion  [Dirs]
32  Source: ..\teraterm\release\ttpcmn.dll; DestDir: {app}; Components: TeraTerm  Name: {app}\Collector; Components: Collector
33  Source: ..\teraterm\release\ttpdlg.dll; DestDir: {app}; Components: TeraTerm  Name: {app}\theme; Components: TeraTerm
34  Source: ..\teraterm\release\ttpfile.dll; DestDir: {app}; Components: TeraTerm  Name: {app}\theme\scale; Components: TeraTerm
35  Source: ..\teraterm\release\ttpset.dll; DestDir: {app}; Components: TeraTerm  Name: {app}\theme\tile; Components: TeraTerm
36  Source: ..\teraterm\release\ttptek.dll; DestDir: {app}; Components: TeraTerm  Name: {app}\plugin; Components: TeraTerm
37  Source: release\TERATERM.INI; DestDir: {app}; Components: TeraTerm; Flags: onlyifdoesntexist uninsneveruninstall; Permissions: authusers-modify  Name: {app}\lang; Components: TeraTerm
38  Source: release\TSPECIAL1.TTF; DestDir: {fonts}; Components: TeraTerm; Attribs: readonly; Flags: overwritereadonly uninsneveruninstall; FontInstall: Tera Special; Check: isPowerUsersMore  
39  Source: ..\doc\en\teraterm.chm; DestDir: {app}; Components: TeraTerm  [Files]
40  Source: ..\doc\jp\teratermj.chm; DestDir: {app}; Components: TeraTerm  Source: ..\teraterm\release\ttermpro.exe; DestDir: {app}; Components: TeraTerm; Flags: ignoreversion
41  Source: release\license.txt; DestDir: {app}; Components: TeraTerm  Source: ..\teraterm\release\ttpcmn.dll; DestDir: {app}; Components: TeraTerm
42  Source: release\FUNCTION.CNF; DestDir: {app}; Components: TeraTerm  Source: ..\teraterm\release\ttpdlg.dll; DestDir: {app}; Components: TeraTerm
43  Source: release\IBMKEYB.CNF; DestDir: {app}; Components: TeraTerm  Source: ..\teraterm\release\ttpfile.dll; DestDir: {app}; Components: TeraTerm
44  Source: release\EDITOR.CNF; DestDir: {app}; Components: TeraTerm; Flags: onlyifdoesntexist uninsneveruninstall; Permissions: authusers-modify; DestName: KEYBOARD.CNF  Source: ..\teraterm\release\ttpset.dll; DestDir: {app}; Components: TeraTerm
45  Source: release\EDITOR.CNF; DestDir: {app}; Components: TeraTerm  Source: ..\teraterm\release\ttptek.dll; DestDir: {app}; Components: TeraTerm
46  Source: release\NT98KEYB.CNF; DestDir: {app}; Components: TeraTerm  Source: release\TERATERM.INI; DestDir: {app}; Components: TeraTerm; Flags: onlyifdoesntexist uninsneveruninstall; Permissions: authusers-modify
47  Source: release\PC98KEYB.CNF; DestDir: {app}; Components: TeraTerm  Source: release\TSPECIAL1.TTF; DestDir: {fonts}; Components: TeraTerm; Attribs: readonly; Flags: overwritereadonly uninsneveruninstall; FontInstall: Tera Special; Check: isAbleToInstallFont
48  Source: ..\teraterm\release\keycode.exe; DestDir: {app}; Components: TeraTerm  Source: ..\doc\en\teraterm.chm; DestDir: {app}; Components: TeraTerm
49  Source: ..\teraterm\release\ttpmacro.exe; DestDir: {app}; Components: TeraTerm; Flags: ignoreversion  Source: ..\doc\ja\teratermj.chm; DestDir: {app}; Components: TeraTerm
50  Source: release\delpassw.ttl; DestDir: {app}; Components: TeraTerm  Source: release\license.txt; DestDir: {app}; Components: TeraTerm
51  Source: release\dialup.ttl; DestDir: {app}; Components: TeraTerm  Source: release\FUNCTION.CNF; DestDir: {app}; Components: TeraTerm
52  Source: release\login.ttl; DestDir: {app}; Components: TeraTerm  Source: release\IBMKEYB.CNF; DestDir: {app}; Components: TeraTerm
53  Source: release\mpause.ttl; DestDir: {app}; Components: TeraTerm  Source: release\EDITOR.CNF; DestDir: {app}; Components: TeraTerm; Flags: onlyifdoesntexist uninsneveruninstall; Permissions: authusers-modify; DestName: KEYBOARD.CNF
54  Source: release\random.ttl; DestDir: {app}; Components: TeraTerm  Source: release\EDITOR.CNF; DestDir: {app}; Components: TeraTerm
55  Source: release\screencapture.ttl; DestDir: {app}; Components: TeraTerm  Source: release\NT98KEYB.CNF; DestDir: {app}; Components: TeraTerm
56  Source: release\ssh2login.ttl; DestDir: {app}; Components: TeraTerm  Source: release\PC98KEYB.CNF; DestDir: {app}; Components: TeraTerm
57  Source: release\wait_regex.ttl; DestDir: {app}; Components: TeraTerm  Source: ..\teraterm\release\keycode.exe; DestDir: {app}; Components: TeraTerm
58  Source: release\lang\Japanese.lng; DestDir: {app}\lang; Components: TeraTerm; Attribs: readonly; Flags: uninsremovereadonly overwritereadonly  Source: ..\teraterm\release\ttpmacro.exe; DestDir: {app}; Components: TeraTerm; Flags: ignoreversion
59  Source: release\lang\German.lng; DestDir: {app}\lang; Components: TeraTerm; Attribs: readonly; Flags: uninsremovereadonly overwritereadonly  Source: release\delpassw.ttl; DestDir: {app}; Components: TeraTerm
60  Source: ..\ttssh2\ttxssh\Release\ttxssh.dll; DestDir: {app}; Components: TTSSH; Flags: ignoreversion  Source: release\dialup.ttl; DestDir: {app}; Components: TeraTerm
61  Source: release\ssh_known_hosts; DestDir: {app}; Components: TTSSH; Flags: onlyifdoesntexist uninsneveruninstall; Permissions: authusers-modify  Source: release\login.ttl; DestDir: {app}; Components: TeraTerm
62  Source: ..\cygterm\cygterm.exe; DestDir: {app}; Components: cygterm  Source: release\mpause.ttl; DestDir: {app}; Components: TeraTerm
63  Source: ..\cygterm\cygterm.cfg; DestDir: {app}; Components: cygterm; Flags: onlyifdoesntexist uninsneveruninstall; Permissions: authusers-modify  Source: release\random.ttl; DestDir: {app}; Components: TeraTerm
64  Source: ..\cygterm\cyglaunch.exe; DestDir: {app}; Components: cygterm  Source: release\screencapture.ttl; DestDir: {app}; Components: TeraTerm
65  Source: ..\cygterm\cygterm+.tar.gz; DestDir: {app}; Components: cygterm  Source: release\ssh2login.ttl; DestDir: {app}; Components: TeraTerm
66  Source: release\LogMeTT_license.txt; DestDir: {app}; Components: LogMeTT  Source: release\wait_regex.ttl; DestDir: {app}; Components: TeraTerm
67  Source: release\LogMeTT_README.txt; DestDir: {app}; Components: LogMeTT  Source: release\lang\Japanese.lng; DestDir: {app}\lang; Components: TeraTerm; Attribs: readonly; Flags: uninsremovereadonly overwritereadonly
68  Source: release\LogMeTTc.exe; DestDir: {app}; Components: LogMeTT; Flags: ignoreversion  Source: release\lang\German.lng; DestDir: {app}\lang; Components: TeraTerm; Attribs: readonly; Flags: uninsremovereadonly overwritereadonly
69  Source: release\LogMeTT.exe; DestDir: {app}; Components: LogMeTT; Flags: ignoreversion  Source: release\lang\French.lng; DestDir: {app}\lang; Components: TeraTerm; Attribs: readonly; Flags: uninsremovereadonly overwritereadonly
70  Source: release\logmett.chm; DestDir: {app}; Components: LogMeTT  Source: ..\ttssh2\ttxssh\Release\ttxssh.dll; DestDir: {app}; Components: TTSSH; Flags: ignoreversion
71  Source: release\runltt.exe; DestDir: {app}; Components: LogMeTT  Source: release\ssh_known_hosts; DestDir: {app}; Components: TTSSH; Flags: onlyifdoesntexist uninsneveruninstall; Permissions: authusers-modify
72  Source: release\KeyFile.ini; DestDir: {app}; Components: LogMeTT  Source: ..\cygterm\cygterm.exe; DestDir: {app}; Components: cygterm
73  Source: release\TTLEdit.exe; DestDir: {app}; Components: LogMeTT; Flags: ignoreversion  Source: ..\cygterm\cygterm.cfg; DestDir: {app}; Components: cygterm; Flags: onlyifdoesntexist uninsneveruninstall; Permissions: authusers-modify
74  Source: release\SynComp.pro; DestDir: {app}; Components: LogMeTT  Source: ..\cygterm\cyglaunch.exe; DestDir: {app}; Components: cygterm
75  Source: release\ttmacro.tpl; DestDir: {app}; Components: LogMeTT  Source: ..\cygterm\cygterm+.tar.gz; DestDir: {app}; Components: cygterm
76  Source: ..\ttpmenu\Release\ttpmenu.exe; DestDir: {app}; Components: TeraTerm_Menu; Flags: ignoreversion  Source: ..\libs\logmett\Setup_LogMeTT_2_9_7.exe; DestDir: {tmp}; Components: LogMeTT; Flags: deleteafterinstall
77  Source: release\ttmenu_readme-j.txt; DestDir: {app}; Components: TeraTerm_Menu  Source: ..\libs\logmett\Setup_TTLEditor_1_2_1.exe; DestDir: {tmp}; Components: TTLEdit; Flags: deleteafterinstall
78  Source: ..\TTProxy\Release\TTXProxy.dll; DestDir: {app}; Components: TTProxy; Flags: ignoreversion  Source: ..\ttpmenu\Release\ttpmenu.exe; DestDir: {app}; Components: TeraTerm_Menu; Flags: ignoreversion
79  Source: release\theme\Advanced.sample; DestDir: {app}\theme\; Components: TeraTerm  Source: release\ttmenu_readme-j.txt; DestDir: {app}; Components: TeraTerm_Menu
80  Source: release\theme\Scale.INI; DestDir: {app}\theme\; Components: TeraTerm  Source: ..\TTProxy\Release\TTXProxy.dll; DestDir: {app}; Components: TTProxy; Flags: ignoreversion
81  Source: release\theme\Tile.INI; DestDir: {app}\theme\; Components: TeraTerm  Source: release\theme\Advanced.sample; DestDir: {app}\theme\; Components: TeraTerm
82  Source: release\theme\scale\23.jpg; DestDir: {app}\theme\scale; Components: TeraTerm  Source: release\theme\Scale.INI; DestDir: {app}\theme\; Components: TeraTerm
83  Source: release\theme\scale\43.jpg; DestDir: {app}\theme\scale; Components: TeraTerm  Source: release\theme\Tile.INI; DestDir: {app}\theme\; Components: TeraTerm
84  Source: release\theme\tile\03.jpg; DestDir: {app}\theme\tile; Components: TeraTerm  Source: release\theme\scale\23.jpg; DestDir: {app}\theme\scale; Components: TeraTerm
85  Source: release\theme\tile\44.jpg; DestDir: {app}\theme\tile; Components: TeraTerm  Source: release\theme\scale\43.jpg; DestDir: {app}\theme\scale; Components: TeraTerm
86  Source: release\plugin\ttAKJpeg.dll; DestDir: {app}\plugin\; Components: TeraTerm  Source: release\theme\tile\03.jpg; DestDir: {app}\theme\tile; Components: TeraTerm
87  Source: release\plugin\ttAKJpeg.txt; DestDir: {app}\plugin\; Components: TeraTerm  Source: release\theme\tile\44.jpg; DestDir: {app}\theme\tile; Components: TeraTerm
88  Source: release\Collector\Collector.exe; DestDir: {app}\Collector\; Components: Collector  Source: release\plugin\ttAKJpeg.dll; DestDir: {app}\plugin\; Components: TeraTerm
89  Source: release\Collector\collector.ini; DestDir: {app}\Collector\; Components: Collector  Source: release\plugin\ttAKJpeg.txt; DestDir: {app}\plugin\; Components: TeraTerm
90  Source: release\Collector\Collector_org.exe; DestDir: {app}\Collector\; Components: Collector  Source: release\Collector\Collector.exe; DestDir: {app}\Collector\; Components: Collector
91  Source: release\Collector\hthook.dll; DestDir: {app}\Collector\; Components: Collector  Source: release\Collector\collector.ini; DestDir: {app}\Collector\; Components: Collector
92  Source: release\Collector\mfc70.dll; DestDir: {app}\Collector\; Components: Collector  Source: release\Collector\Collector_org.exe; DestDir: {app}\Collector\; Components: Collector
93  Source: release\Collector\msvcr70.dll; DestDir: {app}\Collector\; Components: Collector  Source: release\Collector\hthook.dll; DestDir: {app}\Collector\; Components: Collector
94  Source: release\Collector\readme.txt; DestDir: {app}\Collector\; Components: Collector  Source: release\Collector\mfc70.dll; DestDir: {app}\Collector\; Components: Collector
95  Source: ..\TTXKanjiMenu\release\ttxkanjimenu.dll; DestDir: {app}\; Components: Additional_Plugins/TTXKanjiMenu; Flags: ignoreversion  Source: release\Collector\msvcr70.dll; DestDir: {app}\Collector\; Components: Collector
96  Source: ..\TTXSamples\release\TTXResizeMenu.dll; DestDir: {app}\; Components: Additional_Plugins/TTXResizeMenu; Flags: ignoreversion  Source: release\Collector\readme.txt; DestDir: {app}\Collector\; Components: Collector
97  Source: ..\TTXSamples\release\TTXttyrec.dll; DestDir: {app}\; Components: Additional_Plugins/TTXttyrec; Flags: ignoreversion  Source: ..\TTXKanjiMenu\release\ttxkanjimenu.dll; DestDir: {app}\; Components: Additional_Plugins/TTXKanjiMenu; Flags: ignoreversion
98  Source: ..\TTXSamples\release\TTXttyplay.dll; DestDir: {app}\; Components: Additional_Plugins/TTXttyrec; Flags: ignoreversion  Source: ..\TTXSamples\release\TTXResizeMenu.dll; DestDir: {app}\; Components: Additional_Plugins/TTXResizeMenu; Flags: ignoreversion
99  Source: ..\TTXSamples\release\TTXKcodeChange.dll; DestDir: {app}\; Components: Additional_Plugins/TTXKcodeChange; Flags: ignoreversion  Source: ..\TTXSamples\release\TTXttyrec.dll; DestDir: {app}\; Components: Additional_Plugins/TTXttyrec; Flags: ignoreversion
100  Source: ..\TTXSamples\release\TTXViewMode.dll; DestDir: {app}\; Components: Additional_Plugins/TTXViewMode; Flags: ignoreversion  Source: ..\TTXSamples\release\TTXttyplay.dll; DestDir: {app}\; Components: Additional_Plugins/TTXttyrec; Flags: ignoreversion
101  Source: ..\TTXSamples\release\TTXAlwaysOnTop.dll; DestDir: {app}\; Components: Additional_Plugins/TTXAlwaysOnTop; Flags: ignoreversion  Source: ..\TTXSamples\release\TTXKcodeChange.dll; DestDir: {app}\; Components: Additional_Plugins/TTXKcodeChange; Flags: ignoreversion
102    Source: ..\TTXSamples\release\TTXViewMode.dll; DestDir: {app}\; Components: Additional_Plugins/TTXViewMode; Flags: ignoreversion
103  [Types]  Source: ..\TTXSamples\release\TTXAlwaysOnTop.dll; DestDir: {app}\; Components: Additional_Plugins/TTXAlwaysOnTop; Flags: ignoreversion
104  Name: standard; Description: {cm:type_standard}  Source: ..\TTXSamples\release\TTXRecurringCommand.dll; DestDir: {app}\; Components: Additional_Plugins/TTXRecurringCommand; Flags: ignoreversion
105  Name: full; Description: {cm:type_full}  
106  Name: compact; Description: {cm:type_compact}  [Types]
107  Name: custom; Description: {cm:type_custom}; Flags: iscustom  Name: standard; Description: {cm:type_standard}
108    Name: full; Description: {cm:type_full}
109  [Components]  Name: compact; Description: {cm:type_compact}
110  Name: TeraTerm; Description: Tera Term & Macro; Flags: fixed; Types: custom compact full standard  Name: custom; Description: {cm:type_custom}; Flags: iscustom
111  Name: TTSSH; Description: TTSSH; Types: compact full standard  
112  Name: cygterm; Description: CygTerm+; Types: full standard; Check: not isIA64  [Components]
113  Name: LogMeTT; Description: LogMeTT & TTLEdit; Types: full standard  Name: TeraTerm; Description: Tera Term & Macro; Flags: fixed; Types: custom compact full standard
114  Name: TeraTerm_Menu; Description: TeraTerm Menu; Types: full  Name: TTSSH; Description: TTSSH; Types: compact full standard
115  Name: TTProxy; Description: TTProxy; Types: full standard  Name: cygterm; Description: CygTerm+; Types: full standard; Check: not isIA64
116  Name: Collector; Description: Collector; Types: full  Name: LogMeTT; Description: LogMeTT; Types: full standard; MinVersion: 4.1.1998,4.0.1381sp6
117  Name: Additional_Plugins; Description: {cm:comp_TTX}  Name: TTLEdit; Description: TTLEdit; Types: full standard; MinVersion: 4.1.1998,4.0.1381sp6
118  Name: Additional_Plugins/TTXResizeMenu; Description: TTXResizeMenu ({cm:comp_TTXResizeMenu}); Types: full standard  Name: TeraTerm_Menu; Description: TeraTerm Menu; Types: full
119  Name: Additional_Plugins/TTXttyrec; Description: TTXttyrec ({cm:comp_TTXttyrec}); Types: full standard  Name: TTProxy; Description: TTProxy; Types: full standard
120  Name: Additional_Plugins/TTXKanjiMenu; Description: TTXKanjiMenu ({cm:comp_TTXKanjiMenu}); Languages: en  Name: Collector; Description: Collector; Types: full
121  Name: Additional_Plugins/TTXKanjiMenu; Description: TTXKanjiMenu ({cm:comp_TTXKanjiMenu}); Types: full; Languages: ja  Name: Additional_Plugins; Description: {cm:comp_TTX}
122  Name: Additional_Plugins/TTXKcodeChange; Description: TTXKcodeChange ({cm:comp_TTXKcodeChange}); Languages: en  Name: Additional_Plugins/TTXResizeMenu; Description: TTXResizeMenu ({cm:comp_TTXResizeMenu}); Types: full standard
123  Name: Additional_Plugins/TTXKcodeChange; Description: TTXKcodeChange ({cm:comp_TTXKcodeChange}); Types: full; Languages: ja  Name: Additional_Plugins/TTXttyrec; Description: TTXttyrec ({cm:comp_TTXttyrec}); Types: full standard
124  Name: Additional_Plugins/TTXViewMode; Description: TTXViewMode ({cm:comp_TTXViewMode}); Types: full  Name: Additional_Plugins/TTXKanjiMenu; Description: TTXKanjiMenu ({cm:comp_TTXKanjiMenu}); Languages: en
125  Name: Additional_Plugins/TTXAlwaysOnTop; Description: TTXAlwaysOnTop ({cm:comp_TTXAlwaysOnTop}); Types: full  Name: Additional_Plugins/TTXKanjiMenu; Description: TTXKanjiMenu ({cm:comp_TTXKanjiMenu}); Types: full; Languages: ja
126    Name: Additional_Plugins/TTXKcodeChange; Description: TTXKcodeChange ({cm:comp_TTXKcodeChange}); Languages: en
127  [Icons]  Name: Additional_Plugins/TTXKcodeChange; Description: TTXKcodeChange ({cm:comp_TTXKcodeChange}); Types: full; Languages: ja
128  Name: {group}\Tera Term; Filename: {app}\ttermpro.exe; WorkingDir: {app}; IconFilename: {app}\ttermpro.exe; IconIndex: 0; Components: TeraTerm; Flags: createonlyiffileexists  Name: Additional_Plugins/TTXViewMode; Description: TTXViewMode ({cm:comp_TTXViewMode}); Types: full
129  Name: {group}\{cm:UninstallProgram,{#AppName}}; Filename: {uninstallexe}; Components: TeraTerm; Flags: createonlyiffileexists  Name: Additional_Plugins/TTXAlwaysOnTop; Description: TTXAlwaysOnTop ({cm:comp_TTXAlwaysOnTop}); Types: full
130  Name: {group}\cyglaunch; Filename: {app}\cyglaunch.exe; WorkingDir: {app}; IconFilename: {app}\cyglaunch.exe; IconIndex: 0; Components: cygterm; Flags: createonlyiffileexists  Name: Additional_Plugins/TTXRecurringCommand; Description: TTXRecurringCommand ({cm:comp_TTXRecurringCommand}); Types: full
131  Name: {group}\LogMeTT; Filename: {app}\LogMeTT.exe; WorkingDir: {app}; IconFilename: {app}\logMeTT.exe; IconIndex: 0; Components: LogMeTT; Flags: createonlyiffileexists  
132  Name: {group}\TTLEdit; Filename: {app}\TTLEdit.exe; WorkingDir: {app}; IconFilename: {app}\TTLEdit.exe; IconIndex: 0; Components: LogMeTT; Flags: createonlyiffileexists  [Icons]
133  Name: {group}\TeraTerm Menu; Filename: {app}\ttpmenu.exe; WorkingDir: {app}; IconFilename: {app}\ttpmenu.exe; IconIndex: 0; Components: TeraTerm_Menu; Flags: createonlyiffileexists  Name: {group}\Tera Term; Filename: {app}\ttermpro.exe; WorkingDir: {app}; IconFilename: {app}\ttermpro.exe; IconIndex: 0; Components: TeraTerm; Flags: createonlyiffileexists
134  Name: {group}\Collector; Filename: {app}\Collector\Collector.exe; WorkingDir: {app}\Collector; IconFilename: {app}\Collector\Collector.exe; IconIndex: 0; Components: Collector; Flags: createonlyiffileexists  Name: {group}\{cm:UninstallProgram,{#AppName}}; Filename: {uninstallexe}; Components: TeraTerm; Flags: createonlyiffileexists
135  Name: {userdesktop}\Tera Term; Filename: {app}\ttermpro.exe; WorkingDir: {app}; IconFilename: {app}\ttermpro.exe; Components: TeraTerm; Tasks: desktopicon; IconIndex: 0; Flags: createonlyiffileexists  Name: {group}\cyglaunch; Filename: {app}\cyglaunch.exe; WorkingDir: {app}; IconFilename: {app}\cyglaunch.exe; IconIndex: 0; Components: cygterm; Flags: createonlyiffileexists
136  Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\Tera Term; Filename: {app}\ttermpro.exe; WorkingDir: {app}; IconFilename: {app}\ttermpro.exe; Components: TeraTerm; Tasks: quicklaunchicon; IconIndex: 0; Flags: createonlyiffileexists  Name: {group}\TeraTerm Menu; Filename: {app}\ttpmenu.exe; WorkingDir: {app}; IconFilename: {app}\ttpmenu.exe; IconIndex: 0; Components: TeraTerm_Menu; Flags: createonlyiffileexists
137  Name: {userstartup}\TeraTerm Menu; Filename: {app}\ttpmenu.exe; WorkingDir: {app}; IconFilename: {app}\ttpmenu.exe; Components: TeraTerm_Menu; IconIndex: 0; Tasks: startupttmenuicon; Flags: createonlyiffileexists  Name: {group}\Collector; Filename: {app}\Collector\Collector.exe; WorkingDir: {app}\Collector; IconFilename: {app}\Collector\Collector.exe; IconIndex: 0; Components: Collector; Flags: createonlyiffileexists
138  Name: {userstartup}\Collector; Filename: {app}\collector\collector.exe; WorkingDir: {app}\Collector; IconFilename: {app}\collector\collector.exe; Components: Collector; Tasks: startupcollectoricon; IconIndex: 0; Flags: createonlyiffileexists  Name: {userdesktop}\Tera Term; Filename: {app}\ttermpro.exe; WorkingDir: {app}; IconFilename: {app}\ttermpro.exe; Components: TeraTerm; Tasks: desktopicon; IconIndex: 0; Flags: createonlyiffileexists
139  Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\cyglaunch; Filename: {app}\cyglaunch.exe; WorkingDir: {app}; IconFilename: {app}\cyglaunch.exe; Components: cygterm; Tasks: quickcyglaunch; IconIndex: 0; Flags: createonlyiffileexists  Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\Tera Term; Filename: {app}\ttermpro.exe; WorkingDir: {app}; IconFilename: {app}\ttermpro.exe; Components: TeraTerm; Tasks: quicklaunchicon; IconIndex: 0; Flags: createonlyiffileexists
140    Name: {userstartup}\TeraTerm Menu; Filename: {app}\ttpmenu.exe; WorkingDir: {app}; IconFilename: {app}\ttpmenu.exe; Components: TeraTerm_Menu; IconIndex: 0; Tasks: startupttmenuicon; Flags: createonlyiffileexists
141  [INI]  Name: {userstartup}\Collector; Filename: {app}\collector\collector.exe; WorkingDir: {app}\Collector; IconFilename: {app}\collector\collector.exe; Components: Collector; Tasks: startupcollectoricon; IconIndex: 0; Flags: createonlyiffileexists
142  Filename: {app}\teraterm.ini; Section: Tera Term; Key: VTReverseColor; String: 255,255,255,0,0,0; Flags: createkeyifdoesntexist; Components: TeraTerm  Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\cyglaunch; Filename: {app}\cyglaunch.exe; WorkingDir: {app}; IconFilename: {app}\cyglaunch.exe; Components: cygterm; Tasks: quickcyglaunch; IconIndex: 0; Flags: createonlyiffileexists
143  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: VTReverseColor; String: 255,255,255,0,0,0; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  
144  Filename: {app}\teraterm.ini; Section: Tera Term; Key: DisableWheelToCursorByCtrl; String: off; Flags: createkeyifdoesntexist; Components: TeraTerm  [Registry]
145  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: DisableWheelToCursorByCtrl; String: off; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  ; Cygterm Here
146  Filename: {app}\teraterm.ini; Section: Tera Term; Key: DisableMouseTrackingByCtrl; String: off; Flags: createkeyifdoesntexist; Components: TeraTerm  Root: HKCU; Subkey: Software\Classes\Folder\shell\cygterm; ValueType: string; ValueData: Cy&gterm Here; Flags: uninsdeletekey; Check: isWin2kOrLater; Components: cygterm; Tasks: cygtermhere
147  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: DisableMouseTrackingByCtrl; String: off; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Root: HKCU; Subkey: Software\Classes\Folder\shell\cygterm\command; ValueType: string; ValueData: """{app}\cyglaunch.exe"" -nocd -nols -d \""%L\"""; Flags: uninsdeletekey; Check: isWin2kOrLater; Components: cygterm; Tasks: cygtermhere
148  Filename: {app}\teraterm.ini; Section: TTSSH; Key: EnableRsaShortKeyServer; String: 0; Flags: createkeyifdoesntexist; Components: TTSSH  Root: HKCR; Subkey: Folder\shell\cygterm; ValueType: string; ValueData: Cy&gterm Here; Flags: uninsdeletekey; Check: not isWin2kOrLater; Components: cygterm; Tasks: cygtermhere
149  Filename: {userdocs}\teraterm.ini; Section: TTSSH; Key: EnableRsaShortKeyServer; String: 0; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TTSSH  Root: HKCR; Subkey: Folder\shell\cygterm\command; ValueType: string; ValueData: """{app}\cyglaunch.exe"" -nocd -nols -d \""%L\"""; Flags: uninsdeletekey; Check: not isWin2kOrLater; Components: cygterm; Tasks: cygtermhere
150  Filename: {app}\teraterm.ini; Section: Tera Term; Key: AcceptTitleChangeRequest; String: overwrite; Flags: createkeyifdoesntexist; Components: TeraTerm  ; Associate with .TTL
151  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: AcceptTitleChangeRequest; String: overwrite; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Root: HKCU; Subkey: Software\Classes\.ttl; ValueType: string; ValueData: TeraTerm.MacroFile; Flags: uninsdeletekey; Check: isWin2kOrLater; Components: TeraTerm; Tasks: macroassoc
152  Filename: {app}\teraterm.ini; Section: Tera Term; Key: ScrollWindowClearScreen; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm  Root: HKCU; Subkey: Software\Classes\TeraTerm.MacroFile; ValueType: string; ValueData: Tera Term Macro File; Flags: uninsdeletekey; Check: isWin2kOrLater; Components: TeraTerm; Tasks: macroassoc
153  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: ScrollWindowClearScreen; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Root: HKCU; Subkey: Software\Classes\TeraTerm.MacroFile\DefaultIcon; ValueType: string; ValueData: {app}\ttpmacro.exe,0; Flags: uninsdeletekey; Check: isWin2kOrLater; Components: TeraTerm; Tasks: macroassoc
154  Filename: {app}\teraterm.ini; Section: Tera Term; Key: UnicodeToDecSpMapping; String: 3; Flags: createkeyifdoesntexist; Components: TeraTerm  Root: HKCU; Subkey: Software\Classes\TeraTerm.MacroFile\shell\open\command; ValueType: string; ValueData: """{app}\ttpmacro.exe"" ""%1"""; Flags: uninsdeletekey; Check: isWin2kOrLater; Components: TeraTerm; Tasks: macroassoc
155  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: UnicodeToDecSpMapping; String: 3; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Root: HKCR; Subkey: .ttl; ValueType: string; ValueData: TeraTerm.MacroFile; Flags: uninsdeletekey; Check: not isWin2kOrLater; Components: TeraTerm; Tasks: macroassoc
156  Filename: {app}\teraterm.ini; Section: Tera Term; Key: UnknownUnicodeCharacterAsWide; String: off; Flags: createkeyifdoesntexist; Components: TeraTerm  Root: HKCR; Subkey: TeraTerm.MacroFile; ValueType: string; ValueData: Tera Term Macro File; Flags: uninsdeletekey; Check: not isWin2kOrLater; Components: TeraTerm; Tasks: macroassoc
157  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: UnknownUnicodeCharacterAsWide; String: off; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Root: HKCR; Subkey: TeraTerm.MacroFile\DefaultIcon; ValueType: string; ValueData: {app}\ttpmacro.exe,0; Flags: uninsdeletekey; Check: not isWin2kOrLater; Components: TeraTerm; Tasks: macroassoc
158  Filename: {app}\teraterm.ini; Section: Tera Term; Key: AutoScrollOnlyInBottomLine; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm  Root: HKCR; Subkey: TeraTerm.MacroFile\shell\open\command; ValueType: string; ValueData: """{app}\ttpmacro.exe"" ""%1"""; Flags: uninsdeletekey; Check: not isWin2kOrLater; Components: TeraTerm; Tasks: macroassoc
159  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: AutoScrollOnlyInBottomLine; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  ; Associate with telnet://
160  Filename: {app}\teraterm.ini; Section: Tera Term; Key: VTIcon; String: Default; Flags: createkeyifdoesntexist; Components: TeraTerm  Root: HKCU; Subkey: Software\Classes\telnet\shell; ValueType: string; ValueData: Open with Tera Term; Flags: uninsclearvalue; Check: isWin2kOrLater; Components: TeraTerm; Tasks: telnetassoc
161  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: VTIcon; String: Default; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Root: HKCU; Subkey: Software\Classes\telnet\shell\Open with Tera Term\command; ValueType: string; ValueData: """{app}\ttermpro.exe"" /T=1 /nossh %1"; Flags: uninsdeletekey; Check: isWin2kOrLater; Components: TeraTerm; Tasks: telnetassoc
162  Filename: {app}\teraterm.ini; Section: Tera Term; Key: TEKIcon; String: Default; Flags: createkeyifdoesntexist; Components: TeraTerm  Root: HKCR; Subkey: telnet\shell; ValueType: string; ValueData: Open with Tera Term; Flags: uninsclearvalue; Check: not isWin2kOrLater; Components: TeraTerm; Tasks: telnetassoc
163  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: TEKIcon; String: Default; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Root: HKCR; Subkey: telnet\shell\Open with Tera Term\command; ValueType: string; ValueData: """{app}\ttermpro.exe"" /T=1 /nossh %1"; Flags: uninsdeletekey; Check: not isWin2kOrLater; Components: TeraTerm; Tasks: telnetassoc
164  Filename: {app}\teraterm.ini; Section: Tera Term; Key: MouseWheelScrollLine; String: 3; Flags: createkeyifdoesntexist; Components: TeraTerm  ; Associate with ssh://
165  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: MouseWheelScrollLine; String: 3; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Root: HKCU; Subkey: Software\Classes\ssh; ValueType: string; ValueData: URL: SSH Protocol; Flags: uninsdeletekey; Check: isWin2kOrLater; Components: TTSSH; Tasks: sshassoc
166  Filename: {app}\teraterm.ini; Section: Tera Term; Key: DisablePasteMouseMButton; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm  Root: HKCU; Subkey: Software\Classes\ssh; ValueName: URL Protocol; ValueType: string; Flags: uninsdeletekey; Check: isWin2kOrLater; Components: TTSSH; Tasks: sshassoc
167  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: DisablePasteMouseMButton; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Root: HKCU; Subkey: Software\Classes\ssh; ValueName: EditFlags; ValueType: dword; ValueData: 2; Flags: uninsdeletekey; Check: isWin2kOrLater; Components: TTSSH; Tasks: sshassoc
168  Filename: {app}\teraterm.ini; Section: Tera Term; Key: SaveVTWinPos; String: off; Flags: createkeyifdoesntexist; Components: TeraTerm  Root: HKCU; Subkey: Software\Classes\ssh\DefaultIcon; ValueType: string; ValueData: """{app}\ttxssh.dll"",0"; Flags: uninsdeletekey; Check: isWin2kOrLater; Components: TTSSH; Tasks: sshassoc
169  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: SaveVTWinPos; String: off; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Root: HKCU; Subkey: Software\Classes\ssh\shell\open\command; ValueType: string; ValueData: """{app}\ttermpro.exe"" %1"; Flags: uninsdeletekey; Check: isWin2kOrLater; Components: TTSSH; Tasks: sshassoc
170  Filename: {app}\teraterm.ini; Section: Tera Term; Key: Xterm256Color; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm  Root: HKCR; Subkey: ssh; ValueType: string; ValueData: URL: SSH Protocol; Flags: uninsdeletekey; Check: not isWin2kOrLater; Components: TTSSH; Tasks: sshassoc
171  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: Xterm256Color; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Root: HKCR; Subkey: ssh; ValueName: URL Protocol; ValueType: string; Flags: uninsdeletekey; Check: not isWin2kOrLater; Components: TTSSH; Tasks: sshassoc
172  Filename: {app}\teraterm.ini; Section: Tera Term; Key: Aixterm16Color; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm  Root: HKCR; Subkey: ssh; ValueName: EditFlags; ValueType: dword; ValueData: 2; Flags: uninsdeletekey; Check: not isWin2kOrLater; Components: TTSSH; Tasks: sshassoc
173  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: Aixterm16Color; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Root: HKCR; Subkey: ssh\DefaultIcon; ValueType: string; ValueData: """{app}\ttxssh.dll"",0"; Flags: uninsdeletekey; Check: not isWin2kOrLater; Components: TTSSH; Tasks: sshassoc
174  Filename: {app}\teraterm.ini; Section: Tera Term; Key: PcBoldColor; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm  Root: HKCR; Subkey: ssh\shell\open\command; ValueType: string; ValueData: """{app}\ttermpro.exe"" %1"; Flags: uninsdeletekey; Check: not isWin2kOrLater; Components: TTSSH; Tasks: sshassoc
175  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: PcBoldColor; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  ; Associate with slogin://
176  Filename: {app}\teraterm.ini; Section: Tera Term; Key: ConfirmChangePaste; String: off; Flags: createkeyifdoesntexist; Components: TeraTerm  Root: HKCU; Subkey: Software\Classes\slogin; ValueType: string; ValueData: URL: slogin Protocol; Flags: uninsdeletekey; Check: isWin2kOrLater; Components: TTSSH; Tasks: sshassoc
177  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: ConfirmChangePaste; String: off; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Root: HKCU; Subkey: Software\Classes\slogin; ValueName: URL Protocol; ValueType: string; Flags: uninsdeletekey; Check: isWin2kOrLater; Components: TTSSH; Tasks: sshassoc
178  Filename: {app}\teraterm.ini; Section: Tera Term; Key: LogHideDialog; String: off; Flags: createkeyifdoesntexist; Components: TeraTerm  Root: HKCU; Subkey: Software\Classes\slogin; ValueName: EditFlags; ValueType: dword; ValueData: 2; Flags: uninsdeletekey; Check: isWin2kOrLater; Components: TTSSH; Tasks: sshassoc
179  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: LogHideDialog; String: off; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Root: HKCU; Subkey: Software\Classes\slogin\DefaultIcon; ValueType: string; ValueData: """{app}\ttxssh.dll"",0"; Flags: uninsdeletekey; Check: isWin2kOrLater; Components: TTSSH; Tasks: sshassoc
180  Filename: {app}\teraterm.ini; Section: Tera Term; Key: MaximizedBugTweak; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm  Root: HKCU; Subkey: Software\Classes\slogin\shell\open\command; ValueType: string; ValueData: """{app}\ttermpro.exe"" %1"; Flags: uninsdeletekey; Check: isWin2kOrLater; Components: TTSSH; Tasks: sshassoc
181  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: MaximizedBugTweak; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Root: HKCR; Subkey: slogin; ValueType: string; ValueData: URL: slogin Protocol; Flags: uninsdeletekey; Check: not isWin2kOrLater; Components: TTSSH; Tasks: sshassoc
182  Filename: {app}\teraterm.ini; Section: Tera Term; Key: KillFocusCursor; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm  Root: HKCR; Subkey: slogin; ValueName: URL Protocol; ValueType: string; Flags: uninsdeletekey; Check: not isWin2kOrLater; Components: TTSSH; Tasks: sshassoc
183  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: KillFocusCursor; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Root: HKCR; Subkey: slogin; ValueName: EditFlags; ValueType: dword; ValueData: 2; Flags: uninsdeletekey; Check: not isWin2kOrLater; Components: TTSSH; Tasks: sshassoc
184  Filename: {app}\teraterm.ini; Section: Tera Term; Key: MouseEventTracking; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm  Root: HKCR; Subkey: slogin\DefaultIcon; ValueType: string; ValueData: """{app}\ttxssh.dll"",0"; Flags: uninsdeletekey; Check: not isWin2kOrLater; Components: TTSSH; Tasks: sshassoc
185  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: MouseEventTracking; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Root: HKCR; Subkey: slogin\shell\open\command; ValueType: string; ValueData: """{app}\ttermpro.exe"" %1"; Flags: uninsdeletekey; Check: not isWin2kOrLater; Components: TTSSH; Tasks: sshassoc
186  Filename: {app}\teraterm.ini; Section: Tera Term; Key: HostDialogOnStartup; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm  ; Associate with .TTY
187  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: HostDialogOnStartup; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Root: HKCU; Subkey: Software\Classes\.tty; ValueType: string; ValueData: TTYRecordFile; Flags: uninsdeletekey; Check: isWin2kOrLater; Components: Additional_Plugins/TTXttyrec; Tasks: ttyplayassoc
188  Filename: {app}\teraterm.ini; Section: Tera Term; Key: TranslateWheelToCursor; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm  Root: HKCU; Subkey: Software\Classes\TTYRecordFile; ValueType: string; ValueData: TTY Record File; Flags: uninsdeletekey; Check: isWin2kOrLater; Components: Additional_Plugins/TTXttyrec; Tasks: ttyplayassoc
189  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: TranslateWheelToCursor; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Root: HKCU; Subkey: Software\Classes\TTYRecordFile\DefaultIcon; ValueType: string; ValueData: {app}\ttermpro.exe,0; Flags: uninsdeletekey; Check: isWin2kOrLater; Components: Additional_Plugins/TTXttyrec; Tasks: ttyplayassoc
190  Filename: {app}\teraterm.ini; Section: Tera Term; Key: ConfirmFileDragAndDrop; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm  Root: HKCU; Subkey: Software\Classes\TTYRecordFile\shell\open\command; ValueType: string; ValueData: """{app}\ttermpro.exe"" /R=""%1"" /TTYPLAY"; Flags: uninsdeletekey; Check: isWin2kOrLater; Components: Additional_Plugins/TTXttyrec; Tasks: ttyplayassoc
191  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: ConfirmFileDragAndDrop; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Root: HKCR; Subkey: .tty; ValueType: string; ValueData: TTYRecordFile; Flags: uninsdeletekey; Check: not isWin2kOrLater; Components: Additional_Plugins/TTXttyrec; Tasks: ttyplayassoc
192  Filename: {app}\teraterm.ini; Section: Tera Term; Key: ZmodemRcvCommand; String: rz; Flags: createkeyifdoesntexist; Components: TeraTerm  Root: HKCR; Subkey: TTYRecordFile; ValueType: string; ValueData: TTY Record File; Flags: uninsdeletekey; Check: not isWin2kOrLater; Components: Additional_Plugins/TTXttyrec; Tasks: ttyplayassoc
193  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: ZmodemRcvCommand; String: rz; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Root: HKCR; Subkey: TTYRecordFile\DefaultIcon; ValueType: string; ValueData: {app}\ttermpro.exe,0; Flags: uninsdeletekey; Check: not isWin2kOrLater; Components: Additional_Plugins/TTXttyrec; Tasks: ttyplayassoc
194  Filename: {app}\teraterm.ini; Section: Tera Term; Key: XmodemRcvCommand; String: ; Flags: createkeyifdoesntexist; Components: TeraTerm  Root: HKCR; Subkey: TTYRecordFile\shell\open\command; ValueType: string; ValueData: """{app}\ttermpro.exe"" /R=""%1"" /TTYPLAY"; Flags: uninsdeletekey; Check: not isWin2kOrLater; Components: Additional_Plugins/TTXttyrec; Tasks: ttyplayassoc
195  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: XmodemRcvCommand; String: ; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  
196  Filename: {app}\teraterm.ini; Section: Tera Term; Key: TelAutoDetect; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm  [Tasks]
197  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: TelAutoDetect; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Name: desktopicon; Description: {cm:task_desktopicon}; Components: TeraTerm
198  Filename: {app}\teraterm.ini; Section: Tera Term; Key: SelectOnlyByLButton; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm  Name: quicklaunchicon; Description: {cm:task_quicklaunchicon}; Components: TeraTerm
199  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: SelectOnlyByLButton; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Name: startupttmenuicon; Description: {cm:task_startupttmenuicon}; Components: TeraTerm_Menu
200  Filename: {app}\teraterm.ini; Section: Tera Term; Key: ClearComBuffOnOpen; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm  Name: startupcollectoricon; Description: {cm:task_startupcollectoricon}; Components: Collector
201  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: ClearComBuffOnOpen; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Name: cygtermhere; Description: {cm:task_cygtermhere}; Components: cygterm; Flags: unchecked
202  Filename: {app}\teraterm.ini; Section: Tera Term; Key: DisableAppCursor; String: off; Flags: createkeyifdoesntexist; Components: TeraTerm  Name: quickcyglaunch; Description: {cm:task_quickcyglaunch}; Components: cygterm; Flags: unchecked
203  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: DisableAppCursor; String: off; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Name: macroassoc; Description: {cm:task_macroassoc}; Components: TeraTerm; Flags: unchecked
204  Filename: {app}\teraterm.ini; Section: Tera Term; Key: DisableAppKeypad; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm  Name: telnetassoc; Description: {cm:task_telnetassoc}; Components: TeraTerm; Flags: unchecked
205  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: DisableAppKeypad; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Name: sshassoc; Description: {cm:task_sshassoc}; Components: TTSSH; Flags: unchecked
206  Filename: {app}\teraterm.ini; Section: TTSSH; Key: CheckAuthListFirst; String: 0; Flags: createkeyifdoesntexist; Components: TTSSH  Name: ttyplayassoc; Description: {cm:task_ttyplayassoc}; Components: Additional_Plugins/TTXttyrec; Flags: unchecked
207  Filename: {userdocs}\teraterm.ini; Section: TTSSH; Key: CheckAuthListFirst; String: 0; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TTSSH  
208  Filename: {app}\teraterm.ini; Section: Tera Term; Key: MaxBroadcatHistory; String: 99; Flags: createkeyifdoesntexist; Components: TeraTerm  [Run]
209  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: MaxBroadcatHistory; String: 99; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Filename: {app}\ttermpro.exe; Flags: nowait postinstall skipifsilent unchecked; Description: {cm:launch_teraterm}; Components: TeraTerm
210  Filename: {app}\teraterm.ini; Section: Tera Term; Key: TelKeepAliveInterval; String: 300; Flags: createkeyifdoesntexist; Components: TeraTerm  Filename: {tmp}\Setup_LogMeTT_2_9_7.exe; Components: LogMeTT
211  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: TelKeepAliveInterval; String: 300; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Filename: {tmp}\Setup_TTLEditor_1_2_1.exe; Components: TTLEdit
212  Filename: {app}\teraterm.ini; Section: Tera Term; Key: VTCompatTab; String: off; Flags: createkeyifdoesntexist; Components: TeraTerm  Filename: {app}\ttpmenu.exe; Flags: nowait postinstall skipifsilent unchecked; Description: {cm:launch_ttmenu}; Components: TeraTerm_Menu
213  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: VTCompatTab; String: off; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Filename: {app}\Collector\Collector.exe; Flags: nowait postinstall skipifsilent unchecked; Description: {cm:launch_collector}; Components: Collector
214  Filename: {app}\teraterm.ini; Section: Tera Term; Key: FileSendFilter; String: ; Flags: createkeyifdoesntexist; Components: TeraTerm  
215  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: FileSendFilter; String: ; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  [CustomMessages]
216  Filename: {app}\teraterm.ini; Section: Tera Term; Key: LogAutoStart; String: off; Flags: createkeyifdoesntexist; Components: TeraTerm  en.task_desktopicon=Create Tera Term shortcut to &Desktop
217  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: LogAutoStart; String: off; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  en.task_quicklaunchicon=Create Tera Term shortcut to &Quick Launch
218  Filename: {app}\teraterm.ini; Section: Tera Term; Key: LogDefaultPath; String: ; Flags: createkeyifdoesntexist; Components: TeraTerm  en.task_startupttmenuicon=Create TeraTerm &Menu shortcut to Startup
219  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: LogDefaultPath; String: ; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  en.task_startupcollectoricon=Create &Collector shortcut to Startup
220  Filename: {app}\teraterm.ini; Section: Tera Term; Key: AcceptBroadcast; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm  en.task_cygtermhere=Add "Cy&gterm Here" to Context menu
221  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: AcceptBroadcast; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  en.task_quickcyglaunch=Create cyg&launch shortcut to Quick Launch
222  Filename: {app}\teraterm.ini; Section: Tera Term; Key: DisableAcceleratorSendBreak; String: off; Flags: createkeyifdoesntexist; Components: TeraTerm  en.task_macroassoc=Associate .&ttl file to ttpmacro.exe
223  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: DisableAcceleratorSendBreak; String: off; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  en.task_telnetassoc=Associate t&elnet protocol to ttermpro.exe
224  Filename: {app}\teraterm.ini; Section: Tera Term; Key: ConfirmPasteMouseRButton; String: off; Flags: createkeyifdoesntexist; Components: TeraTerm  en.task_sshassoc=Associate &ssh protocol to ttermpro.exe
225  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: ConfirmPasteMouseRButton; String: off; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  en.task_ttyplayassoc=Associate .tty file to tterm&pro.exe
226  Filename: {app}\teraterm.ini; Section: Tera Term; Key: BroadcastCommandHistory; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm  ja.task_desktopicon=デスクトップに Tera Term のショートカットを作る(&D)
227  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: BroadcastCommandHistory; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  ja.task_quicklaunchicon=クイック起動に Tera Term のショートカットを作る(&Q)
228  Filename: {app}\teraterm.ini; Section: Tera Term; Key: ConnectingTimeout; String: 0; Flags: createkeyifdoesntexist; Components: TeraTerm  ja.task_startupttmenuicon=スタートアップに TeraTerm &Menu のショートカットを作る
229  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: ConnectingTimeout; String: 0; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  ja.task_startupcollectoricon=スタートアップに &Collector のショートカットを作る
230  Filename: {app}\teraterm.ini; Section: Tera Term; Key: LogDefaultName; String: teraterm.log; Flags: createkeyifdoesntexist; Components: TeraTerm  ja.task_cygtermhere=コンテキストメニューに "Cy&gterm Here" を追加する
231  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: LogDefaultName; String: teraterm.log; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  ja.task_quickcyglaunch=クイック起動に cyg&launch のショートカットを作る
232  Filename: {app}\teraterm.ini; Section: TTSSH; Key: RememberPassword; String: 1; Flags: createkeyifdoesntexist; Components: TTSSH  ja.task_macroassoc=.&ttl ファイルを ttpmacro.exe に関連付ける
233  Filename: {userdocs}\teraterm.ini; Section: TTSSH; Key: RememberPassword; String: 1; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TTSSH  ja.task_telnetassoc=t&elnet プロトコルを ttermpro.exe に関連付ける
234  Filename: {app}\teraterm.ini; Section: Tera Term; Key: LogTimestamp; String: off; Flags: createkeyifdoesntexist; Components: TeraTerm  ja.task_sshassoc=&ssh プロトコルを ttermpro.exe に関連付ける
235  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: LogTimestamp; String: off; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  ja.task_ttyplayassoc=.tty ファイルを tterm&pro.exe に関連付ける
236  Filename: {app}\teraterm.ini; Section: Tera Term; Key: AlphaBlend; String: 255; Flags: createkeyifdoesntexist; Components: TeraTerm  en.type_standard=Standard installation
237  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: AlphaBlend; String: 255; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  en.type_full=Full installation
238  Filename: {app}\teraterm.ini; Section: Tera Term; Key: UseNormalBGColor; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm  en.type_compact=Compact installation
239  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: UseNormalBGColor; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  en.type_custom=Custom installation
240  Filename: {app}\teraterm.ini; Section: Tera Term; Key: HistoryList; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm  ja.type_standard=標準インストール
241  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: HistoryList; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  ja.type_full=フルインストール
242  Filename: {app}\teraterm.ini; Section: Tera Term; Key: LogTypePlainText; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm  ja.type_compact=コンパクトインストール
243  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: LogTypePlainText; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  ja.type_custom=カスタムインストール
244  Filename: {app}\teraterm.ini; Section: Tera Term; Key: URLColor; String: 0,255,0,255,255,255; Flags: createkeyifdoesntexist; Components: TeraTerm  en.launch_teraterm=Launch &Tera Term
245  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: URLColor; String: 0,255,0,255,255,255; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  en.launch_ttmenu=Launch TeraTerm &Menu
246  Filename: {app}\teraterm.ini; Section: Tera Term; Key: EnableClickableUrl; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm  en.launch_collector=Launch &Collector
247  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: EnableClickableUrl; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  ja.launch_teraterm=今すぐ &Tera Term を実行する
248  Filename: {app}\teraterm.ini; Section: Tera Term; Key: DisablePasteMouseRButton; String: off; Flags: createkeyifdoesntexist; Components: TeraTerm  ja.launch_ttmenu=今すぐ TeraTerm &Menu を実行する
249  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: DisablePasteMouseRButton; String: off; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  ja.launch_collector=今すぐ &Collector を実行する
250  Filename: {app}\teraterm.ini; Section: BG; Key: BGEnable; String: off; Flags: createkeyifdoesntexist; Components: TeraTerm  en.msg_language_caption=Select Language
251  Filename: {userdocs}\teraterm.ini; Section: BG; Key: BGEnable; String: off; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  en.msg_language_description=Which language shoud be used?
252  Filename: {app}\teraterm.ini; Section: BG; Key: BGUseAlphaBlendAPI; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm  en.msg_language_subcaption=Select the language of application's menu and dialog, then click Next.
253  Filename: {userdocs}\teraterm.ini; Section: BG; Key: BGUseAlphaBlendAPI; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  en.msg_language_none=&English
254  Filename: {app}\teraterm.ini; Section: BG; Key: BGSPIPath; String: plugin; Flags: createkeyifdoesntexist; Components: TeraTerm  en.msg_language_japanese=&Japanese
255  Filename: {userdocs}\teraterm.ini; Section: BG; Key: BGSPIPath; String: plugin; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  en.msg_language_german=&German
256  Filename: {app}\teraterm.ini; Section: BG; Key: BGFastSizeMove; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm  en.msg_language_french=&French
257  Filename: {userdocs}\teraterm.ini; Section: BG; Key: BGFastSizeMove; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  ja.msg_language_caption=言語の選択
258  Filename: {app}\teraterm.ini; Section: BG; Key: BGNoFrame; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm  ja.msg_language_description=ユーザーインターフェースの言語を選択してください。
259  Filename: {userdocs}\teraterm.ini; Section: BG; Key: BGNoFrame; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  ja.msg_language_subcaption=アプリケーションのメニューやダイアログ等の表示言語を選択して、「次へ」をクリックしてください。
260  Filename: {app}\teraterm.ini; Section: BG; Key: BGThemeFile; String: theme\*.ini; Flags: createkeyifdoesntexist; Components: TeraTerm  ja.msg_language_none=英語(&E)
261  Filename: {userdocs}\teraterm.ini; Section: BG; Key: BGThemeFile; String: theme\*.ini; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  ja.msg_language_japanese=日本語(&J)
262  Filename: {app}\teraterm.ini; Section: Tera Term; Key: ViewlogEditor; String: notepad.exe; Flags: createkeyifdoesntexist; Components: TeraTerm  ja.msg_language_german=ドイツ語(&G)
263  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: ViewlogEditor; String: notepad.exe; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  ja.msg_language_french=フランス語(&F)
264  Filename: {app}\teraterm.ini; Section: TTSSH; Key: KeyboardInteractive; String: 0; Flags: createkeyifdoesntexist; Components: TTSSH  en.msg_del_confirm=Are you sure that you want to delete %s ?
265  Filename: {userdocs}\teraterm.ini; Section: TTSSH; Key: KeyboardInteractive; String: 0; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TTSSH  ja.msg_del_confirm=%s を削除しますか?
266    en.msg_uninstall_confirm=It seems a former version is installed. You are recommended to uninstall it previously. Do you uninstall former version ?
267  [Registry]  ja.msg_uninstall_confirm=以前のバージョンがインストールされているようです。先にアンインストールすることをお勧めします。アンインストールしますか?
268  ; Cygterm Here  en.comp_TTX=Additional Plugins
269  Root: HKCU; Subkey: Software\Classes\Folder\shell\cygterm; ValueType: string; ValueData: Cy&gterm Here; Flags: uninsdeletekey; Check: isMinimumOfWin2K; Components: cygterm; Tasks: cygtermhere  ja.comp_TTX=追加プラグイン
270  Root: HKCU; Subkey: Software\Classes\Folder\shell\cygterm\command; ValueType: string; ValueData: """{app}\cyglaunch.exe"" -nocd -nols -d \""%L\"""; Flags: uninsdeletekey; Check: isMinimumOfWin2K; Components: cygterm; Tasks: cygtermhere  en.comp_TTXResizeMenu=VT-Window size can be changed from preset
271  Root: HKCR; Subkey: Folder\shell\cygterm; ValueType: string; ValueData: Cy&gterm Here; Flags: uninsdeletekey; Check: not isMinimumOfWin2K; Components: cygterm; Tasks: cygtermhere  ja.comp_TTXResizeMenu=VTウィンドウのサイズをプリセット値の中から変更できるようにする
272  Root: HKCR; Subkey: Folder\shell\cygterm\command; ValueType: string; ValueData: """{app}\cyglaunch.exe"" -nocd -nols -d \""%L\"""; Flags: uninsdeletekey; Check: not isMinimumOfWin2K; Components: cygterm; Tasks: cygtermhere  en.comp_TTXttyrec=ttyrec format record data can be recorded or playback
273  ; Associate with .TTL  ja.comp_TTXttyrec=ttyrec形式の録画データを記録/再生できるようにする
274  Root: HKCU; Subkey: Software\Classes\.ttl; ValueType: string; ValueData: TeraTerm.MacroFile; Flags: uninsdeletekey; Check: isMinimumOfWin2K; Components: TeraTerm; Tasks: macroassoc  en.comp_TTXKanjiMenu=Changes Japanese Kanji Code from VT-Window menu
275  Root: HKCU; Subkey: Software\Classes\TeraTerm.MacroFile; ValueType: string; ValueData: Tera Term Macro File; Flags: uninsdeletekey; Check: isMinimumOfWin2K; Components: TeraTerm; Tasks: macroassoc  ja.comp_TTXKanjiMenu=日本語の漢字コードをVTウィンドウのメニューから設定できるようにする
276  Root: HKCU; Subkey: Software\Classes\TeraTerm.MacroFile\DefaultIcon; ValueType: string; ValueData: {app}\ttpmacro.exe,0; Flags: uninsdeletekey; Check: isMinimumOfWin2K; Components: TeraTerm; Tasks: macroassoc  en.comp_TTXKcodeChange=Change Japanese Kanji code by remote sequence
277  Root: HKCU; Subkey: Software\Classes\TeraTerm.MacroFile\shell\open\command; ValueType: string; ValueData: """{app}\ttpmacro.exe"" ""%1"""; Flags: uninsdeletekey; Check: isMinimumOfWin2K; Components: TeraTerm; Tasks: macroassoc  ja.comp_TTXKcodeChange=リモートからのシーケンスで日本語の漢字コードを変更する
278  Root: HKCR; Subkey: .ttl; ValueType: string; ValueData: TeraTerm.MacroFile; Flags: uninsdeletekey; Check: not isMinimumOfWin2K; Components: TeraTerm; Tasks: macroassoc  en.comp_TTXViewMode=View-only mode can be used
279  Root: HKCR; Subkey: TeraTerm.MacroFile; ValueType: string; ValueData: Tera Term Macro File; Flags: uninsdeletekey; Check: not isMinimumOfWin2K; Components: TeraTerm; Tasks: macroassoc  ja.comp_TTXViewMode=表示専用モードにすることができる
280  Root: HKCR; Subkey: TeraTerm.MacroFile\DefaultIcon; ValueType: string; ValueData: {app}\ttpmacro.exe,0; Flags: uninsdeletekey; Check: not isMinimumOfWin2K; Components: TeraTerm; Tasks: macroassoc  en.comp_TTXAlwaysOnTop=Always On Top can be used
281  Root: HKCR; Subkey: TeraTerm.MacroFile\shell\open\command; ValueType: string; ValueData: """{app}\ttpmacro.exe"" ""%1"""; Flags: uninsdeletekey; Check: not isMinimumOfWin2K; Components: TeraTerm; Tasks: macroassoc  ja.comp_TTXAlwaysOnTop=常に最前面に表示できるようにする
282  ; Associate with telnet://  en.comp_TTXRecurringCommand=Recurring Command can be used
283  Root: HKCU; Subkey: Software\Classes\telnet\shell; ValueType: string; ValueData: Open with Tera Term; Flags: uninsclearvalue; Check: isMinimumOfWin2K; Components: TeraTerm; Tasks: telnetassoc  ja.comp_TTXRecurringCommand=定期的に文字列を送信する
284  Root: HKCU; Subkey: Software\Classes\telnet\shell\Open with Tera Term\command; ValueType: string; ValueData: """{app}\ttermpro.exe"" /T=1 /nossh %1"; Flags: uninsdeletekey; Check: isMinimumOfWin2K; Components: TeraTerm; Tasks: telnetassoc  
285  Root: HKCR; Subkey: telnet\shell; ValueType: string; ValueData: Open with Tera Term; Flags: uninsclearvalue; Check: not isMinimumOfWin2K; Components: TeraTerm; Tasks: telnetassoc  [Code]
286  Root: HKCR; Subkey: telnet\shell\Open with Tera Term\command; ValueType: string; ValueData: """{app}\ttermpro.exe"" /T=1 /nossh %1"; Flags: uninsdeletekey; Check: not isMinimumOfWin2K; Components: TeraTerm; Tasks: telnetassoc  const
287  ; Associate with ssh://    SHCNF_IDLIST = $0000;
288  Root: HKCU; Subkey: Software\Classes\ssh\shell; ValueType: string; ValueData: Open with Tera Term; Flags: uninsclearvalue; Check: isMinimumOfWin2K; Components: TTSSH; Tasks: sshassoc    SHCNE_ASSOCCHANGED = $08000000;
289  Root: HKCU; Subkey: Software\Classes\ssh\shell\Open with Tera Term\command; ValueType: string; ValueData: """{app}\ttermpro.exe"" %1"; Flags: uninsdeletekey; Check: isMinimumOfWin2K; Components: TTSSH; Tasks: sshassoc  
290  Root: HKCU; Subkey: Software\Classes\ssh; ValueName: URL Protocol; ValueType: string; Flags: uninsdeletekey; Check: isMinimumOfWin2K; Components: TTSSH; Tasks: sshassoc  procedure SHChangeNotify(wEventId, uFlags, dwItem1, dwItem2: Integer);
291  Root: HKCR; Subkey: ssh\shell; ValueType: string; ValueData: Open with Tera Term; Flags: uninsclearvalue; Check: not isMinimumOfWin2K; Components: TTSSH; Tasks: sshassoc  external 'SHChangeNotify@shell32.dll stdcall';
292  Root: HKCR; Subkey: ssh\shell\Open with Tera Term\command; ValueType: string; ValueData: """{app}\ttermpro.exe"" %1"; Flags: uninsdeletekey; Check: not isMinimumOfWin2K; Components: TTSSH; Tasks: sshassoc  
293  Root: HKCR; Subkey: ssh; ValueName: URL Protocol; ValueType: string; Flags: uninsdeletekey; Check: isMinimumOfWin2K; Components: TTSSH; Tasks: sshassoc  var
294  Root: HKCU; Subkey: Software\Classes\slogin\shell; ValueType: string; ValueData: Open with Tera Term; Flags: uninsclearvalue; Check: isMinimumOfWin2K; Components: TTSSH; Tasks: sshassoc    UILangFilePage: TInputOptionWizardPage;
295  Root: HKCU; Subkey: Software\Classes\slogin\shell\Open with Tera Term\command; ValueType: string; ValueData: """{app}\ttermpro.exe"" %1"; Flags: uninsdeletekey; Check: isMinimumOfWin2K; Components: TTSSH; Tasks: sshassoc  
296  Root: HKCU; Subkey: Software\Classes\slogin; ValueName: URL Protocol; ValueType: string; Flags: uninsdeletekey; Check: isMinimumOfWin2K; Components: TTSSH; Tasks: sshassoc  
297  Root: HKCR; Subkey: slogin\shell; ValueType: string; ValueData: Open with Tera Term; Flags: uninsclearvalue; Check: not isMinimumOfWin2K; Components: TTSSH; Tasks: sshassoc  // It is different from x64
298  Root: HKCR; Subkey: slogin\shell\Open with Tera Term\command; ValueType: string; ValueData: """{app}\ttermpro.exe"" %1"; Flags: uninsdeletekey; Check: not isMinimumOfWin2K; Components: TTSSH; Tasks: sshassoc  function isIA64 : Boolean;
299  Root: HKCR; Subkey: slogin; ValueName: URL Protocol; ValueType: string; Flags: uninsdeletekey; Check: isMinimumOfWin2K; Components: TTSSH; Tasks: sshassoc  begin
300      if ProcessorArchitecture = paIA64 then
301  [Tasks]      Result := True
302  Name: desktopicon; Description: {cm:task_desktopicon}; Components: TeraTerm    else
303  Name: quicklaunchicon; Description: {cm:task_quicklaunchicon}; Components: TeraTerm      Result := False;
304  Name: startupttmenuicon; Description: {cm:task_startupttmenuicon}; Components: TeraTerm_Menu  end;
305  Name: startupcollectoricon; Description: {cm:task_startupcollectoricon}; Components: Collector  
306  Name: cygtermhere; Description: {cm:task_cygtermhere}; Components: cygterm; Flags: unchecked  // Windows 2000 or later
307  Name: quickcyglaunch; Description: {cm:task_quickcyglaunch}; Components: cygterm; Flags: unchecked  function isWin2kOrLater : Boolean;
308  Name: macroassoc; Description: {cm:task_macroassoc}; Components: TeraTerm; Flags: unchecked  var
309  Name: telnetassoc; Description: {cm:task_telnetassoc}; Components: TeraTerm; Flags: unchecked    Version: TWindowsVersion;
310  Name: sshassoc; Description: {cm:task_sshassoc}; Components: TTSSH; Flags: unchecked  begin;
311      GetWindowsVersionEx(Version);
312  [Run]    if Version.Major >= 5 then
313  Filename: {app}\ttermpro.exe; Flags: nowait postinstall skipifsilent unchecked; Description: {cm:launch_teraterm}; Components: TeraTerm      Result := True
314  Filename: {app}\LogMeTT.exe; Flags: nowait postinstall skipifsilent unchecked; Description: {cm:launch_logmett}; Components: LogMeTT    else
315  Filename: {app}\ttpmenu.exe; Flags: nowait postinstall skipifsilent unchecked; Description: {cm:launch_ttmenu}; Components: TeraTerm_Menu      Result := False;
316  Filename: {app}\Collector\Collector.exe; Flags: nowait postinstall skipifsilent unchecked; Description: {cm:launch_collector}; Components: Collector  end;
317    
318  [CustomMessages]  // Window 9x or NT 4.0 or (Admins or PowerUsers)
319  en.task_desktopicon=Create Tera Term shortcut to &Desktop  function isAbleToInstallFont : Boolean;
320  en.task_quicklaunchicon=Create Tera Term shortcut to &Quick Launch  begin;
321  en.task_startupttmenuicon=Create TeraTerm &Menu shortcut to Startup    if not UsingWinNT() then begin
322  en.task_startupcollectoricon=Create &Collector shortcut to Startup      Result := True;
323  en.task_cygtermhere=Add "Cy&gterm Here" to Context menu    end else begin
324  en.task_quickcyglaunch=Create cyg&launch shortcut to Quick Launch      if isWin2kOrLater() then begin
325  en.task_macroassoc=Associate .&ttl file to ttpmacro.exe        if IsAdminLoggedOn() or IsPowerUserLoggedOn() then begin
326  en.task_telnetassoc=Associate t&elnet protocol to ttermpro.exe          Result := True;
327  en.task_sshassoc=Associate &ssh protocol to ttermpro.exe        end else begin
328  ja.task_desktopicon=デスクトップに Tera Term のショートカットを作る(&D)          Result := False
329  ja.task_quicklaunchicon=クイック起動に Tera Term のショートカットを作る(&Q)        end;
330  ja.task_startupttmenuicon=スタートアップに TeraTerm &Menu のショートカットを作る      end else begin
331  ja.task_startupcollectoricon=スタートアップに &Collector のショートカットを作る        Result := True;
332  ja.task_cygtermhere=コンテキストメニューに "Cy&gterm Here" を追加する      end;
333  ja.task_quickcyglaunch=クイック起動に cyg&launch のショートカットを作る    end;
334  ja.task_macroassoc=.&ttl ファイルを ttpmacro.exe に関連付ける  end;
335  ja.task_telnetassoc=t&elnet プロトコルを ttermpro.exe に関連付ける  
336  ja.task_sshassoc=&ssh プロトコルを ttermpro.exe に関連付ける  function GetDefaultIniFilename : String;
337  en.type_standard=Standard installation  begin
338  en.type_full=Full installation    Result := ExpandConstant('{app}') + '\TERATERM.INI';
339  en.type_compact=Compact installation  end;
340  en.type_custom=Custom installation  
341  ja.type_standard=標準インストール  procedure SetIniFile(iniFile: String);
342  ja.type_full=フルインストール  var
343  ja.type_compact=コンパクトインストール    Language : String;
344  ja.type_custom=カスタムインストール    Locale   : String;
345  en.launch_teraterm=Launch &Tera Term    CodePage : integer;
346  en.launch_logmett=Launch &LogMeTT    VTFont   : String;
347  en.launch_ttmenu=Launch TeraTerm &Menu    TEKFont  : String;
348  en.launch_collector=Launch &Collector    FileDir  : String;
349  ja.launch_teraterm=今すぐ &Tera Term を実行する    TCPPort  : integer;
350  ja.launch_logmett=今すぐ &LogMeTT を実行する  
351  ja.launch_ttmenu=今すぐ TeraTerm &Menu を実行する  begin
352  ja.launch_collector=今すぐ &Collector を実行する    Language := GetIniString('Tera Term', 'Language', '', iniFile);
353  en.msg_language_caption=Select Language    Locale   := GetIniString('Tera Term', 'Locale', '', iniFile);
354  en.msg_language_description=Which language shoud be used?    CodePage := GetIniInt('Tera Term', 'CodePage', 0, 0, 0, iniFile);
355  en.msg_language_subcaption=Select the language of application's menu and dialog, then click Next.    VTFont   := GetIniString('Tera Term', 'VTFont', '', iniFile);
356  en.msg_language_none=&English    TEKFont  := GetIniString('Tera Term', 'TEKFont', '', iniFile);
357  en.msg_language_japanese=&Japanese    FileDir  := GetIniString('Tera Term', 'FileDir', '', iniFile);
358  en.msg_language_german=&German  
359  ja.msg_language_caption=言語の選択    case GetUILanguage and $3FF of
360  ja.msg_language_description=ユーザーインターフェースの言語を選択してください。    $04: // Chinese
361  ja.msg_language_subcaption=アプリケーションのメニューやダイアログ等の表示言語を選択して、「次へ」をクリックしてください。      begin
362  ja.msg_language_none=英語(&E)        if Length(Language) = 0 then
363  ja.msg_language_japanese=日本語(&J)          SetIniString('Tera Term', 'Language', 'Japanese', iniFile);
364  ja.msg_language_german=ドイツ語(&G)        if Length(Locale) = 0 then
365  en.msg_del_confirm=Are you sure that you want to delete %s ?          SetIniString('Tera Term', 'Locale', 'chs', iniFile);
366  ja.msg_del_confirm=%s を削除しますか?        if CodePage = 0 then
367  en.msg_uninstall_confirm=It seems a former version is installed. You are recommended to uninstall it previously. Do you uninstall former version ?          SetIniInt('Tera Term', 'CodePage', 936, iniFile);
368  ja.msg_uninstall_confirm=以前のバージョンがインストールされているようです。先にアンインストールすることをお勧めします。アンインストールしますか?        if Length(VTFont) = 0 then
369  en.comp_TTX=Additional Plugins          SetIniString('Tera Term', 'VTFont', 'Terminal,0,-12,255', iniFile);
370  ja.comp_TTX=追加プラグイン        if Length(TEKFont) = 0 then
371  en.comp_TTXResizeMenu=VT-Window size can be changed from preset          SetIniString('Tera Term', 'TEKFont', 'Terminal,0,-8,255', iniFile);
372  ja.comp_TTXResizeMenu=VTウィンドウのサイズをプリセット値の中から変更できるようにする      end;
373  en.comp_TTXttyrec=ttyrec format record data can be recorded or playback    $11: // Japanese
374  ja.comp_TTXttyrec=ttyrec形式の録画データを記録/再生できるようにする      begin
375  en.comp_TTXKanjiMenu=Changes Japanese Kanji Code from VT-Window menu        if Length(Language) = 0 then
376  ja.comp_TTXKanjiMenu=日本語の漢字コードをVTウィンドウのメニューから設定できるようにする          SetIniString('Tera Term', 'Language', 'Japanese', iniFile);
377  en.comp_TTXKcodeChange=Change Japanese Kanji code by remote sequence        if Length(Locale) = 0 then
378  ja.comp_TTXKcodeChange=リモートからのシーケンスで日本語の漢字コードを変更する          SetIniString('Tera Term', 'Locale', 'japanese', iniFile);
379  en.comp_TTXViewMode=View-only mode can be used        if CodePage = 0 then
380  ja.comp_TTXViewMode=表示専用モードにすることができる          SetIniInt('Tera Term', 'CodePage', 932, iniFile);
381  en.comp_TTXAlwaysOnTop=Always On Top can be used        if Length(VTFont) = 0 then
382  ja.comp_TTXAlwaysOnTop=常に最前面に表示できるようにする          SetIniString('Tera Term', 'VTFont', 'MS 明朝,0,-16,128', iniFile);
383          if Length(TEKFont) = 0 then
384  [Code]          SetIniString('Tera Term', 'TEKFont', 'Terminal,0,-8,128', iniFile);
385  var      end;
386    UILangFilePage: TInputOptionWizardPage;    $12: // Korean
387        begin
388          if Length(Language) = 0 then
389  function isIA64 : Boolean;          SetIniString('Tera Term', 'Language', 'Korean', iniFile);
390  begin        if Length(Locale) = 0 then
391    if ProcessorArchitecture = paIA64 then          SetIniString('Tera Term', 'Locale', 'korean', iniFile);
392      Result := True        if CodePage = 0 then
393    else          SetIniInt('Tera Term', 'CodePage', 949, iniFile);
394      Result := False;        if Length(VTFont) = 0 then
395  end;          SetIniString('Tera Term', 'VTFont', 'Terminal,0,-12,255', iniFile);
396          if Length(TEKFont) = 0 then
397  function isMinimumOfWin2K : Boolean;          SetIniString('Tera Term', 'TEKFont', 'Terminal,0,-8,255', iniFile);
398  var      end;
399    Version: TWindowsVersion;    $19: // Russian
400  begin;      begin
401    GetWindowsVersionEx(Version);        if Length(Language) = 0 then
402    if Version.Major >= 5 then          SetIniString('Tera Term', 'Language', 'Russian', iniFile);
403      Result := True        if Length(Locale) = 0 then
404    else          SetIniString('Tera Term', 'Locale', 'russian', iniFile);
405      Result := False;        if CodePage = 0 then
406  end;          SetIniInt('Tera Term', 'CodePage', 1251, iniFile);
407          if Length(VTFont) = 0 then
408  function isPowerUsersMore : Boolean;          SetIniString('Tera Term', 'VTFont', 'Terminal,0,-12,255', iniFile);
409  begin;        if Length(TEKFont) = 0 then
410    if not UsingWinNT() then begin          SetIniString('Tera Term', 'TEKFont', 'Terminal,0,-8,255', iniFile);
411      Result := True;      end;
412    end else begin    else // Other
413      if isMinimumOfWin2K() then begin      begin
414        if IsAdminLoggedOn() or IsPowerUserLoggedOn() then begin  
415          Result := True;        if GetUILanguage = $409 then begin // en-US
416        end else begin  
417          Result := False          if Length(Language) = 0 then
418        end;            SetIniString('Tera Term', 'Language', 'Japanese', iniFile);
419      end else begin          if Length(Locale) = 0 then
420        Result := True;            SetIniString('Tera Term', 'Locale', 'american', iniFile);
421      end;          if CodePage = 0 then
422    end;            SetIniInt('Tera Term', 'CodePage', 65001, iniFile);
423  end;  
424          end else begin // Other
425  function GetDefaultIniFilename : String;  
426  begin          if Length(Language) = 0 then
427    Result := ExpandConstant('{app}') + '\TERATERM.INI';            SetIniString('Tera Term', 'Language', 'English', iniFile);
428  end;          if Length(Locale) = 0 then
429              SetIniString('Tera Term', 'Locale', 'english', iniFile);
430  function isGetDefaultIniExists : Boolean;          if CodePage = 0 then
431  var            SetIniInt('Tera Term', 'CodePage', 1252, iniFile);
432    iniFile: String;  
433  begin        end;
434    iniFile  := GetDefaultIniFilename();  
435    if FileExists(iniFile) then        if Length(VTFont) = 0 then
436      Result := True          SetIniString('Tera Term', 'VTFont', 'Terminal,0,-12,255', iniFile);
437    else        if Length(TEKFont) = 0 then
438      Result := False;          SetIniString('Tera Term', 'TEKFont', 'Terminal,0,-8,255', iniFile);
439  end;      end;
440      end;
441  function GetUserIniFilename : String;  
442  begin    case UILangFilePage.SelectedValueIndex of
443    Result := ExpandConstant('{userdocs}') + '\TERATERM.INI';      1:
444  end;        SetIniString('Tera Term', 'UILanguageFile', 'lang\Japanese.lng', iniFile);
445        2:
446  function isUserIniExists : Boolean;        SetIniString('Tera Term', 'UILanguageFile', 'lang\German.lng', iniFile);
447  var      3:
448    iniFile: String;        SetIniString('Tera Term', 'UILanguageFile', 'lang\French.lng', iniFile);
449  begin      else
450    iniFile  := GetUserIniFilename();        SetIniString('Tera Term', 'UILanguageFile', 'lang\English.lng', iniFile);
451    if FileExists(iniFile) then    end;
452      Result := True  
453    else    if Length(FileDir) = 0 then begin
454      Result := False;      FileDir := ExpandConstant('{app}');
455  end;      SetIniString('Tera Term', 'FileDir', FileDir, iniFile);
456      end;
457  procedure SetIniFile(iniFile: String);  
458  var    if TCPPort = 0 then begin
459    Language : String;      if IsComponentSelected('TTSSH') then
460    Locale   : String;        SetIniInt('Tera Term', 'TCPPort', 22, iniFile)
461    CodePage : integer;      else
462    VTFont   : String;        SetIniInt('Tera Term', 'TCPPort', 23, iniFile);
463    TEKFont  : String;    end;
464    FileDir  : String;  
465    end;
466  begin  
467    Language := GetIniString('Tera Term', 'Language', '', iniFile);  procedure InitializeWizard;
468    Locale   := GetIniString('Tera Term', 'Locale', '', iniFile);  var
469    CodePage := GetIniInt('Tera Term', 'CodePage', 0, 0, 0, iniFile);    UILangFilePageCaption     : String;
470    VTFont   := GetIniString('Tera Term', 'VTFont', '', iniFile);    UILangFilePageDescription : String;
471    TEKFont  := GetIniString('Tera Term', 'TEKFont', '', iniFile);    UILangFilePageSubCaption  : String;
472    FileDir  := GetIniString('Tera Term', 'FileDir', '', iniFile);    UILangFilePageNone        : String;
473      UILangFilePageJapanese    : String;
474    case GetUILanguage and $3FF of    UILangFilePageGerman      : String;
475    $04: // Chinese    UILangFilePageFrench      : String;
476      begin  begin
477        if Length(Language) = 0 then    UILangFilePageCaption     := CustomMessage('msg_language_caption');
478          SetIniString('Tera Term', 'Language', 'Japanese', iniFile);    UILangFilePageDescription := CustomMessage('msg_language_description');
479        if Length(Locale) = 0 then    UILangFilePageSubCaption  := CustomMessage('msg_language_subcaption');
480          SetIniString('Tera Term', 'Locale', 'chs', iniFile);    UILangFilePageNone        := CustomMessage('msg_language_none');
481        if CodePage = 0 then    UILangFilePageJapanese    := CustomMessage('msg_language_japanese');
482          SetIniInt('Tera Term', 'CodePage', 936, iniFile);    UILangFilePageGerman      := CustomMessage('msg_language_german');
483        if Length(VTFont) = 0 then    UILangFilePageFrench      := CustomMessage('msg_language_french');
484          SetIniString('Tera Term', 'VTFont', 'Terminal,0,-12,255', iniFile);  
485        if Length(TEKFont) = 0 then    UILangFilePage := CreateInputOptionPage(wpSelectComponents,
486          SetIniString('Tera Term', 'TEKFont', 'Terminal,0,-8,255', iniFile);      UILangFilePageCaption, UILangFilePageDescription,
487      end;      UILangFilePageSubCaption, True, False);
488    $11: // Japanese    UILangFilePage.Add(UILangFilePageNone);
489      begin    UILangFilePage.Add(UILangFilePageJapanese);
490        if Length(Language) = 0 then    UILangFilePage.Add(UILangFilePageGerman);
491          SetIniString('Tera Term', 'Language', 'Japanese', iniFile);    UILangFilePage.Add(UILangFilePageFrench);
492        if Length(Locale) = 0 then    case ActiveLanguage of
493          SetIniString('Tera Term', 'Locale', 'japanese', iniFile);      'ja':
494        if CodePage = 0 then        UILangFilePage.SelectedValueIndex := 1;
495          SetIniInt('Tera Term', 'CodePage', 932, iniFile);      else
496        if Length(VTFont) = 0 then        UILangFilePage.SelectedValueIndex := 0;
497          SetIniString('Tera Term', 'VTFont', 'MS 明朝,0,-16,128', iniFile);    end;
498        if Length(TEKFont) = 0 then  end;
499          SetIniString('Tera Term', 'TEKFont', 'Terminal,0,-8,128', iniFile);  
500      end;  function NextButtonClick(CurPageID: Integer): Boolean;
501    $19: // Russian  var
502      begin    uninstaller  : String;
503        if Length(Language) = 0 then    uninstaller2 : String;
504          SetIniString('Tera Term', 'Language', 'Russian', iniFile);    ResultCode: Integer;
505        if Length(Locale) = 0 then    iniFile : String;
506          SetIniString('Tera Term', 'Locale', 'russian', iniFile);  begin
507        if CodePage = 0 then    case CurPageID of
508          SetIniInt('Tera Term', 'CodePage', 1251, iniFile);  
509        if Length(VTFont) = 0 then      wpWelcome:
510          SetIniString('Tera Term', 'VTFont', 'Terminal,0,-12,255', iniFile);        begin
511        if Length(TEKFont) = 0 then  
512          SetIniString('Tera Term', 'TEKFont', 'Terminal,0,-8,255', iniFile);          if RegQueryStringValue(HKEY_LOCAL_MACHINE,
513      end;                                 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\UTF-8 TeraTerm Pro with TTSSH2_is1',
514    else // Other                                 'UninstallString', uninstaller) then
515      begin          begin
516              // UTF-8 TeraTerm Pro with TTSSH2 のアンインストーラ文字列を発見した
517        if GetUILanguage = $409 then begin // en-US            if not RegKeyExists(HKEY_LOCAL_MACHINE,
518                                  'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Tera Term_is1') then
519          if Length(Language) = 0 then            begin
520            SetIniString('Tera Term', 'Language', 'Japanese', iniFile);              // Tera Term のインストールエントリが見つからない(共存していない)
521          if Length(Locale) = 0 then              if MsgBox(CustomMessage('msg_uninstall_confirm'), mbInformation, MB_YESNO) = IDYES then
522            SetIniString('Tera Term', 'Locale', 'american', iniFile);              begin
523          if CodePage = 0 then                // ユーザがアンインストールを選択した
524            SetIniInt('Tera Term', 'CodePage', 65001, iniFile);  
525                  // 両端の " を削る
526        end else begin // Other                uninstaller2 := Copy(uninstaller, 2, Length(uninstaller) - 2);
527    
528          if Length(Language) = 0 then                if not Exec(uninstaller2, '', '', SW_SHOW,
529            SetIniString('Tera Term', 'Language', 'English', iniFile);                            ewWaitUntilTerminated, ResultCode) then
530          if Length(Locale) = 0 then                begin
531            SetIniString('Tera Term', 'Locale', 'english', iniFile);                  // 実行に失敗
532          if CodePage = 0 then                  MsgBox(SysErrorMessage(ResultCode), mbError, MB_OK);
533            SetIniInt('Tera Term', 'CodePage', 1252, iniFile);                end;
534                end;
535        end;            end;
536            end;
537        if Length(VTFont) = 0 then  
538          SetIniString('Tera Term', 'VTFont', 'Terminal,0,-12,255', iniFile);        end;
539        if Length(TEKFont) = 0 then  
540          SetIniString('Tera Term', 'TEKFont', 'Terminal,0,-8,255', iniFile);      wpSelectComponents:
541      end;        begin
542    end;  
543            iniFile := GetIniString('Tera Term', 'UILanguageFile', '', GetDefaultIniFilename());
544    case UILangFilePage.SelectedValueIndex of          if iniFile = 'lang\Japanese.lng' then
545      1:            UILangFilePage.SelectedValueIndex := 1
546        SetIniString('Tera Term', 'UILanguageFile', 'lang\Japanese.lng', iniFile);          else if iniFile = 'lang\German.lng' then
547      2:            UILangFilePage.SelectedValueIndex := 2
548        SetIniString('Tera Term', 'UILanguageFile', 'lang\German.lng', iniFile);          else if iniFile = 'lang\French.lng' then
549      else            UILangFilePage.SelectedValueIndex := 3
550        SetIniString('Tera Term', 'UILanguageFile', 'lang\English.lng', iniFile);          else
551    end;            UILangFilePage.SelectedValueIndex := 0;
552    
553    if Length(FileDir) = 0 then begin        end;
554      FileDir := ExpandConstant('{app}');    end;
555      SetIniString('Tera Term', 'FileDir', FileDir, iniFile);    Result := True;
556    end;  end;
557    
558  end;  procedure CurStepChanged(CurStep: TSetupStep);
559    var
560  procedure InitializeWizard;    iniFile : String;
561  var  begin
562    UILangFilePageCaption     : String;    case CurStep of
563    UILangFilePageDescription : String;      ssDone:
564    UILangFilePageSubCaption  : String;        begin
565    UILangFilePageNone        : String;          iniFile := GetDefaultIniFilename();
566    UILangFilePageJapanese    : String;          SetIniFile(iniFile);
567    UILangFilePageGerman      : String;  
568  begin          if not IsTaskSelected('cygtermhere') then
569    UILangFilePageCaption     := CustomMessage('msg_language_caption');          begin;
570    UILangFilePageDescription := CustomMessage('msg_language_description');            RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'Software\Classes\Folder\shell\cygterm');
571    UILangFilePageSubCaption  := CustomMessage('msg_language_subcaption');            RegDeleteKeyIncludingSubkeys(HKEY_CLASSES_ROOT, 'Folder\shell\cygterm');
572    UILangFilePageNone        := CustomMessage('msg_language_none');          end;
573    UILangFilePageJapanese    := CustomMessage('msg_language_japanese');  
574    UILangFilePageGerman      := CustomMessage('msg_language_german');          if not IsTaskSelected('macroassoc') then
575            begin;
576    UILangFilePage := CreateInputOptionPage(wpSelectComponents,            RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'Software\Classes\.ttl');
577      UILangFilePageCaption, UILangFilePageDescription,            RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'Software\Classes\TeraTerm.MacroFile');
578      UILangFilePageSubCaption, True, False);            RegDeleteKeyIncludingSubkeys(HKEY_CLASSES_ROOT, '.ttl');
579    UILangFilePage.Add(UILangFilePageNone);            RegDeleteKeyIncludingSubkeys(HKEY_CLASSES_ROOT, 'TeraTerm.MacroFile');
580    UILangFilePage.Add(UILangFilePageJapanese);          end;
581    UILangFilePage.Add(UILangFilePageGerman);  
582    case ActiveLanguage of          if not IsTaskSelected('telnetassoc') then
583      'ja':          begin;
584        UILangFilePage.SelectedValueIndex := 1;            RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'Software\Classes\telnet\shell\Open with Tera Term');
585      else            RegDeleteValue(HKEY_CURRENT_USER, 'Software\Classes\telnet\shell', '');
586        UILangFilePage.SelectedValueIndex := 0;            RegDeleteKeyIncludingSubkeys(HKEY_CLASSES_ROOT, 'telnet\shell\Open with Tera Term');
587    end;            RegDeleteValue(HKEY_CLASSES_ROOT, 'telnet\shell', '');
588  end;          end;
589    
590  function NextButtonClick(CurPageID: Integer): Boolean;        SHChangeNotify(SHCNE_ASSOCCHANGED, SHCNF_IDLIST, 0, 0);
591  var  
592    uninstaller  : String;        end; // ssDone
593    uninstaller2 : String;     end; // case CurStep of
594    ResultCode: Integer;  end; // CurStepChanged
595    iniFile : String;  
596  begin  procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep);
597    case CurPageID of  var
598      ini     : array[0..4] of String;
599      wpWelcome:    buf     : String;
600        begin    conf    : String;
601      confmsg : String;
602          if RegQueryStringValue(HKEY_LOCAL_MACHINE,    app     : String;
603                                 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\UTF-8 TeraTerm Pro with TTSSH2_is1',    i, res  : integer;
604                                 'UninstallString', uninstaller) then  begin
605          begin    case CurUninstallStep of
606            // UTF-8 TeraTerm Pro with TTSSH2 のアンインストーラ文字列を発見した      usPostUninstall:
607            if not RegKeyExists(HKEY_LOCAL_MACHINE,        begin
608                                'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Tera Term_is1') then          ini[0] := '\TERATERM.INI';
609            begin          ini[1] := '\KEYBOARD.CNF';
610              // Tera Term のインストールエントリが見つからない(共存していない)          ini[2] := '\ssh_known_hosts';
611              if MsgBox(CustomMessage('msg_uninstall_confirm'), mbInformation, MB_YESNO) = IDYES then          ini[3] := '\cygterm.cfg';
612              begin          ini[4] := '\broadcast.log';
613                // ユーザがアンインストールを選択した  
614            conf := CustomMessage('msg_del_confirm');
615                // 両端の " を削る          app  := ExpandConstant('{app}');
616                uninstaller2 := Copy(uninstaller, 2, Length(uninstaller) - 2);  
617            // delete config files
618                if not Exec(uninstaller2, '', '', SW_SHOW,          for i := 0 to 4 do
619                            ewWaitUntilTerminated, ResultCode) then          begin
620                begin            buf := app + ini[i];
621                  // 実行に失敗            if FileExists(buf) then begin
622                  MsgBox(SysErrorMessage(ResultCode), mbError, MB_OK);              confmsg := Format(conf, [buf]);
623                end;              res := MsgBox(confmsg, mbInformation, MB_YESNO or MB_DEFBUTTON2);
624              end;              if res = IDYES then
625            end;                DeleteFile(buf);
626          end;            end;
627            end;
628        end;  
629            // delete registory
630      wpSelectComponents:          if RegKeyExists(HKEY_CURRENT_USER, 'Software\ShinpeiTools\TTermMenu') then begin
631        begin            confmsg := Format(conf, ['HKEY_CURRENT_USER' + '\Software\ShinpeiTools\TTermMenu']);
632              res := MsgBox(confmsg, mbInformation, MB_YESNO or MB_DEFBUTTON2);
633          if isUserIniExists() then            if res = IDYES then begin
634          begin              RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'Software\ShinpeiTools\TTermMenu');
635            iniFile := GetIniString('Tera Term', 'UILanguageFile', '', GetUserIniFilename());              RegDeleteKeyIfEmpty(HKEY_CURRENT_USER, 'Software\ShinpeiTools');
636            if iniFile = 'lang\Japanese.lng' then            end;
637              UILangFilePage.SelectedValueIndex := 1          end;
638            else if iniFile = 'lang\German.lng' then  
639              UILangFilePage.SelectedValueIndex := 2          SHChangeNotify(SHCNE_ASSOCCHANGED, SHCNF_IDLIST, 0, 0);
640            else  
641              UILangFilePage.SelectedValueIndex := 0;          // directory is deleted only if empty
642          end if isGetDefaultIniExists() then begin          RemoveDir(app);
643            iniFile := GetIniString('Tera Term', 'UILanguageFile', '', GetDefaultIniFilename());        end;
644            if iniFile = 'lang\Japanese.lng' then    end;
645              UILangFilePage.SelectedValueIndex := 1  end;
646            else if iniFile = 'lang\German.lng' then  
647              UILangFilePage.SelectedValueIndex := 2  [InstallDelete]
648            else  Name: {app}\OpenSSH-LICENCE.txt; Type: files
649              UILangFilePage.SelectedValueIndex := 0;  Name: {app}\cygterm-README.txt; Type: files
650          end;  Name: {app}\cygterm-README-j.txt; Type: files
651    Name: {app}\keycode.txt; Type: files
652        end;  Name: {app}\keycodej.txt; Type: files
653    end;  Name: {app}\RE.txt; Type: files
654    Result := True;  Name: {app}\RE-ja.txt; Type: files
655  end;  Name: {app}\ssh2_readme.txt; Type: files
656    Name: {app}\ssh2_readme-j.txt; Type: files
657  procedure CurStepChanged(CurStep: TSetupStep);  Name: {app}\utf8_readme.txt; Type: files
658  var  Name: {app}\utf8_readme-j.txt; Type: files
659    iniFile : String;  Name: {app}\OpenSSH-LICENSE.txt; Type: files
660  begin  Name: {app}\OpenSSL-LICENSE.txt; Type: files
661    case CurStep of  Name: {group}\TeraTerm Document.lnk; Type: files
662      ssDone:  Name: {group}\TeraTerm Document(Japanese).lnk; Type: files
663        begin  Name: {group}\TTSSH Document.lnk; Type: files
664          iniFile := GetDefaultIniFilename();  Name: {group}\TTSSH Document(Japanese).lnk; Type: files
665          SetIniFile(iniFile);  Name: {app}\LogMeTT.hlp; Type: files
666    Name: {app}\macro.hlp; Type: files
667          if isUserIniExists() then begin  Name: {app}\macroj.hlp; Type: files
668            iniFile := GetUserIniFilename();  Name: {app}\ttermp.hlp; Type: files
669            SetIniFile(iniFile);  Name: {app}\ttermpj.hlp; Type: files
670          end;  Name: {app}\copyfont.bat; Type: files
671    Name: {app}\copyfont.pif; Type: files
672          if not IsTaskSelected('cygtermhere') then  Name: {app}\libeay.txt; Type: files
673          begin;  
674            RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'Software\Classes\Folder\shell\cygterm');  [_ISToolPreCompile]
675            RegDeleteKeyIncludingSubkeys(HKEY_CLASSES_ROOT, 'Folder\shell\cygterm');  Name: makechm.bat
676          end;  ; Name: build.bat; Parameters: rebuild
677    Name: build.bat
         if not IsTaskSelected('macroassoc') then  
         begin;  
           RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'Software\Classes\.ttl');  
           RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'Software\Classes\TeraTerm.MacroFile');  
           RegDeleteKeyIncludingSubkeys(HKEY_CLASSES_ROOT, '.ttl');  
           RegDeleteKeyIncludingSubkeys(HKEY_CLASSES_ROOT, 'TeraTerm.MacroFile');  
         end;  
   
         if not IsTaskSelected('telnetassoc') then  
         begin;  
           RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'Software\Classes\telnet\shell\Open with Tera Term');  
           RegDeleteValue(HKEY_CURRENT_USER, 'Software\Classes\telnet\shell', '');  
           RegDeleteKeyIncludingSubkeys(HKEY_CLASSES_ROOT, 'telnet\shell\Open with Tera Term');  
           RegDeleteValue(HKEY_CLASSES_ROOT, 'telnet\shell', '');  
         end;  
   
       end; // ssDone  
    end; // case CurStep of  
 end; // CurStepChanged  
   
 procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep);  
 var  
   ini     : array[0..4] of String;  
   buf     : String;  
   conf    : String;  
   confmsg : String;  
   app     : String;  
   userdoc : String;  
   i, res : integer;  
 begin  
   case CurUninstallStep of  
     usPostUninstall:  
       begin  
         ini[0] := '\TERATERM.INI';  
         ini[1] := '\KEYBOARD.CNF';  
         ini[2] := '\ssh_known_hosts';  
         ini[3] := '\cygterm.cfg';  
         ini[4] := '\broadcast.log';  
   
         conf := CustomMessage('msg_del_confirm');  
         app     := ExpandConstant('{app}');  
         userdoc := ExpandConstant('{userdocs}');  
   
         // delete config files  
         for i := 0 to 4 do  
         begin  
           buf := app + ini[i];  
           if FileExists(buf) then begin  
             confmsg := Format(conf, [buf]);  
             res := MsgBox(confmsg, mbInformation, MB_YESNO or MB_DEFBUTTON2);  
             if res = IDYES then  
               DeleteFile(buf);  
           end;  
           buf := userdoc + ini[i];  
           if FileExists(buf) then begin  
             confmsg := Format(conf, [buf]);  
             res := MsgBox(confmsg, mbInformation, MB_YESNO or MB_DEFBUTTON2);  
             if res = IDYES then  
               DeleteFile(buf);  
           end;  
         end;  
   
         // delete registory  
         if RegKeyExists(HKEY_CURRENT_USER, 'Software\ShinpeiTools\TTermMenu') then begin  
           confmsg := Format(conf, ['HKEY_CURRENT_USER' + '\Software\ShinpeiTools\TTermMenu']);  
           res := MsgBox(confmsg, mbInformation, MB_YESNO or MB_DEFBUTTON2);  
           if res = IDYES then begin  
             RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'Software\ShinpeiTools\TTermMenu');  
             RegDeleteKeyIfEmpty(HKEY_CURRENT_USER, 'Software\ShinpeiTools');  
           end;  
         end;  
   
         // directory is deleted only if empty  
         RemoveDir(app);  
       end;  
   end;  
 end;  
   
 [InstallDelete]  
 Name: {app}\OpenSSH-LICENCE.txt; Type: files  
 Name: {app}\cygterm-README.txt; Type: files  
 Name: {app}\cygterm-README-j.txt; Type: files  
 Name: {app}\keycode.txt; Type: files  
 Name: {app}\keycodej.txt; Type: files  
 Name: {app}\RE.txt; Type: files  
 Name: {app}\RE-ja.txt; Type: files  
 Name: {app}\ssh2_readme.txt; Type: files  
 Name: {app}\ssh2_readme-j.txt; Type: files  
 Name: {app}\utf8_readme.txt; Type: files  
 Name: {app}\utf8_readme-j.txt; Type: files  
 Name: {app}\OpenSSH-LICENSE.txt; Type: files  
 Name: {app}\OpenSSL-LICENSE.txt; Type: files  
 Name: {group}\TeraTerm Document.lnk; Type: files  
 Name: {group}\TeraTerm Document(Japanese).lnk; Type: files  
 Name: {group}\TTSSH Document.lnk; Type: files  
 Name: {group}\TTSSH Document(Japanese).lnk; Type: files  
 Name: {app}\LogMeTT.hlp; Type: files  
 Name: {app}\macro.hlp; Type: files  
 Name: {app}\macroj.hlp; Type: files  
 Name: {app}\ttermp.hlp; Type: files  
 Name: {app}\ttermpj.hlp; Type: files  
 Name: {app}\copyfont.bat; Type: files  
 Name: {app}\copyfont.pif; Type: files  
 Name: {app}\libeay.txt; Type: files  
   
 [_ISToolPreCompile]  
 Name: makechm.bat  
 Name: build.bat; Parameters: rebuild  

Legend:
Removed from v.1271  
changed lines
  Added in v.3947

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26