Uninstall All Products Silently in Console Mode
You can uninstall all products silently in console mode. Specify the -readUninstallScript parameter on the command that you run to start the uninstaller, as follows:
uninstall -readUninstallScript -console
After a script runs successfully, by default, the uninstaller exits immediately. If you want the uninstaller to instead allow you to choose when to exit after the script completes, specify the -scriptNoExit parameter at the end of the command.
If errors occur while a script is running, uninstallation fails. By default, the uninstaller shows the errors and does not exit. If you want the uninstaller to exit immediately with a non-zero exit value, specify the -scriptErrorInteract no parameter at the end of the command. If you want the uninstaller to show the errors and pause for a specified number of seconds before exiting, specify the -scriptErrorInteract number_of_seconds parameter at the end of the command.