Page 1 of 1

Uninstalling the package

Published: May 9, 2017 - 09:07
by Killian
Good morning,

I created a package but I can't uninstall it

Here is my code:

Code: Select all

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

uninstallkey = []

def install():
    print('installing Smaps')
    install_exe_if_needed("smapS_Installation_2.7.0.0.exe",'/VERYSILENT /SUPPRESSMSGBOXES /NORESTART',key='',min_version='0.0.0.0')

Re: Uninstalling package

Published: May 10, 2017 - 2:07 PM
by sfonteneau

Re: Uninstalling package

Published: May 10, 2017 - 2:08 PM
by Killian
Entering one doesn't change anything, and when I use `print uninstallkey`, no key is displayed

Re: Uninstalling package

Published: May 10, 2017 - 3:12 PM
by sfonteneau
In this case, it might mean that the uninstall key for the software you are using is not working.

Refer again to the documentation:
https://www.wapt.fr/fr/doc/CreationPaqu ... stallation