tis-irfanview 4.41-1

  • package : tis-irfanview
  • version : 4.41-1
  • description : Affichage et manipulation d'images
  • maintainer : TIS, Amelie
  • date : 2016-01-05 17:28:53
  • signer :
  • signature_date :
  • min_os_version :
  • min_wapt_version :

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')

    

manifest

[
 [
  "French.dll", 
  "cb0f56ae75822c4f215e1e8b98af4425fa317c54"
 ], 
 [
  "IP_French.lng", 
  "859e537304d4d8115c8377f36eb5e5e1500fa660"
 ], 
 [
  "IrfanView_Install.log", 
  "8bdea3139d768482e3dd35324cec35801b6fcc6a"
 ], 
 [
  "irfanview_plugins_441_setup.exe", 
  "abc62cc52c83232ca3246be4fd8073857ca3e6f8"
 ], 
 [
  "iview441_setup.exe", 
  "9a51e8930455e49563fb24d6e576953ec484c52a"
 ], 
 [
  "Readme.txt", 
  "e5df967a270eba1e6ad4278c44608de93a83bd71"
 ], 
 [
  "setup.py", 
  "3d53f96f669a4e3f68b4c7d097320534f71ffa2a"
 ], 
 [
  "WAPT\\control", 
  "bb2f047dd74f44905a6ce542fb27b1f127c008c9"
 ], 
 [
  "WAPT\\icon.png", 
  "9991160b72f532af9084400b686a1938665a95ab"
 ], 
 [
  "WAPT\\wapt.psproj", 
  "d140401965341ede69880cd6342c5db7040324b2"
 ]
]