[SOLVED] tis-vmwaretools error

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
jsdmc
Messages: 8
Registration: Nov. 30, 2018 - 3:56 p.m.

June 29, 2026 - 11:57

Hello,

Following up on the thread:
viewtopic.php?p=17472&hilit=vmware#p17472 which has been locked.

The fix is ​​not working.
Attached is the installation log as well as the exported uninstall keys for vmware_tools_13.1 and for an older version, as it seems Broadcom has changed the installer's behavior.

Have a good day.
Attachments
vmwaretools.7z logs
(1.77 KB) Downloaded 832 times
kcherel
Messages: 10
Registration: January 12, 2026 - 10:01

June 29, 2026 - 5:12 PM

Hello jsdmc,

Which version of Windows are you using for VMware Tools?
And the contents of your tis-vmware-tools package do indeed contain the following data in the setup.py file:

Code: Select all

# -*- coding: utf-8 -*-
from setuphelpers import *

def is_vmware_host():
    wmi = wmi_info(keys=['Win32_ComputerSystem'])
    computer_system = wmi['Win32_ComputerSystem']

    if isinstance(computer_system, dict):
        if 'VMware, Inc.' in computer_system['Manufacturer']:
            return True

    if isinstance(computer_system, list):
        for v in computer_system:
            if 'VMware, Inc.' in v['Manufacturer']:
                return True

    return False

def install():
    bin_name = glob.glob("VMware-tools-*.exe")[0]
    print(f"Installing: {bin_name}")

    if not is_vmware_host():
        error("The current computer is not VMware virtual machine !")

    install_exe_if_needed(
        bin_name,
        silentflags='/S /v /qn REBOOT=R',
        name="VMware Tools",
        min_version=str(Version(control.get_software_version(),3)),
        get_version=get_installed_version
    )
def get_installed_version(key):
    return str(Version(key["version"],3))
The message indicates the error that appeared before the modification.
jsdmc
Messages: 8
Registration: Nov. 30, 2018 - 3:56 p.m.

June 30, 2026 - 09:35

Hello,

the VM is running Windows 10.

The setup.py file provided in the forum works; I tested it by recreating the package.
However, this modification is not included in the tis-vmwaretools package in your repository.
(I removed the package from my private repository, then re-downloaded it, and then edited it.)
kcherel
Messages: 10
Registration: January 12, 2026 - 10:01

June 30, 2026 - 11:07

Hello,
Great, I'm making the change on the store.

The package will be in production within 5 days, but you can find it in pre-production right now: https://wapt.tranquil.it/store/fr/detai ... EPROD.wapt

So the problem is solved?

Have a good day,
Kevin.
jsdmc
Messages: 8
Registration: Nov. 30, 2018 - 3:56 p.m.

June 30, 2026 - 12:22

Yes, once the store is updated, you can consider the ticket resolved.

Have a good day.
Locked