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

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 1215 by doda, Sat Jun 21 17:33:02 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 125  Name: {userappdata}\Microsoft\Internet E Line 125  Name: {userappdata}\Microsoft\Internet E
125  [INI]  [INI]
126  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
127  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
128  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
129  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
130  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
131  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
132  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 246  Root: HKCR; Subkey: Folder\shell\cygterm
246  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
247  ; Associate with .TTL  ; Associate with .TTL
248  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
249  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
250  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
251  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
252  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
253  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
254  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
255  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
256  ; Associate with telnet://  ; Associate with telnet://
257  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
258  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
259  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
260  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
261    
262  [Tasks]  [Tasks]
263  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 276  Filename: {app}\ttpmenu.exe; Flags: nowa
276  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
277    
278  [CustomMessages]  [CustomMessages]
279  en.task_desktopicon=Create TeraTerm shortcut to &Desktop  en.task_desktopicon=Create Tera Term shortcut to &Desktop
280  en.task_quicklaunchicon=Create TeraTerm shortcut to &Quick Launch  en.task_quicklaunchicon=Create Tera Term shortcut to &Quick Launch
281  en.task_startupttmenuicon=Create TeraTerm &Menu shortcut to Startup  en.task_startupttmenuicon=Create TeraTerm &Menu shortcut to Startup
282  en.task_startupcollectoricon=Create &Collector shortcut to Startup  en.task_startupcollectoricon=Create &Collector shortcut to Startup
283  en.task_cygtermhere=Add "Cy&gterm Here" to Context menu  en.task_cygtermhere=Add "Cy&gterm Here" to Context menu
284  en.task_quickcyglaunch=Create cyg&launch shortcut to Quick Launch  en.task_quickcyglaunch=Create cyg&launch shortcut to Quick Launch
285  en.task_macroassoc=Associate .&ttl file to ttmpacro.exe  en.task_macroassoc=Associate .&ttl file to ttmpacro.exe
286  en.task_telnetassoc=Associate t&elnet protocol to ttermpro.exe  en.task_telnetassoc=Associate t&elnet protocol to ttermpro.exe
287  ja.task_desktopicon=デスクトップに TeraTerm のショートカットを作る(&D)  ja.task_desktopicon=デスクトップに Tera Term のショートカットを作る(&D)
288  ja.task_quicklaunchicon=クイック起動に TeraTerm のショートカットを作る(&Q)  ja.task_quicklaunchicon=クイック起動に Tera Term のショートカットを作る(&Q)
289  ja.task_startupttmenuicon=スタートアップに TeraTerm &Menu のショートカットを作る  ja.task_startupttmenuicon=スタートアップに TeraTerm &Menu のショートカットを作る
290  ja.task_startupcollectoricon=スタートアップに &Collector のショートカットを作る  ja.task_startupcollectoricon=スタートアップに &Collector のショートカットを作る
291  ja.task_cygtermhere=コンテキストメニューに "Cy&gterm Here" を追加する  ja.task_cygtermhere=コンテキストメニューに "Cy&gterm Here" を追加する
# Line 320  ja.msg_language_subcaption=アプリケーシ?/span> Line 320  ja.msg_language_subcaption=アプリケーシ?/span>
320  ja.msg_language_none=英語(&E)  ja.msg_language_none=英語(&E)
321  ja.msg_language_japanese=日本語(&J)  ja.msg_language_japanese=日本語(&J)
322  ja.msg_language_german=ドイツ語(&G)  ja.msg_language_german=ドイツ語(&G)
323    en.msg_del_confirm=Are you sure that you want to delete %s ?
324    ja.msg_del_confirm=%s を削除しますか?
325    en.msg_uninstall_confirm=It seems installed prev version. We advise uninstall first. Are you sure uninstall prev version ?
326    ja.msg_uninstall_confirm=以前のバージョンがインストールされているようです。インストールの前にアンインストールすることをお勧めします。アンインストールしますか?
327    
328  [Code]  [Code]
329  var  var
# Line 529  end; Line 533  end;
533    
534  function NextButtonClick(CurPageID: Integer): Boolean;  function NextButtonClick(CurPageID: Integer): Boolean;
535  var  var
536      uninstaller  : String;
537      uninstaller2 : String;
538      ResultCode: Integer;
539    iniFile : String;    iniFile : String;
540  begin  begin
541    case CurPageID of    case CurPageID of
542    
543        wpWelcome:
544          begin
545    
546            if RegQueryStringValue(HKEY_LOCAL_MACHINE,
547                                   'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\UTF-8 TeraTerm Pro with TTSSH2_is1',
548                                   'UninstallString', uninstaller) then
549            begin
550              // UTF-8 TeraTerm Pro with TTSSH2 のアンインストーラ文字列を発見した
551              if not RegKeyExists(HKEY_LOCAL_MACHINE,
552                                  'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Tera Term_is1') then
553              begin
554                // Tera Term のインストールエントリが見つからない(共存していない)
555                if MsgBox(CustomMessage('msg_uninstall_confirm'), mbInformation, MB_YESNO) = IDYES then
556                begin
557                  // ユーザがアンインストールを選択した
558                  uninstaller2 := Copy(uninstaller, 2, Length(uninstaller) - 2);
559                  if not Exec(uninstaller2, '', '', SW_SHOW,
560                              ewWaitUntilTerminated, ResultCode) then
561                  begin
562                    MsgBox(SysErrorMessage(ResultCode), mbError, MB_OK);
563                  end;
564                end;
565              end;
566            end;
567    
568          end;
569    
570      wpSelectComponents:      wpSelectComponents:
571        begin        begin
572    
# Line 590  begin Line 625  begin
625    
626          if not IsTaskSelected('telnetassoc') then          if not IsTaskSelected('telnetassoc') then
627          begin;          begin;
628            RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'Software\Classes\telnet\shell\Open with TeraTerm');            RegDeleteKeyIncludingSubkeys(HKEY_CURRENT_USER, 'Software\Classes\telnet\shell\Open with Tera Term');
629            RegDeleteValue(HKEY_CURRENT_USER, 'Software\Classes\telnet\shell', '');            RegDeleteValue(HKEY_CURRENT_USER, 'Software\Classes\telnet\shell', '');
630            RegDeleteKeyIncludingSubkeys(HKEY_CLASSES_ROOT, 'telnet\shell\Open with TeraTerm');            RegDeleteKeyIncludingSubkeys(HKEY_CLASSES_ROOT, 'telnet\shell\Open with Tera Term');
631            RegDeleteValue(HKEY_CLASSES_ROOT, 'telnet\shell', '');            RegDeleteValue(HKEY_CLASSES_ROOT, 'telnet\shell', '');
632          end;          end;
633    
# Line 619  begin Line 654  begin
654          ini[3] := '\cygterm.cfg';          ini[3] := '\cygterm.cfg';
655          ini[4] := '\broadcast.log';          ini[4] := '\broadcast.log';
656    
657          case ActiveLanguage of          conf := CustomMessage('msg_del_confirm');
         'en': conf := 'Are you sure that you want to delete %s ?';  
         'ja': conf := '%s を削除しますか?';  
         end;  
   
658          app     := ExpandConstant('{app}');          app     := ExpandConstant('{app}');
659          userdoc := ExpandConstant('{userdocs}');          userdoc := ExpandConstant('{userdocs}');
660    

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

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