7-Zip silent uninstall all versions, msi or exe based

This is will:
  • uninstall 32-bit version on 64-bit windows
  • uninstall 64-bit version on 64-bit windows
  • uninstall 32-bit version on 32-bit windows
  • uninstall application in what ever location it is installed (based on registry)
  • uninstall all version numbers of application
  • uninstall application either it is installed via exe or msi
To work with this method I need additional libraries:

Here is how it looks together:
Uninstall script:

No comments: