tis-irfanview 4.41-1

  • package : tis-irfanview
  • version : 4.41-1
  • description : Affichage et manipulation d'images
  • maintainer : TIS, Amelie
  • date : 2018-02-27 19:01:09

setup.py

#!/usr/bin/python
# -*- coding: utf-8 -*-
# -----------------------------------------------------------------------
#    This file is part of WAPT
#    Copyright (C) 2013  Tranquil IT Systems http://www.tranquil.it
#    WAPT aims to help Windows systems administrators to deploy
#    setup and update applications on users PC.
#
#    WAPT is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    WAPT is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with WAPT.  If not, see <http://www.gnu.org/licenses/>.
#
# -----------------------------------------------------------------------

from setuphelpers import *

uninstallkey = []
uninstallstring= ['"%s\\IrfanView\\iv_uninstall.exe" /silent' % programfiles32]

def install():
    print ("closing irfanview")
    killalltasks('i_view32.exe')
    print("installing exe")
    install_exe_if_needed("iview441_setup.exe",'/silent thumbs=0 /group=1 /allusers=1 /assoc=1 /assocallusers','IrfanView', '4.41')

    print "Install French language"
    filecopyto('French.dll',makepath(programfiles32,'IrfanView','Languages'))
    filecopyto('IP_French.lng',makepath(programfiles32,'IrfanView','Languages'))
    if_ini = makepath(programfiles32,'IrfanView','i_view32.ini')
    inifile_writestring(if_ini,"Language","DLL","French.dll")
    inifile_writestring(if_ini,"Language","Lang","Francais")

    print "Install plugins"
    install_exe_if_needed("irfanview_plugins_441_setup.exe", '/silent')

    

Changelog

No changelog
    

manifest.sha256

[["IP_French.lng", "53ce41fc5fb5ad957b9c634796943c92887931ebef07b89fe25e7c589b928551"], ["irfanview_plugins_441_setup.exe", "a5331662227ff5e9b92dfe546b8c66a0a3abfcade09772716b89d79e18449365"], ["WAPT/icon.png", "e224a5f3638abcd09b14ef06bddc9d3d756805f3b86d93f9cf8ed9f33b8fffaa"], ["WAPT/certificate.crt", "79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4"], ["WAPT/wapt.psproj", "bc34bb5f85d78dffc7effd37bd0639580a0e140c155973c04d79eb9aa31eb57a"], ["iview441_setup.exe", "63ce9c864048ad69242e1bbb9ac9219f51cd271ae01b350293c6203b62153740"], ["IrfanView_Install.log", "5646c11d58669283adc4df757dda38f7a6172dfc3958057a4e135c45edd343e1"], ["WAPT/control", "2289d885e7497805250cc18f63309989ed72cc16a5feb94719117a4c77b3d880"], ["setup.py", "a192bd3e9e8596221b4f696ba428abe397cc2adae8c17d11e9a6942b91e32822"], ["French.dll", "7a1279867f74c2d24935d51b3713dda29eab34f8ba1df89296a5f2539c2efa4e"], ["Readme.txt", "f3ceaaede44e902e2dd066193aa751864112c1382edab34e7299e35f6253cf91"]]