I'm trying to develop a package for the Screenpresso software. Thanks to version 2.0, it's much simpler! And yet...
The installation went smoothly, I never had any problems.
However, for uninstallation, if I understand correctly, it is wapt that is responsible for generating the uninstall() function from the uninstallation key.
The one retrieved is the correct one, and testing the package locally on the console makes it work.
However, an error is returned after execution, and therefore the package fails.
Execution in VSCode:
Code: Select all
Removing D:\waptdev\sdis85-screenpresso-wapt ...
L'opération a réussi.
2021-07-06 10:29:05,991 CRITICAL Critical error during uninstall: CalledProcessErrorOutput: Command '"C:\\Program Files\\Learnpulse\\Screenpresso\\Screenpresso.exe" deploy --programfiles --quiet --uninstall' returned non-zero exit status 11.
Output:
No package removed !
=== Error removing packages ===
Code: Select all
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\waptservice\service.py", line 1961, in run
self.running_task.run()
File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 649, in run
self._run()
File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 1214, in _run
self.result = self.wapt.remove(self.packagenames,
File "C:\Program Files (x86)\wapt\common.py", line 5324, in remove
print((self.run(uninstall_cmd)))
File "C:\Program Files (x86)\wapt\common.py", line 3705, in run
return ensure_unicode(setuphelpers.run(*arg, **args))
File "C:\Program Files (x86)\wapt\setuphelpers_windows.py", line 4029, in run
raise CalledProcessErrorOutput(proc.returncode, cmd, ''.join(output))
waptutils.CalledProcessErrorOutput: Command '"C:\\Program Files\\Learnpulse\\Screenpresso\\Screenpresso.exe" deploy --programfiles --quiet --uninstall' returned non-zero exit status 4294967295.
THANKS.
