Installer  | Uninstalling | Uninstall Using a Script in Console Mode | Uninstall Using a Script
 
Uninstall Using a Script
To uninstall on a Windows system, in console mode, using an uninstallation script, enter the command below.
SoftwareAGInstalleryyyymm.exe -readUninstallScript full_path_to_existing_script_file
-installDir full_path_to_installation_directory -debugOut -console
To uninstall on a UNIX system using an uninstallation script, enter the command below.
sh SoftwareAGInstalleryyyymm.bin -readUninstallScript full_path_to_existing_script_file
-installDir full_path_to_installation_directory -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.