Pidgin Instant Messenger

Pidgin, available from http://www.pidgin.im/, is a multi-protocol instant messaging (IM) client that allows you to use all of your IM accounts at once.

Pidgin can work with these protocols: AIM, Bonjour, Gadu-Gadu, Google Talk, Groupwise, ICQ, IRC, MSN, MySpaceIM, QQ, SILC, SIMPLE, Sametime, XMPP, Yahoo! and Zephyr.

2.10.x

Use the offline installer, as it includes GTK+, available from http://pidgin.im/download/windows/

The options /DS and /SMS can be used to enable or disable the Desktop and Start Menu shortcuts.

  <package
    id="pidgin"
    name="Pidgin"
    revision="%version%"
    reboot="false"
    priority="10">

    <variable name="version" value="2.10.1" />

    <check type="uninstall" condition="versionequalto" path="Pidgin" value="%version%" />
		
    <install cmd='"%SOFTWARE%\pidgin\pidgin-%version%-offline.exe" /DS=1 /SMS=1 /S /D=%PROGRAMFILES%\Pidgin' />

    <upgrade cmd='taskkill /F /IM pidgin.exe' >
      <exit code='any' />
    </upgrade>  
    <upgrade cmd='"%SOFTWARE%\pidgin\pidgin-%version%-offline.exe" /DS=1 /SMS=1 /S /D=%PROGRAMFILES%\Pidgin' />

    <remove architecture="x86" cmd='"%PROGRAMFILES%\Pidgin\pidgin-uninst.exe" /S' />
    <remove architecture="x64" cmd='"%PROGRAMFILES(X86)%\Pidgin\pidgin-uninst.exe" /S' />
  </package>

2.9.0

   <package
       id="pidgin"
       name="Pidgin 2.9.0"
       revision="2.9.0"
       reboot="false"
       priority="10">
       <check type="file" condition="versionequalto" path="%PROGRAMFILES%\pidgin\pidgin.exe" value="2.9.0.0" />
       <install cmd='%SOFTWARE%\pidgin-2.9.0-offline.exe /DS=1 /SMS=0 /S' />
       <upgrade cmd='cmd /C %SETTINGS%\tools\taskkill.exe /F /IM pidgin.exe' />
           <exit code='1' />
           <exit code='128' />  
       </upgrade>  
       <upgrade cmd='%SOFTWARE%\pidgin-2.9.0-offline.exe /DS=1 /SMS=0 /S' />
       <remove cmd='"%PROGRAMFILES%\pidgin\pidgin-uninst.exe"/L=1033 /S' />
       <remove cmd='%COMSPEC% /c del /q "%AllUsersProfile%\Desktop\Pidgin.lnk"' ><exit code="any" /></remove>
       <remove cmd='%COMSPEC% /c del /q "%Public%\Desktop\Pidgin.lnk"' ><exit code="any" /></remove>
   </package>

2.7.0

This is a major reworking of the unattended installation method. They no longer supply 'no-gtk' versions and have included their own version of GTK in the installer. This makes things a lot simpler. I have also updated the 'Bonjour Print Services for Windows' package to replace the previous 'Bonjour for Windows' package that Pidgin depends on.

   <package
       id="pidgin"
       name="Pidgin 2.7.0"
       revision="2.7.0"
       reboot="false"
       priority="2">
       <depends package-id="bonjour"/>
       <check type="file" condition="versionequalto" path="%programfiles%\pidgin\pidgin.exe" value="2.7.0.0" />
       <downgrade cmd='cmd /C %SETTINGS%\tools\taskkill.exe /F /IM pidgin.exe' >
            <exit code='1' />
            <exit code='128' />  
        </downgrade> 
       <downgrade cmd='%SOFTWARE%\pidgin\pidgin-2.7.0-offline.exe /DS=1 /SMS=0 /S' />
       <install cmd='%SOFTWARE%\pidgin\pidgin-2.7.0-offline.exe /DS=1 /SMS=0 /S' />
       <upgrade cmd='cmd /C %SETTINGS%\tools\taskkill.exe /F /IM pidgin.exe' >
            <exit code='1' />
            <exit code='128' />  
        </upgrade>  
       <upgrade cmd='%SOFTWARE%\pidgin\pidgin-2.7.0-offline.exe /DS=1 /SMS=0 /S' />
       <remove cmd='"%ProgramFiles%\pidgin\pidgin-uninst.exe"/L=1033 /S' />
   </package>

2.6.2

<package
        id="pidgin"
        name="Pidgin 2.6.2"
        revision="2.6.2"
        reboot="false"
        priority="1">

        <check type="file" condition="versionequalto" path="%programfiles%\pidgin\pidgin.exe" value="2.6.2.0" />
        <install cmd='cmd /C taskkill /F /IM pidgin.exe' >
                <exit code='1' />
                <exit code='128' />
       </install>
       <install cmd='"%SOFTWARE%\pidgin\pidgin-2.6.2.exe" /L=1033 /S' />
       <upgrade cmd='cmd /C taskkill /F /IM pidgin.exe' >
                <exit code='1' />
                <exit code='128' />
       </upgrade>
       <upgrade cmd='"%SOFTWARE\pidgin\pidgin-2.6.2.exe" /L=1033 /S' />
       <remove cmd='"%programfiles%\pidgin\pidgin-uninst.exe"/L=1033 /S' />
</package>

2.5.7

For /L parameter's values look at this page.

<package id="pidgin"
    name="Pidgin"
    revision="2507"
    reboot="false"
    priority="0">

    <check type="file" condition="versionequalto" path="%PROGRAMFILES%\pidgin\pidgin.exe" value="2.5.7.0" />

    <install cmd='cmd /C taskkill /F /IM pidgin.exe' >
        <exit code='1' />
        <exit code='128' />
    </install>

    <install cmd='"%SOFTWARE%\packages\pidgin-2.5.7.exe" /L=1040 /DS=0 /SMS=1 /S' />

    <upgrade cmd='"%SOFTWARE%\packages\pidgin-2.5.7.exe" /L=1040 /DS=0 /SMS=1 /S' />

    <remove cmd='"%PROGRAMFILES%\pidgin\pidgin-uninst.exe" /L=1040 /S' />
</package>

2.3.1

I download the client and GTK separately, install GTK first, then Bonjour and finally the client.

<package
    id="pidgin"
    name="Pidgin 2.3.1"
    revision="4"
    reboot="false"
    priority="1">
    <depends package-id="gtk"/>
    <check type="file" condition="versionequalto" path="%programfiles%\pidgin\pidgin.exe" value="2.3.1.0" />
    <install cmd='"%SOFTWARE%\pidgin\bonjoursetup.exe" /qn ' >
       <exit code="11728" />
    </install>
    <install cmd='cmd /C taskkill /F /IM pidgin.exe' >
       <exit code='1' />
       <exit code='128' />  
    </install>  
    <install cmd='"%SOFTWARE%\pidgin\pidgin-2.3.1-no-gtk.exe" /L=1033 /S' />
    <remove cmd='"%ProgramFiles%\pidgin\pidgin-uninst.exe"/L=1033 /S' />
</package>

If you want to set pidgins' language other than english, "/L=" to your countrys' LCID.

Links