Page 1 of 1

[RESOLVED] OBS Studio package fix

Published: April 27, 2026 - 1:53 PM
by Benoit
wapt enterprise 2.6.1.17705
server: debian 12
Package machine: Win 11

Good morning,

Could you please correct the uninstall() function present in the OBS studio package from the store? https://wapt.tranquil.it/store/fr/detai ... _PROD.wapt

Code: Select all

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

impacted_third_party_processes = [
    "msedge",
    "msedgewebview2",
    "Rocket.Chat",
    "Teams",
    "msteams",
    "LogiTune",
    "NVIDIA Broadcast",
]


def install():
    bin_name = glob.glob("OBS-Studio-*.exe")[0]
    try:
        install_exe_if_needed(
            bin_name,
            silentflags="/S",
            key="OBS Studio",
            min_version=control.get_software_version(),
            killbefore=impacted_third_party_processes if force else [],
        )
    except Exception as e:
        if e.returncode == 6:
            for p in impacted_third_party_processes:
                if isrunning(p):
                    print(f"{p} is running")
            error(
                'Installation failed with "exit status 6"\nIt means that there is a program running that may be using OBS Virtual Camera\nYou can force install this package if you want to try killing them before'
            )


def uninstall():
    remove_programs_menu_folder("OBS Studio")

Re: OBS Studio package fix

Published: April 27, 2026 - 4:05 PM
by italbot
Hello,

Could you tell me what problem you're encountering during uninstallation? When I test it myself, the software uninstalls correctly.

Sincerely,

Ingrid

Re: OBS Studio package fix

Published: April 28, 2026 - 08:09
by Benoit
Hello,
when I test the uninstall() function from VS Code, it only removes the shortcut from the Start menu; it doesn't uninstall the software.

Regards,

Re: OBS Studio package fix

Published: April 28, 2026 - 09:14
by italbot
Hello,

Yes, I tested it using the system account on my end. From VS Code or PyScripter, could you run `remove` instead of `uninstall` to test the software uninstallation? This should run both the script specified in the `uninstall()` function and the uninstallation of the registry key.

Regards,

Ingrid