# 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"/>

<!-- 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