tis-sketchup-make 14.0.4900-4

  • package : tis-sketchup-make
  • version : 14.0.4900-4
  • description : automatic package for SketchUp Make 2014. Uninstall sketchup 8 if installed
  • maintainer : Administrateur
  • date : 2018-02-27 19:08:10
  • Depends :

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 = ["{095CF3FF-6B97-45F6-8D91-CE30ABF2CA2C}"]

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

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


def install():
    # if you want to modify the keys depending on environment (win32/win64... params..)
    global uninstallkey
    global uninstallstring

    old_sketchup = installed_softwares('Google Sketchup 8')
    if old_sketchup:
        print('Uninstalling Google Sketchup 8')
        run("MsiExec.exe /x{E3F4EA31-41D7-4789-9AC4-F26CDAF797BA} /quiet")

    print('installing Sketchup2014')
    run(r'"SketchUp2014.msi" /quiet /norestart')

    

Changelog

No changelog
    

manifest.sha256

[["WAPT/icon.png", "ae4b4efc5abd8d0cb5ffe2d0210826701230ae81216c452c77efd5d3dda99efd"], ["WAPT/certificate.crt", "79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4"], ["SketchUp2014.msi", "26de37a60ecf223699940d5964b7bbf908dfdc77907f8034f1d6b47beb4d2cb5"], ["setup.py", "164c1873841b4991ec1b88b57f26553a7d0bf7ad8501575ea6df871e04172741"], ["WAPT/control", "98b0d938fe112e1fe6e92a6ce4ced0a4a4204c2cd254e8a785106ed682d42134"], ["WAPT/wapt.psproj", "798d3fe459b24e0460ace5be62ed6f6a46b3628442db63889ed4697c27047eb6"]]