Page 1 of 1

[SOLVED] How to uninstall non-Wapt software?

Published: Dec 1, 2017 - 9:42 PM
by CasseThor
Good evening everyone,

your software is really great, and while browsing it (wapt server on Windows),
I saw in the console that it lists all the installed software along with commands to uninstall them.

Is it possible to do this from the console on Windows?
Perhaps in a future server update?

Have a good evening, given the time. :mrgreen:
Regards.

PS: Your software is great, I'm going to convert all my MSI packages. :D

Re: Uninstalling non-Wapt software?

Published: Dec 2, 2017 - 12:31
by sfonteneau
Good morning

In the console, you can only launch uninstallations of wapt packages.

To uninstall software, you can create a package, for example: tis-remove-bloatware

The code snippet that allows you to do this is available in the documentation here:

https://www.wapt.fr/fr/doc/CreationPaqu ... -logiciels

So for you:

Code: Select all

for soft in installed_softwares('cyberlink'):
                run(WAPT.uninstall_cmd(soft['key']))
will uninstall all software that has the word cyberlink in its uninstallkey information


It would indeed be possible to perform an action directly from the console, but this is not planned at the moment.

Re: Uninstalling non-Wapt software?

Published: Dec 2, 2017 - 5:09 PM
by CasseThor
THANKS :)

Re: [SOLVED] Uninstalling non-Wapt software?

Published: September 6, 2023 - 3:38 PM
by Baal
to the uninstallation command:
for soft in installed_softwares('cyberlink'):
run(WAPT.uninstall_cmd(soft['key']))
parameters

Re: [SOLVED] Uninstalling non-Wapt software?

Published: September 7, 2023 - 10:10 AM
by dcardon
Hello Baal,
it's not recommended to "resurrect" old posts (see necroposting on Wikipedia). Could you please start a new thread?
I'm closing this one.
Regards,