Gajim

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

This is a silent installer for Gajim.

The goal of Gajim is to provide a full featured and easy to use Jabber client. It is released under the GNU General Public License.

Gajim is available on Windows with an installer which provide Gtk, python libs and Gajim. Download available here Windows-installer

<?xml version="1.0" encoding="UTF-8"?>

<packages>

<package
   id="gajim"
   name="Gajim"
   revision="1"
   reboot="false"
   priority="10">

   <check type="uninstall" condition="exists" path="Gajim" />

   <install cmd='"%SOFTWARE%\gajim\gajim-0.12.3-1.exe" /S' />
   <remove cmd="taskkill /F /IM gajim.exe">
                <exit code="0" />
                <exit code="128" />
   </remove>

   <remove cmd='"%PROGRAMFILES%\Gajim\Uninstall.exe" /S' />

</package>
</packages>

If you want to modify some options in your gajim (add a default server ...), you must write a wpkg package or a batch script to edit %USERPROFILE%\Application Data\Gajim\Config .

The script should looks like :

echo. >>"%USERPROFILE%\Application Data\Gajim\Config"
echo accounts.your-gajim-account-name.http_auth = ask>> "%USERPROFILE%\Application Data\Gajim\Config"
echo accounts.your-gajim-account-name.autopriority_invisible = 10>> "%USERPROFILE%\Application Data\Gajim\Config"
echo accounts.your-gajim-account-name.msgwin-width = 480>> "%USERPROFILE%\Application Data\Gajim\Config"
echo accounts.your-gajim-account-name.dont_ack_subscription = False>> "%USERPROFILE%\Application Data\Gajim\Config"
echo accounts.your-gajim-account-name.restore_last_status = False>> "%USERPROFILE%\Application Data\Gajim\Config"
echo accounts.your-gajim-account-name.time_for_ping_alive_answer = 60>> "%USERPROFILE%\Application Data\Gajim\Config"
echo accounts.your-gajim-account-name.msgwin-height = 440>> "%USERPROFILE%\Application Data\Gajim\Config"
echo accounts.your-gajim-account-name.zeroconf_jabber_id = >> "%USERPROFILE%\Application Data\Gajim\Config"
echo accounts.your-gajim-account-name.subscribe_activity = True>> "%USERPROFILE%\Application Data\Gajim\Config"