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

Browse Subversion Repository

Diff of /trunk/installer/teraterm.iss

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

revision 1210 by maya, Thu Jun 12 08:41:21 2008 UTC revision 1218 by doda, Wed Jul 9 06:06:54 2008 UTC
# Line 99  Name: compact; Description: {cm:type_com Line 99  Name: compact; Description: {cm:type_com
99  Name: custom; Description: {cm:type_custom}; Flags: iscustom  Name: custom; Description: {cm:type_custom}; Flags: iscustom
100    
101  [Components]  [Components]
102  Name: TeraTerm; Description: TeraTerm & Macro; Flags: fixed; Types: custom compact full standard  Name: TeraTerm; Description: Tera Term & Macro; Flags: fixed; Types: custom compact full standard
103  Name: TTSSH; Description: TTSSH; Types: compact full standard  Name: TTSSH; Description: TTSSH; Types: compact full standard
104  Name: cygterm; Description: CygTerm+; Types: full standard; Check: not isIA64  Name: cygterm; Description: CygTerm+; Types: full standard; Check: not isIA64
105  Name: LogMeTT; Description: LogMeTT & TTLEdit; Types: full standard  Name: LogMeTT; Description: LogMeTT & TTLEdit; Types: full standard
# Line 123  Name: {userstartup}\Collector; Filename: Line 123  Name: {userstartup}\Collector; Filename:
123  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\cyglaunch; Filename: {app}\cyglaunch.exe; WorkingDir: {app}; IconFilename: {app}\cyglaunch.exe; Components: cygterm; Tasks: quickcyglaunch; IconIndex: 0; Flags: createonlyiffileexists
124    
125  [INI]  [INI]
126    Filename: {app}\teraterm.ini; Section: Tera Term; Key: AcceptTitleChangingFromRemote; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm
127    Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: AcceptTitleChangingFromRemote; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm
128  Filename: {app}\teraterm.ini; Section: Tera Term; Key: ScrollWindowClearScreen; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm  Filename: {app}\teraterm.ini; Section: Tera Term; Key: ScrollWindowClearScreen; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm
129  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: ScrollWindowClearScreen; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: ScrollWindowClearScreen; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm
130  Filename: {app}\teraterm.ini; Section: Tera Term; Key: UnicodeDecSpMapping; String: 3; Flags: createkeyifdoesntexist; Components: TeraTerm  Filename: {app}\teraterm.ini; Section: Tera Term; Key: UnicodeToDecSpMapping; String: 3; Flags: createkeyifdoesntexist; Components: TeraTerm
131  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: UnicodeDecSpMapping; String: 3; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: UnicodeToDecSpMapping; String: 3; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm
132  Filename: {app}\teraterm.ini; Section: Tera Term; Key: UnknownUnicodeCharacterAsWide; String: off; Flags: createkeyifdoesntexist; Components: TeraTerm  Filename: {app}\teraterm.ini; Section: Tera Term; Key: UnknownUnicodeCharacterAsWide; String: off; Flags: createkeyifdoesntexist; Components: TeraTerm
133  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: UnknownUnicodeCharacterAsWide; String: off; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm  Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: UnknownUnicodeCharacterAsWide; String: off; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm
134  Filename: {app}\teraterm.ini; Section: Tera Term; Key: AutoScrollOnlyInBottomLine; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm  Filename: {app}\teraterm.ini; Section: Tera Term; Key: AutoScrollOnlyInBottomLine; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm
# Line 246  Root: HKCR; Subkey: Folder\shell\cygterm Line 248  Root: HKCR; Subkey: Folder\shell\cygterm
248  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  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
249  ; Associate with .TTL  ; Associate with .TTL
250  Root: HKCU; Subkey: Software\Classes\.ttl; ValueType: string; ValueData: TeraTerm.MacroFile; Flags: uninsdeletekey; Check: isMinimumOfWin2K; Components: TeraTerm; Tasks: macroassoc  Root: HKCU; Subkey: Software\Classes\.ttl; ValueType: string; ValueData: TeraTerm.MacroFile; Flags: uninsdeletekey; Check: isMinimumOfWin2K; Components: TeraTerm; Tasks: macroassoc
251  Root: HKCU; Subkey: Software\Classes\TeraTerm.MacroFile; ValueType: string; ValueData: TeraTerm Macro File; Flags: uninsdeletekey; Check: isMinimumOfWin2K; Components: TeraTerm; Tasks: macroassoc  Root: HKCU; Subkey: Software\Classes\TeraTerm.MacroFile; ValueType: string; ValueData: Tera Term Macro File; Flags: uninsdeletekey; Check: isMinimumOfWin2K; Components: TeraTerm; Tasks: macroassoc
252  Root: HKCU; Subkey: Software\Classes\TeraTerm.MacroFile\DefaultIcon; ValueType: string; ValueData: {app}\ttpmacro.exe,0; Flags: uninsdeletekey; Check: isMinimumOfWin2K; Components: TeraTerm; Tasks: macroassoc  Root: HKCU; Subkey: Software\Classes\TeraTerm.MacroFile\DefaultIcon; ValueType: string; ValueData: {app}\ttpmacro.exe,0; Flags: uninsdeletekey; Check: isMinimumOfWin2K; Components: TeraTerm; Tasks: macroassoc
253  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  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
254  Root: HKCR; Subkey: .ttl; ValueType: string; ValueData: TeraTerm.MacroFile; Flags: uninsdeletekey; Check: not isMinimumOfWin2K; Components: TeraTerm; Tasks: macroassoc  Root: HKCR; Subkey: .ttl; ValueType: string; ValueData: TeraTerm.MacroFile; Flags: uninsdeletekey; Check: not isMinimumOfWin2K; Components: TeraTerm; Tasks: macroassoc
255  Root: HKCR; Subkey: TeraTerm.MacroFile; ValueType: string; ValueData: TeraTerm Macro File; Flags: uninsdeletekey; Check: not isMinimumOfWin2K; Components: TeraTerm; Tasks: macroassoc  Root: HKCR; Subkey: TeraTerm.MacroFile; ValueType: string; ValueData: Tera Term Macro File; Flags: uninsdeletekey; Check: not isMinimumOfWin2K; Components: TeraTerm; Tasks: macroassoc
256  Root: HKCR; Subkey: TeraTerm.MacroFile\DefaultIcon; ValueType: string; ValueData: {app}\ttpmacro.exe,0; Flags: uninsdeletekey; Check: not isMinimumOfWin2K; Components: TeraTerm; Tasks: macroassoc  Root: HKCR; Subkey: TeraTerm.MacroFile\DefaultIcon; ValueType: string; ValueData: {app}\ttpmacro.exe,0; Flags: uninsdeletekey; Check: not isMinimumOfWin2K; Components: TeraTerm; Tasks: macroassoc
257  Root: HKCR; Subkey: TeraTerm.MacroFile\shell\open\command; ValueType: string; ValueData: """{app}\ttpmacro.exe"" ""%1"""; Flags: uninsdeletekey; Check: not isMinimumOfWin2K; Components: TeraTerm; Tasks: macroassoc  Root: HKCR; Subkey: TeraTerm.MacroFile\shell\open\command; ValueType: string; ValueData: """{app}\ttpmacro.exe"" ""%1"""; Flags: uninsdeletekey; Check: not isMinimumOfWin2K; Components: TeraTerm; Tasks: macroassoc
258  ; Associate with telnet://  ; Associate with telnet://
259  Root: HKCU; Subkey: Software\Classes\telnet\shell; ValueType: string; ValueData: Open with TeraTerm; Flags: uninsclearvalue; Check: isMinimumOfWin2K; Components: TeraTerm; Tasks: telnetassoc  Root: HKCU; Subkey: Software\Classes\telnet\shell; ValueType: string; ValueData: Open with Tera Term; Flags: uninsclearvalue; Check: isMinimumOfWin2K; Components: TeraTerm; Tasks: telnetassoc
260  Root: HKCU; Subkey: Software\Classes\telnet\shell\Open with TeraTerm\command; ValueType: string; ValueData: """{app}\ttermpro.exe"" /T=1 /nossh %1"; Flags: uninsdeletekey; Check: isMinimumOfWin2K; Components: TeraTerm; Tasks: telnetassoc  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
261  Root: HKCR; Subkey: telnet\shell; ValueType: string; ValueData: Open with TeraTerm; Flags: uninsclearvalue; Check: not isMinimumOfWin2K; Components: TeraTerm; Tasks: telnetassoc  Root: HKCR; Subkey: telnet\shell; ValueType: string; ValueData: Open with Tera Term; Flags: uninsclearvalue; Check: not isMinimumOfWin2K; Components: TeraTerm; Tasks: telnetassoc
262  Root: HKCR; Subkey: telnet\shell\Open with TeraTerm\command; ValueType: string; ValueData: """{app}\ttermpro.exe"" /T=1 /nossh %1"; Flags: uninsdeletekey; Check: not isMinimumOfWin2K; Components: TeraTerm; Tasks: telnetassoc  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
263    
264  [Tasks]  [Tasks]
265  Name: desktopicon; Description: {cm:task_desktopicon}; Components: TeraTerm  Name: desktopicon; Description: {cm:task_desktopicon}; Components: TeraTerm
# Line 276  Filename: {app}\ttpmenu.exe; Flags: nowa Line 278  Filename: {app}\ttpmenu.exe; Flags: nowa
278  Filename: {app}\Collector\Collector.exe; Flags: nowait postinstall skipifsilent unchecked; Description: {cm:launch_collector}; Components: Collector  Filename: {app}\Collector\Collector.exe; Flags: nowait postinstall skipifsilent unchecked; Description: {cm:launch_collector}; Components: Collector
279    
280  [CustomMessages]  [CustomMessages]
281  en.task_desktopicon=Create TeraTerm shortcut to &Desktop  en.task_desktopicon=Create Tera Term shortcut to &Desktop
282  en.task_quicklaunchicon=Create TeraTerm shortcut to &Quick Launch  en.task_quicklaunchicon=Create Tera Term shortcut to &Quick Launch
283  en.task_startupttmenuicon=Create TeraTerm &Menu shortcut to Startup  en.task_startupttmenuicon=Create TeraTerm &Menu shortcut to Startup
284  en.task_startupcollectoricon=Create &Collector shortcut to Startup  en.task_startupcollectoricon=Create &Collector shortcut to Startup
285  en.task_cygtermhere=Add "Cy&gterm Here" to Context menu  en.task_cygtermhere=Add "Cy&gterm Here" to Context menu
286  en.task_quickcyglaunch=Create cyg&launch shortcut to Quick Launch  en.task_quickcyglaunch=Create cyg&launch shortcut to Quick Launch
287  en.task_macroassoc=Associate .&ttl file to ttmpacro.exe  en.task_macroassoc=Associate .&ttl file to ttmpacro.exe
288  en.task_telnetassoc=Associate t&elnet protocol to ttermpro.exe  en.task_telnetassoc=Associate t&elnet protocol to ttermpro.exe
289  ja.task_desktopicon=デスクトップに TeraTerm のショートカットを作る(&D)  ja.task_desktopicon=デスクトップに Tera Term のショートカットを作る(&D)
290  ja.task_quicklaunchicon=クイック起動に TeraTerm のショートカットを作る(&Q)  ja.task_quicklaunchicon=クイック起動に Tera Term のショートカットを作る(&Q)
291  ja.task_startupttmenuicon=スタートアップに TeraTerm &Menu のショートカットを作る  ja.task_startupttmenuicon=スタートアップに TeraTerm &Menu のショートカットを作る
292  ja.task_startupcollectoricon=スタートアップに &Collector のショートカットを作る  ja.task_startupcollectoricon=スタートアップに &Collector のショートカットを作る
293  ja.task_cygtermhere=コンテキストメニューに "Cy&gterm Here" を追加する  ja.task_cygtermhere=コンテキストメニューに "Cy&gterm Here" を追加する
# Line 320  ja.msg_language_subcaption=アプリケーシ?/span> Line 322  ja.msg_language_subcaption=アプリケーシ?/span>
322  ja.msg_language_none=英語(&E)  ja.msg_language_none=英語(&E)
323  ja.msg_language_japanese=日本語(&J)  ja.msg_language_japanese=日本語(&J)
324  ja.msg_language_german=ドイツ語(&G)  ja.msg_language_german=ドイツ語(&G)
325    en.msg_del_confirm=Are you sure that you want to delete %s ?
326    ja.msg_del_confirm=%s を削除しますか?
327    en.msg_uninstall_confirm=It seems a former version is installed. You are recommended to uninstall it previously. Do you uninstall former version ?
328    ja.msg_uninstall_confirm=以前のバージョンがインストールされているようです。先にアンインストールすることをお勧めします。アンインストールしますか?
329    
330  [Code]  [Code]
331  var  var
# Line 529  end; Line 535  end;
535    
536  function NextButtonClick(CurPageID: Integer): Boolean;  function NextButtonClick(CurPageID: Integer): Boolean;
537  var  var
538      uninstaller  : String;
539      uninstaller2 : String;
540      ResultCode: Integer;
541    iniFile : String;    iniFile : String;
542  begin  begin
543    case CurPageID of    case CurPageID of
544    
545        wpWelcome:
546          begin
547    
548            if RegQueryStringValue(HKEY_LOCAL_MACHINE,
549                                   'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\UTF-8 TeraTerm Pro with TTSSH2_is1',
550                                   'UninstallString', uninstaller) then
551            begin
552              // UTF-8 TeraTerm Pro with TTSSH2 のアンインストーラ文字列を発見した
553              if not RegKeyExists(HKEY_LOCAL_MACHINE,
554                                  'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Tera Term_is1') then
555              begin
556                // Tera Term のインストールエントリが見つからない(共存していない)
557                if MsgBox(CustomMessage('msg_uninstall_confirm'), mbInformation, MB_YESNO) = IDYES then
558                begin
559                  // ユーザがアンインストールを選択した
560    
561                  // 両端の " を削る
562                  uninstaller2 := Copy(uninstaller, 2, Length(uninstaller) - 2);
563    
564                  if not Exec(uninstaller2, '', '', SW_SHOW,
565                              ewWaitUntilTerminated, ResultCode) then
566                  begin
567                    // 実行に失敗
568                    MsgBox(SysErrorMessage(ResultCode), mbError, MB_OK);
569                  end;
570                end;
571              end;
572            end;
573    
574          end;
575    
576      wpSelectComponents:      wpSelectComponents:
577        begin        begin
578    
# Line 590  begin Line 631  begin
631    
632          if not IsTaskSelected('telnetassoc') then          if not IsTaskSelected('telnetassoc') then
633          begin;          begin;
634            RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'Software\Classes\telnet\shell\Open with TeraTerm');            RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'Software\Classes\telnet\shell\Open with Tera Term');
635            RegDeleteValue(HKEY_CURRENT_USER, 'Software\Classes\telnet\shell', '');            RegDeleteValue(HKEY_CURRENT_USER, 'Software\Classes\telnet\shell', '');
636            RegDeleteKeyIncludingSubkeys(HKEY_CLASSES_ROOT, 'telnet\shell\Open with TeraTerm');            RegDeleteKeyIncludingSubkeys(HKEY_CLASSES_ROOT, 'telnet\shell\Open with Tera Term');
637            RegDeleteValue(HKEY_CLASSES_ROOT, 'telnet\shell', '');            RegDeleteValue(HKEY_CLASSES_ROOT, 'telnet\shell', '');
638          end;          end;
639    
# Line 619  begin Line 660  begin
660          ini[3] := '\cygterm.cfg';          ini[3] := '\cygterm.cfg';
661          ini[4] := '\broadcast.log';          ini[4] := '\broadcast.log';
662    
663          case ActiveLanguage of          conf := CustomMessage('msg_del_confirm');
         'en': conf := 'Are you sure that you want to delete %s ?';  
         'ja': conf := '%s を削除しますか?';  
         end;  
   
664          app     := ExpandConstant('{app}');          app     := ExpandConstant('{app}');
665          userdoc := ExpandConstant('{userdocs}');          userdoc := ExpandConstant('{userdocs}');
666    

Legend:
Removed from v.1210  
changed lines
  Added in v.1218

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