I tried using this code in this thread: How can I uninstall an application using PowerShell?
But it doesn't uninstall the product.
I just get this back:
__GENUS : 2
__CLASS : __PARAMETERS
__SUPERCLASS :
__DYNASTY : __PARAMETERS
__RELPATH :
__PROPERTY_COUNT : 1
__DERIVATION : {}
__SERVER :
__NAMESPACE :
__PATH :
ReturnValue : 1603
Any ideas? Can I do this with VB easier? I need to uninstall a .exe then reinstall it.