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

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 3948 by maya, Sun Jul 25 14:55:15 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 に関連付ける  {
337  en.type_standard=Standard installation  // If value is not found in INI, returns ""
338  en.type_full=Full installation  function GetIniString2(Section:String; Key:String; Filename:String) : String;
339  en.type_compact=Compact installation  var
340  en.type_custom=Custom installation    Default1: String;
341  ja.type_standard=標準インストール    Default2: String;
342  ja.type_full=フルインストール    Value1:   String;
343  ja.type_compact=コンパクトインストール    Value2:   String;
344  ja.type_custom=カスタムインストール  begin
345  en.launch_teraterm=Launch &Tera Term    Default1 := 'on';
346  en.launch_logmett=Launch &LogMeTT    Default2 := 'off';
347  en.launch_ttmenu=Launch TeraTerm &Menu    Value1 := GetIniString(Section, Key, Default1, Filename);
348  en.launch_collector=Launch &Collector    Value2 := GetIniString(Section, Key, Default2, Filename);
349  ja.launch_teraterm=今すぐ &Tera Term を実行する  
350  ja.launch_logmett=今すぐ &LogMeTT を実行する    if Value1 <> Value2 then
351  ja.launch_ttmenu=今すぐ TeraTerm &Menu を実行する      // no value in INI
352  ja.launch_collector=今すぐ &Collector を実行する      Result := ''
353  en.msg_language_caption=Select Language    else
354  en.msg_language_description=Which language shoud be used?      // value in INI
355  en.msg_language_subcaption=Select the language of application's menu and dialog, then click Next.      Result := Value1
356  en.msg_language_none=&English  end;
357  en.msg_language_japanese=&Japanese  }
358  en.msg_language_german=&German  
359  ja.msg_language_caption=言語の選択  function GetDefaultIniFilename : String;
360  ja.msg_language_description=ユーザーインターフェースの言語を選択してください。  begin
361  ja.msg_language_subcaption=アプリケーションのメニューやダイアログ等の表示言語を選択して、「次へ」をクリックしてください。    Result := ExpandConstant('{app}') + '\TERATERM.INI';
362  ja.msg_language_none=英語(&E)  end;
363  ja.msg_language_japanese=日本語(&J)  
364  ja.msg_language_german=ドイツ語(&G)  procedure SetIniFile(iniFile: String);
365  en.msg_del_confirm=Are you sure that you want to delete %s ?  var
366  ja.msg_del_confirm=%s を削除しますか?    Language : String;
367  en.msg_uninstall_confirm=It seems a former version is installed. You are recommended to uninstall it previously. Do you uninstall former version ?    Locale   : String;
368  ja.msg_uninstall_confirm=以前のバージョンがインストールされているようです。先にアンインストールすることをお勧めします。アンインストールしますか?    CodePage : integer;
369  en.comp_TTX=Additional Plugins    VTFont   : String;
370  ja.comp_TTX=追加プラグイン    TEKFont  : String;
371  en.comp_TTXResizeMenu=VT-Window size can be changed from preset    FileDir  : String;
372  ja.comp_TTXResizeMenu=VTウィンドウのサイズをプリセット値の中から変更できるようにする    TCPPort  : integer;
373  en.comp_TTXttyrec=ttyrec format record data can be recorded or playback  
374  ja.comp_TTXttyrec=ttyrec形式の録画データを記録/再生できるようにする  begin
375  en.comp_TTXKanjiMenu=Changes Japanese Kanji Code from VT-Window menu    Language := GetIniString('Tera Term', 'Language', '', iniFile);
376  ja.comp_TTXKanjiMenu=日本語の漢字コードをVTウィンドウのメニューから設定できるようにする    Locale   := GetIniString('Tera Term', 'Locale', '', iniFile);
377  en.comp_TTXKcodeChange=Change Japanese Kanji code by remote sequence    CodePage := GetIniInt('Tera Term', 'CodePage', 0, 0, 0, iniFile);
378  ja.comp_TTXKcodeChange=リモートからのシーケンスで日本語の漢字コードを変更する    VTFont   := GetIniString('Tera Term', 'VTFont', '', iniFile);
379  en.comp_TTXViewMode=View-only mode can be used    TEKFont  := GetIniString('Tera Term', 'TEKFont', '', iniFile);
380  ja.comp_TTXViewMode=表示専用モードにすることができる    FileDir  := GetIniString('Tera Term', 'FileDir', '', iniFile);
381  en.comp_TTXAlwaysOnTop=Always On Top can be used  
382  ja.comp_TTXAlwaysOnTop=常に最前面に表示できるようにする    case GetUILanguage and $3FF of
383      $04: // Chinese
384  [Code]      begin
385  var        if Length(Language) = 0 then
386    UILangFilePage: TInputOptionWizardPage;          SetIniString('Tera Term', 'Language', 'Japanese', iniFile);
387          if Length(Locale) = 0 then
388            SetIniString('Tera Term', 'Locale', 'chs', iniFile);
389  function isIA64 : Boolean;        if CodePage = 0 then
390  begin          SetIniInt('Tera Term', 'CodePage', 936, iniFile);
391    if ProcessorArchitecture = paIA64 then        if Length(VTFont) = 0 then
392      Result := True          SetIniString('Tera Term', 'VTFont', 'Terminal,0,-12,255', iniFile);
393    else        if Length(TEKFont) = 0 then
394      Result := False;          SetIniString('Tera Term', 'TEKFont', 'Terminal,0,-8,255', iniFile);
395  end;      end;
396      $11: // Japanese
397  function isMinimumOfWin2K : Boolean;      begin
398  var        if Length(Language) = 0 then
399    Version: TWindowsVersion;          SetIniString('Tera Term', 'Language', 'Japanese', iniFile);
400  begin;        if Length(Locale) = 0 then
401    GetWindowsVersionEx(Version);          SetIniString('Tera Term', 'Locale', 'japanese', iniFile);
402    if Version.Major >= 5 then        if CodePage = 0 then
403      Result := True          SetIniInt('Tera Term', 'CodePage', 932, iniFile);
404    else        if Length(VTFont) = 0 then
405      Result := False;          SetIniString('Tera Term', 'VTFont', 'MS 明朝,0,-16,128', iniFile);
406  end;        if Length(TEKFont) = 0 then
407            SetIniString('Tera Term', 'TEKFont', 'Terminal,0,-8,128', iniFile);
408  function isPowerUsersMore : Boolean;      end;
409  begin;    $12: // Korean
410    if not UsingWinNT() then begin      begin
411      Result := True;        if Length(Language) = 0 then
412    end else begin          SetIniString('Tera Term', 'Language', 'Korean', iniFile);
413      if isMinimumOfWin2K() then begin        if Length(Locale) = 0 then
414        if IsAdminLoggedOn() or IsPowerUserLoggedOn() then begin          SetIniString('Tera Term', 'Locale', 'korean', iniFile);
415          Result := True;        if CodePage = 0 then
416        end else begin          SetIniInt('Tera Term', 'CodePage', 949, iniFile);
417          Result := False        if Length(VTFont) = 0 then
418        end;          SetIniString('Tera Term', 'VTFont', 'Terminal,0,-12,255', iniFile);
419      end else begin        if Length(TEKFont) = 0 then
420        Result := True;          SetIniString('Tera Term', 'TEKFont', 'Terminal,0,-8,255', iniFile);
421      end;      end;
422    end;    $19: // Russian
423  end;      begin
424          if Length(Language) = 0 then
425  function GetDefaultIniFilename : String;          SetIniString('Tera Term', 'Language', 'Russian', iniFile);
426  begin        if Length(Locale) = 0 then
427    Result := ExpandConstant('{app}') + '\TERATERM.INI';          SetIniString('Tera Term', 'Locale', 'russian', iniFile);
428  end;        if CodePage = 0 then
429            SetIniInt('Tera Term', 'CodePage', 1251, iniFile);
430  function isGetDefaultIniExists : Boolean;        if Length(VTFont) = 0 then
431  var          SetIniString('Tera Term', 'VTFont', 'Terminal,0,-12,255', iniFile);
432    iniFile: String;        if Length(TEKFont) = 0 then
433  begin          SetIniString('Tera Term', 'TEKFont', 'Terminal,0,-8,255', iniFile);
434    iniFile  := GetDefaultIniFilename();      end;
435    if FileExists(iniFile) then    else // Other
436      Result := True      begin
437    else  
438      Result := False;        if GetUILanguage = $409 then begin // en-US
439  end;  
440            if Length(Language) = 0 then
441  function GetUserIniFilename : String;            SetIniString('Tera Term', 'Language', 'Japanese', iniFile);
442  begin          if Length(Locale) = 0 then
443    Result := ExpandConstant('{userdocs}') + '\TERATERM.INI';            SetIniString('Tera Term', 'Locale', 'american', iniFile);
444  end;          if CodePage = 0 then
445              SetIniInt('Tera Term', 'CodePage', 65001, iniFile);
446  function isUserIniExists : Boolean;  
447  var        end else begin // Other
448    iniFile: String;  
449  begin          if Length(Language) = 0 then
450    iniFile  := GetUserIniFilename();            SetIniString('Tera Term', 'Language', 'English', iniFile);
451    if FileExists(iniFile) then          if Length(Locale) = 0 then
452      Result := True            SetIniString('Tera Term', 'Locale', 'english', iniFile);
453    else          if CodePage = 0 then
454      Result := False;            SetIniInt('Tera Term', 'CodePage', 1252, iniFile);
455  end;  
456          end;
457  procedure SetIniFile(iniFile: String);  
458  var        if Length(VTFont) = 0 then
459    Language : String;          SetIniString('Tera Term', 'VTFont', 'Terminal,0,-12,255', iniFile);
460    Locale   : String;        if Length(TEKFont) = 0 then
461    CodePage : integer;          SetIniString('Tera Term', 'TEKFont', 'Terminal,0,-8,255', iniFile);
462    VTFont   : String;      end;
463    TEKFont  : String;    end;
464    FileDir  : String;  
465      case UILangFilePage.SelectedValueIndex of
466  begin      1:
467    Language := GetIniString('Tera Term', 'Language', '', iniFile);        SetIniString('Tera Term', 'UILanguageFile', 'lang\Japanese.lng', iniFile);
468    Locale   := GetIniString('Tera Term', 'Locale', '', iniFile);      2:
469    CodePage := GetIniInt('Tera Term', 'CodePage', 0, 0, 0, iniFile);        SetIniString('Tera Term', 'UILanguageFile', 'lang\German.lng', iniFile);
470    VTFont   := GetIniString('Tera Term', 'VTFont', '', iniFile);      3:
471    TEKFont  := GetIniString('Tera Term', 'TEKFont', '', iniFile);        SetIniString('Tera Term', 'UILanguageFile', 'lang\French.lng', iniFile);
472    FileDir  := GetIniString('Tera Term', 'FileDir', '', iniFile);      else
473          SetIniString('Tera Term', 'UILanguageFile', 'lang\English.lng', iniFile);
474    case GetUILanguage and $3FF of    end;
475    $04: // Chinese  
476      begin    if Length(FileDir) = 0 then begin
477        if Length(Language) = 0 then      FileDir := ExpandConstant('{app}');
478          SetIniString('Tera Term', 'Language', 'Japanese', iniFile);      SetIniString('Tera Term', 'FileDir', FileDir, iniFile);
479        if Length(Locale) = 0 then    end;
480          SetIniString('Tera Term', 'Locale', 'chs', iniFile);  
481        if CodePage = 0 then    if TCPPort = 0 then begin
482          SetIniInt('Tera Term', 'CodePage', 936, iniFile);      if IsComponentSelected('TTSSH') then
483        if Length(VTFont) = 0 then        SetIniInt('Tera Term', 'TCPPort', 22, iniFile)
484          SetIniString('Tera Term', 'VTFont', 'Terminal,0,-12,255', iniFile);      else
485        if Length(TEKFont) = 0 then        SetIniInt('Tera Term', 'TCPPort', 23, iniFile);
486          SetIniString('Tera Term', 'TEKFont', 'Terminal,0,-8,255', iniFile);    end;
487      end;  
488    $11: // Japanese  end;
489      begin  
490        if Length(Language) = 0 then  procedure InitializeWizard;
491          SetIniString('Tera Term', 'Language', 'Japanese', iniFile);  var
492        if Length(Locale) = 0 then    UILangFilePageCaption     : String;
493          SetIniString('Tera Term', 'Locale', 'japanese', iniFile);    UILangFilePageDescription : String;
494        if CodePage = 0 then    UILangFilePageSubCaption  : String;
495          SetIniInt('Tera Term', 'CodePage', 932, iniFile);    UILangFilePageNone        : String;
496        if Length(VTFont) = 0 then    UILangFilePageJapanese    : String;
497          SetIniString('Tera Term', 'VTFont', 'MS 明朝,0,-16,128', iniFile);    UILangFilePageGerman      : String;
498        if Length(TEKFont) = 0 then    UILangFilePageFrench      : String;
499          SetIniString('Tera Term', 'TEKFont', 'Terminal,0,-8,128', iniFile);  begin
500      end;    UILangFilePageCaption     := CustomMessage('msg_language_caption');
501    $19: // Russian    UILangFilePageDescription := CustomMessage('msg_language_description');
502      begin    UILangFilePageSubCaption  := CustomMessage('msg_language_subcaption');
503        if Length(Language) = 0 then    UILangFilePageNone        := CustomMessage('msg_language_none');
504          SetIniString('Tera Term', 'Language', 'Russian', iniFile);    UILangFilePageJapanese    := CustomMessage('msg_language_japanese');
505        if Length(Locale) = 0 then    UILangFilePageGerman      := CustomMessage('msg_language_german');
506          SetIniString('Tera Term', 'Locale', 'russian', iniFile);    UILangFilePageFrench      := CustomMessage('msg_language_french');
507        if CodePage = 0 then  
508          SetIniInt('Tera Term', 'CodePage', 1251, iniFile);    UILangFilePage := CreateInputOptionPage(wpSelectComponents,
509        if Length(VTFont) = 0 then      UILangFilePageCaption, UILangFilePageDescription,
510          SetIniString('Tera Term', 'VTFont', 'Terminal,0,-12,255', iniFile);      UILangFilePageSubCaption, True, False);
511        if Length(TEKFont) = 0 then    UILangFilePage.Add(UILangFilePageNone);
512          SetIniString('Tera Term', 'TEKFont', 'Terminal,0,-8,255', iniFile);    UILangFilePage.Add(UILangFilePageJapanese);
513      end;    UILangFilePage.Add(UILangFilePageGerman);
514    else // Other    UILangFilePage.Add(UILangFilePageFrench);
515      begin    case ActiveLanguage of
516        'ja':
517        if GetUILanguage = $409 then begin // en-US        UILangFilePage.SelectedValueIndex := 1;
518        else
519          if Length(Language) = 0 then        UILangFilePage.SelectedValueIndex := 0;
520            SetIniString('Tera Term', 'Language', 'Japanese', iniFile);    end;
521          if Length(Locale) = 0 then  end;
522            SetIniString('Tera Term', 'Locale', 'american', iniFile);  
523          if CodePage = 0 then  function NextButtonClick(CurPageID: Integer): Boolean;
524            SetIniInt('Tera Term', 'CodePage', 65001, iniFile);  var
525      uninstaller  : String;
526        end else begin // Other    uninstaller2 : String;
527      ResultCode: Integer;
528          if Length(Language) = 0 then    iniFile : String;
529            SetIniString('Tera Term', 'Language', 'English', iniFile);  begin
530          if Length(Locale) = 0 then    case CurPageID of
531            SetIniString('Tera Term', 'Locale', 'english', iniFile);  
532          if CodePage = 0 then      wpWelcome:
533            SetIniInt('Tera Term', 'CodePage', 1252, iniFile);        begin
534    
535        end;          if RegQueryStringValue(HKEY_LOCAL_MACHINE,
536                                   'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\UTF-8 TeraTerm Pro with TTSSH2_is1',
537        if Length(VTFont) = 0 then                                 'UninstallString', uninstaller) then
538          SetIniString('Tera Term', 'VTFont', 'Terminal,0,-12,255', iniFile);          begin
539        if Length(TEKFont) = 0 then            // UTF-8 TeraTerm Pro with TTSSH2 のアンインストーラ文字列を発見した
540          SetIniString('Tera Term', 'TEKFont', 'Terminal,0,-8,255', iniFile);            if not RegKeyExists(HKEY_LOCAL_MACHINE,
541      end;                                'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Tera Term_is1') then
542    end;            begin
543                // Tera Term のインストールエントリが見つからない(共存していない)
544    case UILangFilePage.SelectedValueIndex of              if MsgBox(CustomMessage('msg_uninstall_confirm'), mbInformation, MB_YESNO) = IDYES then
545      1:              begin
546        SetIniString('Tera Term', 'UILanguageFile', 'lang\Japanese.lng', iniFile);                // ユーザがアンインストールを選択した
547      2:  
548        SetIniString('Tera Term', 'UILanguageFile', 'lang\German.lng', iniFile);                // 両端の " を削る
549      else                uninstaller2 := Copy(uninstaller, 2, Length(uninstaller) - 2);
550        SetIniString('Tera Term', 'UILanguageFile', 'lang\English.lng', iniFile);  
551    end;                if not Exec(uninstaller2, '', '', SW_SHOW,
552                              ewWaitUntilTerminated, ResultCode) then
553    if Length(FileDir) = 0 then begin                begin
554      FileDir := ExpandConstant('{app}');                  // 実行に失敗
555      SetIniString('Tera Term', 'FileDir', FileDir, iniFile);                  MsgBox(SysErrorMessage(ResultCode), mbError, MB_OK);
556    end;                end;
557                end;
558  end;            end;
559            end;
560  procedure InitializeWizard;  
561  var        end;
562    UILangFilePageCaption     : String;  
563    UILangFilePageDescription : String;      wpSelectComponents:
564    UILangFilePageSubCaption  : String;        begin
565    UILangFilePageNone        : String;  
566    UILangFilePageJapanese    : String;          iniFile := GetIniString('Tera Term', 'UILanguageFile', '', GetDefaultIniFilename());
567    UILangFilePageGerman      : String;          if iniFile = 'lang\Japanese.lng' then
568  begin            UILangFilePage.SelectedValueIndex := 1
569    UILangFilePageCaption     := CustomMessage('msg_language_caption');          else if iniFile = 'lang\German.lng' then
570    UILangFilePageDescription := CustomMessage('msg_language_description');            UILangFilePage.SelectedValueIndex := 2
571    UILangFilePageSubCaption  := CustomMessage('msg_language_subcaption');          else if iniFile = 'lang\French.lng' then
572    UILangFilePageNone        := CustomMessage('msg_language_none');            UILangFilePage.SelectedValueIndex := 3
573    UILangFilePageJapanese    := CustomMessage('msg_language_japanese');          else
574    UILangFilePageGerman      := CustomMessage('msg_language_german');            UILangFilePage.SelectedValueIndex := 0;
575    
576    UILangFilePage := CreateInputOptionPage(wpSelectComponents,        end;
577      UILangFilePageCaption, UILangFilePageDescription,    end;
578      UILangFilePageSubCaption, True, False);    Result := True;
579    UILangFilePage.Add(UILangFilePageNone);  end;
580    UILangFilePage.Add(UILangFilePageJapanese);  
581    UILangFilePage.Add(UILangFilePageGerman);  procedure CurStepChanged(CurStep: TSetupStep);
582    case ActiveLanguage of  var
583      'ja':    iniFile : String;
584        UILangFilePage.SelectedValueIndex := 1;  begin
585      else    case CurStep of
586        UILangFilePage.SelectedValueIndex := 0;      ssDone:
587    end;        begin
588  end;          iniFile := GetDefaultIniFilename();
589            SetIniFile(iniFile);
590  function NextButtonClick(CurPageID: Integer): Boolean;  
591  var          if not IsTaskSelected('cygtermhere') then
592    uninstaller  : String;          begin;
593    uninstaller2 : String;            RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'Software\Classes\Folder\shell\cygterm');
594    ResultCode: Integer;            RegDeleteKeyIncludingSubkeys(HKEY_CLASSES_ROOT, 'Folder\shell\cygterm');
595    iniFile : String;          end;
596  begin  
597    case CurPageID of          if not IsTaskSelected('macroassoc') then
598            begin;
599      wpWelcome:            RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'Software\Classes\.ttl');
600        begin            RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'Software\Classes\TeraTerm.MacroFile');
601              RegDeleteKeyIncludingSubkeys(HKEY_CLASSES_ROOT, '.ttl');
602          if RegQueryStringValue(HKEY_LOCAL_MACHINE,            RegDeleteKeyIncludingSubkeys(HKEY_CLASSES_ROOT, 'TeraTerm.MacroFile');
603                                 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\UTF-8 TeraTerm Pro with TTSSH2_is1',          end;
604                                 'UninstallString', uninstaller) then  
605          begin          if not IsTaskSelected('telnetassoc') then
606            // UTF-8 TeraTerm Pro with TTSSH2 のアンインストーラ文字列を発見した          begin;
607            if not RegKeyExists(HKEY_LOCAL_MACHINE,            RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'Software\Classes\telnet\shell\Open with Tera Term');
608                                'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Tera Term_is1') then            RegDeleteValue(HKEY_CURRENT_USER, 'Software\Classes\telnet\shell', '');
609            begin            RegDeleteKeyIncludingSubkeys(HKEY_CLASSES_ROOT, 'telnet\shell\Open with Tera Term');
610              // Tera Term のインストールエントリが見つからない(共存していない)            RegDeleteValue(HKEY_CLASSES_ROOT, 'telnet\shell', '');
611              if MsgBox(CustomMessage('msg_uninstall_confirm'), mbInformation, MB_YESNO) = IDYES then          end;
612              begin  
613                // ユーザがアンインストールを選択した        SHChangeNotify(SHCNE_ASSOCCHANGED, SHCNF_IDLIST, 0, 0);
614    
615                // 両端の " を削る        end; // ssDone
616                uninstaller2 := Copy(uninstaller, 2, Length(uninstaller) - 2);     end; // case CurStep of
617    end; // CurStepChanged
618                if not Exec(uninstaller2, '', '', SW_SHOW,  
619                            ewWaitUntilTerminated, ResultCode) then  procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep);
620                begin  var
621                  // 実行に失敗    ini     : array[0..4] of String;
622                  MsgBox(SysErrorMessage(ResultCode), mbError, MB_OK);    buf     : String;
623                end;    conf    : String;
624              end;    confmsg : String;
625            end;    app     : String;
626          end;    i, res  : integer;
627    begin
628        end;    case CurUninstallStep of
629        usPostUninstall:
630      wpSelectComponents:        begin
631        begin          ini[0] := '\TERATERM.INI';
632            ini[1] := '\KEYBOARD.CNF';
633          if isUserIniExists() then          ini[2] := '\ssh_known_hosts';
634          begin          ini[3] := '\cygterm.cfg';
635            iniFile := GetIniString('Tera Term', 'UILanguageFile', '', GetUserIniFilename());          ini[4] := '\broadcast.log';
636            if iniFile = 'lang\Japanese.lng' then  
637              UILangFilePage.SelectedValueIndex := 1          conf := CustomMessage('msg_del_confirm');
638            else if iniFile = 'lang\German.lng' then          app  := ExpandConstant('{app}');
639              UILangFilePage.SelectedValueIndex := 2  
640            else          // delete config files
641              UILangFilePage.SelectedValueIndex := 0;          for i := 0 to 4 do
642          end if isGetDefaultIniExists() then begin          begin
643            iniFile := GetIniString('Tera Term', 'UILanguageFile', '', GetDefaultIniFilename());            buf := app + ini[i];
644            if iniFile = 'lang\Japanese.lng' then            if FileExists(buf) then begin
645              UILangFilePage.SelectedValueIndex := 1              confmsg := Format(conf, [buf]);
646            else if iniFile = 'lang\German.lng' then              res := MsgBox(confmsg, mbInformation, MB_YESNO or MB_DEFBUTTON2);
647              UILangFilePage.SelectedValueIndex := 2              if res = IDYES then
648            else                DeleteFile(buf);
649              UILangFilePage.SelectedValueIndex := 0;            end;
650          end;          end;
651    
652        end;          // delete registory
653    end;          if RegKeyExists(HKEY_CURRENT_USER, 'Software\ShinpeiTools\TTermMenu') then begin
654    Result := True;            confmsg := Format(conf, ['HKEY_CURRENT_USER' + '\Software\ShinpeiTools\TTermMenu']);
655  end;            res := MsgBox(confmsg, mbInformation, MB_YESNO or MB_DEFBUTTON2);
656              if res = IDYES then begin
657  procedure CurStepChanged(CurStep: TSetupStep);              RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'Software\ShinpeiTools\TTermMenu');
658  var              RegDeleteKeyIfEmpty(HKEY_CURRENT_USER, 'Software\ShinpeiTools');
659    iniFile : String;            end;
660  begin          end;
661    case CurStep of  
662      ssDone:          SHChangeNotify(SHCNE_ASSOCCHANGED, SHCNF_IDLIST, 0, 0);
663        begin  
664          iniFile := GetDefaultIniFilename();          // directory is deleted only if empty
665          SetIniFile(iniFile);          RemoveDir(app);
666          end;
667          if isUserIniExists() then begin    end;
668            iniFile := GetUserIniFilename();  end;
669            SetIniFile(iniFile);  
670          end;  [InstallDelete]
671    Name: {app}\OpenSSH-LICENCE.txt; Type: files
672          if not IsTaskSelected('cygtermhere') then  Name: {app}\cygterm-README.txt; Type: files
673          begin;  Name: {app}\cygterm-README-j.txt; Type: files
674            RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'Software\Classes\Folder\shell\cygterm');  Name: {app}\keycode.txt; Type: files
675            RegDeleteKeyIncludingSubkeys(HKEY_CLASSES_ROOT, 'Folder\shell\cygterm');  Name: {app}\keycodej.txt; Type: files
676          end;  Name: {app}\RE.txt; Type: files
677    Name: {app}\RE-ja.txt; Type: files
678          if not IsTaskSelected('macroassoc') then  Name: {app}\ssh2_readme.txt; Type: files
679          begin;  Name: {app}\ssh2_readme-j.txt; Type: files
680            RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'Software\Classes\.ttl');  Name: {app}\utf8_readme.txt; Type: files
681            RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'Software\Classes\TeraTerm.MacroFile');  Name: {app}\utf8_readme-j.txt; Type: files
682            RegDeleteKeyIncludingSubkeys(HKEY_CLASSES_ROOT, '.ttl');  Name: {app}\OpenSSH-LICENSE.txt; Type: files
683            RegDeleteKeyIncludingSubkeys(HKEY_CLASSES_ROOT, 'TeraTerm.MacroFile');  Name: {app}\OpenSSL-LICENSE.txt; Type: files
684          end;  Name: {group}\TeraTerm Document.lnk; Type: files
685    Name: {group}\TeraTerm Document(Japanese).lnk; Type: files
686          if not IsTaskSelected('telnetassoc') then  Name: {group}\TTSSH Document.lnk; Type: files
687          begin;  Name: {group}\TTSSH Document(Japanese).lnk; Type: files
688            RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'Software\Classes\telnet\shell\Open with Tera Term');  Name: {app}\LogMeTT.hlp; Type: files
689            RegDeleteValue(HKEY_CURRENT_USER, 'Software\Classes\telnet\shell', '');  Name: {app}\macro.hlp; Type: files
690            RegDeleteKeyIncludingSubkeys(HKEY_CLASSES_ROOT, 'telnet\shell\Open with Tera Term');  Name: {app}\macroj.hlp; Type: files
691            RegDeleteValue(HKEY_CLASSES_ROOT, 'telnet\shell', '');  Name: {app}\ttermp.hlp; Type: files
692          end;  Name: {app}\ttermpj.hlp; Type: files
693    Name: {app}\copyfont.bat; Type: files
694        end; // ssDone  Name: {app}\copyfont.pif; Type: files
695     end; // case CurStep of  Name: {app}\libeay.txt; Type: files
696  end; // CurStepChanged  
697    [_ISToolPreCompile]
698  procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep);  Name: makechm.bat
699  var  ; Name: build.bat; Parameters: rebuild
700    ini     : array[0..4] of String;  Name: build.bat
   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.3948

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