De lo contrario, en una sala con 6 PC con XP, aparece el siguiente mensaje:
Instalación de dst-sketchup2016
EWaptSetupException: Error fatal: Se ha instalado MSI SketchUp2016-x86.msi, pero
no se puede encontrar la clave de desinstalación {CF062509-06B2-4F57-9373-166B04719F94}
Y en las mismas PC con la versión 2015:
Instalación de dst-sketchup2015
Excepción: La clave de desinstalación: {A1391613-0694-43DF-A4FC-144CC26BCDCB} no se encontró en el registro del sistema después de la instalación del software.
Todavía en la misma sala, la PC del profesor (idéntica a la mía, una Dell 3020 con Windows 7 de 64 bits) instala correctamente la versión 2017 + VC2015 + .NET FX4.5, pero no sucede nada cuando hace clic en ella…
Código: Seleccionar todo
# -*- coding: utf-8 -*-
from setuphelpers import *
import platform
# 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 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
softname = 'Sketchup'
versionsoft = '16.1.1450'
check_installed_soft = installed_softwares(softname)
if check_installed_soft:
for uninstall in check_installed_soft:
key=uninstall['key']
if installed_softwares(uninstallkey=key):
if Version(uninstall['version']) < Version(versionsoft):
cmd = WAPT.uninstall_cmd(uninstall['key'])
run_notfatal(cmd)
if iswin64():
print('Installation de sketchup 2017')
install_msi_if_needed('SketchUp2017-x64.msi',killbefore=['SketchUp.exe'])
uninstallkey.append('{F124B571-EFA9-40F2-81B3-32AB0232429A}')
else:
print('installing dst-sketchup2016')
install_msi_if_needed('SketchUp2016-x86.msi',killbefore=['SketchUp.exe'])
uninstallkey.append('{CF062509-06B2-4F57-9373-166B04719F94}')
def uninstall():
