Package: tis-pidgin

Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is provided on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version (1.8.2 / 2.0 / 2.1 / 2.2 / etc.) AS WELL AS the Enterprise / Discovery edition.
* Specify the server OS (Linux / Windows) and version (Debian Stretch/Buster - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine (Windows 7 / 10)
. * As with any community forum, support is provided voluntarily by members. If you require sales support, you can contact the Tranquil IT sales department at 02.40.97.57.55
Locked
User avatar
ssamson
Messages: 245
Registration: June 20, 2014 - 10:29

April 23, 2015 - 11:25

Picture tis-pidgin
Description:
Instant messaging
Steven Samson - Tranquil IT Systems
Feel free to leave us your opinion on Wapt in the forum, or to answer our questionnaires :).
f4242
Messages: 54
Registration: Nov 23, 2016 - 8:51 p.m.

January 19, 2017 - 8:12 PM

Good morning,

I noticed that the tis-pidgin package was out of date. I updated it and took the opportunity to improve it. Here it is; feel free to use it on the public repository.

Code: Select all

from setuphelpers import *

version = '2.11.0'
installer = 'pidgin-%s-offline.exe' % version

uninstallkey = ['Pidgin']

def install():
    print('installing pidgin')
    install_exe_if_needed(installer, silentflags='/S', key='Pidgin', min_version=version, killbefore='pidgin.exe')

def update_package():
    if not isfile(installer):
        print('downloading pidgin')
        wget('http://sourceforge.net/projects/pidgin/files/Pidgin/' + version + '/' + installer + '/download', installer)

if __name__ == '__main__':
    update_package()
Good day!
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

January 23, 2017 - 3:22 PM

Good morning

Thank you, it has been updated! ;)

For your information:

Code: Select all

uninstallkey = ['Pidgin']
is not necessary since it is learned in the install_exe_if_needed function

https://github.com/tranquilit/WAPT/blob ... s.py#L3685

Simon
Locked