Page 1 of 1

[SOLVED] Uninstalling the xmind package

Published: February 1, 2018 - 2:35 PM
by hasop
Hello,

I tested the tis-xmind package, replacing it with version 8U6 (but I think the problem is the same with the version included in the package):
When trying to uninstall the package, I noticed that the package was indeed removed from the list in the console, but the tool is still visible in the inventory.

I ran `wapt-get list-registry`.
The tool is listed correctly with an `uninstallstring="...\unins000.exe"`. There is no `/S` at the end of the string. Could the problem be related to this?

Is it possible to customize the uninstallation (in a `def uninstall():`) by retrieving the contents of the `uninstallstring`?
For example, by running the string and adding the missing `/S`?

Thank you in advance for your help.

Re: Uninstalling the xmind package

Published: February 20, 2018 - 3:30 PM
by agauvrit
Good morning,

Yes, you can override the uninstallation with the function

Code: Select all

uninstall():
Alexander

Re: Uninstalling the xmind package

Published: February 20, 2018 - 3:34 PM
by hasop
OK for "def uninstall():", but can we retrieve the contents of uninstallstring to add a /S at the end?

Re: Uninstalling the xmind package

Published: February 20, 2018 - 3:41 PM
by agauvrit
Yes, it's hidden in the documentation:

https://www.wapt.fr/fr/doc-1.5/Creation ... -if-needed

Re: [SOLVED] Uninstalling the xmind package

Published: February 20, 2018 - 3:55 PM
by hasop
I'm not sure I understand.
Does `uninstallstring` equal `uninstallkey`?

Re: [SOLVED] Uninstalling the xmind package

Published: February 20, 2018 - 4:10 PM
by agauvrit
  • Uninstallkey = Registry entry with a set of subkeys (Name, Description, Publisher, Version, Uninstallstring etc)
  • Uninstallstring = Sub-entry of an uninstallkey that contains the text string executed for uninstallation