Tera Term

Tera Term is a terminal emulator supporting ssh2. For more info see here.

Tera Term is using Inno Setup for its installer and to fully customize the installation the creation of an .inf file is required. This can be achieved with the following command

teraterm-4.61.exe /saveinf=teraterm-4.61.inf

Package File

<packages>
  <package
    id="teraterm"
    name="Tera Term"
    revision="046105"
    priority="0"
    reboot="false">
 
    <check type="uninstall" condition="exists" path="Tera Term 4.61"/>
 
    <install cmd='%SOFTWARE%\teraterm\teraterm-4.61.exe /sp- /verysilent /loadinf=%SOFTWARE%\teraterm\teraterm-4.61.inf'/>
 
    <upgrade cmd='%SOFTWARE%\teraterm\teraterm-4.61.exe /sp- /verysilent /loadinf=%SOFTWARE%\teraterm\teraterm-4.61.inf'/>
 
    <!-- Can't find the switch to get rid of these files in the uninstaller -->
    <remove cmd='cmd /c del /f "%PROGRAMFILES%\teraterm\TERATERM.INI" ' />
    <remove cmd='cmd /c del /f "%PROGRAMFILES%\teraterm\KEYBOARD.CNF" ' />
    <remove cmd='cmd /c del /f "%PROGRAMFILES%\teraterm\ssh_known_hosts" ' />
    <remove cmd='cmd /c del /f "%PROGRAMFILES%\teraterm\cygterm.cfg" ' />
    <remove cmd='"%PROGRAMFILES%\teraterm\unins000.exe" /sp- /verysilent /norestart'/>
 
  </package>
</packages>

Sample .inf file

[Setup]
Lang=en
Dir=C:\Program Files\teraterm
Group=Tera Term
NoIcons=0
SetupType=custom
Components=teraterm,ttssh,cygterm,logmett,teraterm_menu,ttproxy,collector,additional_plugins,additional_plugins\ttxresizemenu,additional_plugins\ttxttyrec,additional_plugins\ttxkanjimenu,additional_plugins\ttxkcodechange,additional_plugins\ttxviewmode,additional_plugins\ttxalwaysontop
Tasks=macroassoc

Links