Page 1 of 1

Antivirus, block the possibility of uninstallation via Wapt

Published: May 23, 2023 - 12:05 PM
by skoizer
Good morning,
wapt 2.3
server:debian11
test: win10
license: company
park: 1500 sq ft

new wapt user
I am currently populating my private repository

I have a specific case with my McAfee antivirus package; the installation works
Uninstallation is not possible, and this is normal, as it requires a specific tool that can be downloaded (via login) from the publisher's website. This tool is only valid for two months.
I would like to point out that if the WAPT user wants to uninstall via wapt, it is impossible.
Is it possible to put an error code on the uninstallation or to prevent it?

??

Code: Select all

def uninstall():
    print("Desinstalllation impossible, il faut utiliser l'outil spécifique ")
    return "CRITICAL"

Thanks a lot