tis-msi-4.5 4.5.0-9

  • package : tis-msi-4.5
  • version : 4.5.0-9
  • architecture : x86
  • locale :
  • description : Windows MSI installer 4.5 XP, 2003, Vista, 7 32 et 64 bits KB942288
  • maintainer : Hubert TOUVET
  • date : 2018-02-27 19:02:35
  • min_wapt_version :
  • min_os_version :
  • max_os_version :
  • impacted_process :

setup.py

# -*- coding: utf-8 -*-
from setuphelpers import *

# registry key(s) where WAPT will find how to remove the application(s)
uninstallkey = []

def install():
    import platform
    windows = platform.win32_ver()[0]
    if not installed_softwares('KB942288'):
        print('installing tis-msi-4.5')
        if not iswin64():
            if windows == 'XP':
                run(r'"WindowsXP-KB942288-v3-x86.exe" /quiet /norestart',accept_returncodes=(0,1601,3010))
            elif windows == '2003Server':
                run(r'"WindowsServer2003-KB942288-v4-x86.exe" /quiet /norestart',accept_returncodes=(0,1601,3010))
            elif windows in ('post2003','Vista','2008Server'):
                run(r'"Windows6.0-KB942288-v2-x86.msu" /quiet /norestart',accept_returncodes=(0,1601,3010))
        else:
            if windows == '2003Server':
                run(r'"WindowsServer2003-KB942288-v4-x64.exe" /quiet /norestart',accept_returncodes=(0,1601,3010))
            elif windows in ('post2003','Vista','2008Server'):
                run(r'"Windows6.0-KB942288-v2-x64.msu" /quiet /norestart',accept_returncodes=(0,1601,3010))

    

Changelog

No changelog
    

manifest.sha256

WindowsXP-KB942288-v3-x86.exe acd589b57ed104b5e04a7ce28dc166654c09060c9c31ae8e2c9301fa098bbfa5
WAPT/certificate.crt 79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4
WAPT/wapt.psproj 7828a594234f589c60a0cb82e1e7ee27a103d8a78f3e8bc821b0ae41b95bc62c
Windows6.0-KB942288-v2-x64.msu 596a20620d4623df6a806048513db67b37f151e668900be405b6d2fdd1a31d2b
Windows6.0-KB942288-v2-x86.msu 8a8117a2ba0ab9261675557d1a4c33406a39e2d0620bd975e6709ba9aead4696
WindowsServer2003-KB942288-v4-x64.exe 0c7e2cd7394a99c9d7cc8b1bb575f476ec5e30f53e59a34077f848bf96aa6a3d
setup.py 20c6caad3580f65c2a295d04b84604e89137db28d1c44f7114bd11ed1e3f24fb
WAPT/control be16eca6504dfc7f3694561b5f07322cff3ad84eab55761647ec82413877c451
WindowsServer2003-KB942288-v4-x86.exe 763e0fff2f0b4413c1a51b7016ea1b5e4ae5768d0593dfedf285ddc26cf18137

Forum feed

WAPT Packages / Paquets WAPT • Error line 3512 in install_wapt
Bonjour à tous,

Depuis la mise à jour vers WAPT 1.6 j'ai le paquet 7zip qui a tendance a fail a l'installation avec cette sortie :

uninstalling 7-Zip 9.20 (x64 edition)
Traceback (most recent call last):
File "c:\wapt\common.py", line 3512, in install_wapt
exitstatus = setup.install()
File "c:\windows\temp\wapt6e8_dt\setup.py", line 42, in install

le code du paquet pyhton de wapt.lesfourmisduweb.org :

CODE :

def install():    global uninstallkey    from common import Wapt    broken_7zip = [ soft for soft in installed_softwares('7-zip') if Version(soft['version']) < Version('16.0') ]    if broken_7zip:        for uninstall in broken_7zip:            cmd = WAPT.uninstall_cmd(uninstall['key'])            print(u'uninstalling %s' % (uninstall['name'],))            # on execute la commande de desinstallation            run(cmd)    allmsi = glob.glob('*-x64.msi')    for msi in allmsi:        if iswin64():            install_msi_if_needed(msi,killbefore=['7zFM.exe'])        else:            install_msi_if_needed(msi.replace('-x64.msi','.msi'),killbefore=['7zFM.exe'])    for ext in ('.001','.7z','.arj','.bz2','.bzip2','.cab','.cpio','.deb','.dmg','.fat',            '.gz','.gzip','.hfs','.iso','.lha','.lzh','.lzma','.ntfs','.rar','.rpm',            '.squashfs','.swm','.tar','.taz','.tbz','.tbz2','.tgz','.tpz','.txz','.vhd',            '.wim','.xar','.xz','.z','.zip', '.zipe'):        register_ext('7-zip',ext,'"%s" "%%1"' % (makepath(programfiles,'7-zip','7zFM.exe'),),icon="%s,1" % (makepath(programfiles,'7-zip','7z.dll')))""" You can do a CTRL F9 in pyscripter to update the package """
Dans le doute je vais juste pas garder ça et remplacer avec simplement :

CODE :

if iswin64():        install_msi_if_needed('7z1805-x64.msi',killbefore=['7zFM.exe'])    else:        install_msi_if_needed('7z1805.msi',killbefore=['7zFM.exe'])    for ext in ('.001','.7z','.arj','.bz2','.bzip2','.cab','.cpio','.deb','.dmg','.fat',            '.gz','.gzip','.hfs','.iso','.lha','.lzh','.lzma','.ntfs','.rar','.rpm',            '.squashfs','.swm','.tar','.taz','.tbz','.tbz2','.tgz','.tpz','.txz','.vhd',            '.wim','.xar','.xz','.z','.zip', '.zipe'):        register_ext('7-zip',ext,'"%s" "%%1"' % (makepath(programfiles,'7-zip','7zFM.exe'),),icon="%s,1" % (makepath(programfiles,'7-zip','7z.dll')))
Mais peut être qu'un oeil expert trouveras le bug :)

Cordialement,
Renaud

Statistiques: Posté par renaud.counhaye — 15 octobre 2018, 11:28


WAPT Packages / Paquets WAPT • Re: [RESOLU] Erreur tis-java8

CODE :

                              if isdir(makepath(programfiles64,'Java','jre' + get_msi_properties(msi)['JDK_VERSION'])):                        killalltasks('iexplore.exe')                        killalltasks('jushed.exe')                        remove_tree(makepath(programfiles64,'Java','jre' + get_msi_properties(msi)['JDK_VERSION']))
J'avais intégré ceci dans mon code pour wapt java, je ne l'ai pas mis sur le store tis, j'avais un peu peur des effets de bord

Statistiques: Posté par sfonteneau — 05 octobre 2018, 21:14