tis-ie11 11.0.9600.16428-3

  • package : tis-ie11
  • version : 11.0.9600.16428-3
  • description : Internet Explorer 11 FR for WIN7 and +
  • maintainer : Jeremie
  • date : 2014-06-04 15:59:47
  • signer :
  • signature_date :
  • min_os_version :
  • min_wapt_version :

setup.py

# -*- 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 *


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

# command(s) to launch to remove the application(s)
uninstallstring = []

# list of required parameters names (string) which canb be used during install
required_params = []

def get_registry_value(key, subkey, value):
    import _winreg
    key = getattr(_winreg, key)
    handle = _winreg.OpenKey(key, subkey)
    (value, type) = _winreg.QueryValueEx(handle, value)
    return value

def install():
    global uninstallstring
    key=get_registry_value("HKEY_LOCAL_MACHINE","SOFTWARE\Microsoft\Internet Explorer","SvcVersion")
#    key=registry_readstring("HKEY_LOCAL_MACHINE","SOFTWARE\\Microsoft\\Internet Explorer","Version","toto")
    if key[0:9] >='11.0.9600':
    	print("IE11 deja installe")
    else:
    	if isrunning('iexplore.exe'):
    		print("Fermeture d'Internet explorer")
    		killalltasks('iexplore.exe')
    	print("Installation IE 11")
        if iswin64():
    		run('IE11-Windows6.1-x64-fr-fr.exe /quiet /no-default /norestart')
    	else:
    		run('IE11-Windows6.1-x86-fr-fr.exe /quiet /no-default /norestart')
        uninstallstring = ['wusa /uninstall /KB:2841134']

    

manifest

[
 [
  "IE11-Windows6.1-x64-fr-fr.exe", 
  "1489c4f8e9b816dacd79bde86b53f12eeeb6432b"
 ], 
 [
  "IE11-Windows6.1-x86-fr-fr.exe", 
  "886e18b7f4772c18411eef6f22ff4e8a92070147"
 ], 
 [
  "setup.py", 
  "53dbefa7c029b41e992f3287145e4d93225107f6"
 ], 
 [
  "WAPT\\control", 
  "923c87ff67638cd71629f33dd59ed8fc2dfaf431"
 ], 
 [
  "WAPT\\icon.png", 
  "8516874fcb3a84869b9c8ab0ca7ec6afaa28ea67"
 ], 
 [
  "WAPT\\wapt.psproj", 
  "4e85d7af350c7aa022303492501577e1436625bd"
 ]
]