- Installed WAPT version: 1.5.1.18 Community
- Linux Debian 9 server OS
- Operating system of the administration/package creation machine: Windows 10
I would like to create a source-free package with just one command to uninstall a program on my computers.
I do not have the original source code for the application.
Using the command wapt-get list-registry software_name I am able to retrieve the Uninstallstring and the uninstallkey on a target machine.
So I foolishly created an empty package with the given information:
Code: Select all
# -*- coding: utf-8 -*-
from setuphelpers import *
uninstallkey = ['Foxit Reader_is1']
def uninstall():
print('uninstalling Foxit Reader')
run(r'"C:\Program Files (x86)\Foxit Software\Foxit Reader\unins000.exe"')Is there anyone who can help me?
THANKS
