Sketchup Package

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
Gaelds
Messages: 254
Registration: Nov 22, 2015 - 08:37

December 12, 2016 - 5:02 PM

I'm having a lot of trouble installing SketchUp Make 2017; it only works on a few PCs. Is it possible to disable the uninstall key verification at the end of the WAPT package installation? On my PC (Windows 7 64-bit), I get the following message:

Otherwise, on a room with 6 PCs running XP, I get the following message:
Installing dst-sketchup2016
EWaptSetupException: Fatal error: MSI SketchUp2016-x86.msi has been installed but the uninstall key
{CF062509-06B2-4F57-9373-166B04719F94} can not be found


And on the same PCs with the 2015 version:
installing dst-sketchup2015
Exception: The uninstall key: {A1391613-0694-43DF-A4FC-144CC26BCDCB} has not been found in system registry after software installation.

Still in the same room, the teacher's PC (identical to mine, a Dell 3020 running Windows 7 64-bit) successfully installs version 2017 + VC2015 + .NET FX4.5, but nothing happens when you click on it…

Code: Select all

# -*- 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():
Gaelds
Messages: 254
Registration: Nov 22, 2015 - 08:37

December 13, 2016 - 8:05 AM

Following Simon's advice, I removed the uninstallkey.append( and it works better on my PC. For the PC where the software won't launch, it's a driver update that's needed. And for XP, SketchUp is no longer compatible since version 2015...
Jean Baudin
Messages: 3
Registration: Nov 18, 2020 - 10:37

November 25, 2020 - 10:57 AM

gaelds wrote: Dec 12, 2016 - 5:02 PM I'm having a lot of trouble installing SketchUp Make 2017; it only works on a few PCs. Is it possible to disable the uninstall key verification at the end of the WAPT package installation? On my PC (Windows 7 64-bit), I get the following message:

Otherwise, on a room with 6 PCs running XP, I get the following message:
Installing dst-sketchup2016
EWaptSetupException: Fatal error: MSI SketchUp2016-x86.msi has been installed but the uninstall key
{CF062509-06B2-4F57-9373-166B04719F94} can not be found


And on the same PCs with the 2015 version:
installing dst-sketchup2015
Exception: The uninstall key: {A1391613-0694-43DF-A4FC-144CC26BCDCB} has not been found in system registry after software installation.

Still in the same room, the teacher's PC (identical to mine, a Dell 3020 running Windows 7 64-bit) successfully installs version 2017 + VC2015 + .NET FX4.5, but nothing happens when you click on it…

Code: Select all

# -*- 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():
Hi, were you able to find an answer to your problem on Sketchup?
User avatar
jpele
Messages: 156
Registration: March 4, 2019 - 12:01
Location: Nantes

November 25, 2020 - 6:10 PM

Hello,

Coincidentally, we updated the package today on the Store. I invite you to try it out.
https://store.wapt.fr/store/tis-sketchup-make

Sincerely,
Jimmy
Jean Baudin
Messages: 3
Registration: Nov 18, 2020 - 10:37

December 16, 2020 - 8:24 AM

jpele wrote: Nov 25, 2020 - 6:10 PM Hello,

we updated the package today on the Store. I invite you to test it.

https://store.wapt.fr/store/tis-sketchup-make,
Sincerely,
Jimmy
Thanks, I'll go take a look at all of that :D
Locked