Running a Silent Uninstallation

Make sure you have the correct version of the modified SilentUninstall_Win.txt file, in the correct location on the host where you want to run a silent uninstallation, then run the SilentUninstall_Win.bat script from a command prompt.

Prerequisites
  1. Shut down the same processes on the target host as if you were running the installer manually. See the chapter in this guide that covers the type of installation you are automating.
  2. Prevent backups and virus scans from interfering with the uninstallation. You can either exclude the Unwired Platform installation directory from backups and virus scans, or temporarily disable them.
  3. Run the uninstallation script as an administrator on Windows 7 and Windows Server 2008 R2.
Task
  1. On the host where you want to run a silent uninstallation, confirm that the SUP_HOME\Uninstallers\UnwiredPlatform directory contains the correct version of the SilentUninstall_Win.txt configuration file that you modified for a particular uninstallation type.
  2. For each type of uninstallation you want to automate, perform a trial run of these instructions using your modified SilentUninstall_Win.txt configuration files, on a temporary or test server host.
    Confirm that each modified configuration file produces the desired uninstallation outcome, before you proceed with silent uninstallation on an actual target host.
  3. From a command prompt on the installation target host, navigate to the directory to which you moved the SilentUninstall_Win.bat file and launch the silent uninstallation script:
    SilentUninstall_Win.bat
  4. Check for errors in SUP_HOME\InstallLogs\UPUninstall.log.
  5. Delete any folders and files remaining in the Unwired Platform installation directory, if the uninstaller could not remove them.
    If you cannot delete the Sybase Control Center installation directory (C:\Sybase\SCC-X_X by default), see Troubleshooting Uninstallation.
  6. Restart the system to delete folders and files remaining in the Unwired Platform installation directory.
  7. Repeat these steps on the target servers for each different type of uninstallation you are automating.