Changes

Jump to: navigation, search

Tera Term

1,731 bytes added, 16:25, 1 March 2009
New page: Tera Term is using Inno Setup for its installer and to fully customize the installation the creation of an <tt>.inf</tt> file is required. This can be achieved with the following command ...
Tera Term is using Inno Setup for its installer and to fully customize the installation the creation of an <tt>.inf</tt> file is required. This can be achieved with the following command
teraterm-4.61.exe /saveinf=teraterm-4.61.inf

=== Package File ===
<source lang="xml">
<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>
</source>

=== Sample .inf file ===
<source lang="ini">
[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
</source>

[[Category: Silent Installers]]
[[Category: Inno Setup]]
Anonymous user

Navigation menu