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 : 2014-06-11 11:48:29
  • signer :
  • signature_date :
  • min_os_version :
  • min_wapt_version :
  • 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')

    

manifest

[
 [
  "setup.py", 
  "69d6725ba3e61459a0c3f3cb82188b64e8eeba2d"
 ], 
 [
  "SketchUp2014.msi", 
  "75a9f3a9d3dfd1c4935ecab9fc5f810155f99fa6"
 ], 
 [
  "WAPT\\control", 
  "4cb729b549069bccf85932d1a24ecf28968eaf1a"
 ], 
 [
  "WAPT\\icon.png", 
  "b246bc5788df93a18d75a7ccd6449db8b7c6b6a5"
 ], 
 [
  "WAPT\\wapt.psproj", 
  "4e85d7af350c7aa022303492501577e1436625bd"
 ]
]