Planning a Silent Uninstallation

Move and modify the SilentUninstall_Win.bat file, then review the content of the default SilentUninstall_Win.txt file and determine what changes you must make to selectively remove SAP Mobile Platform Runtime components in the uninstallation.

  1. Move the SilentUninstall_Win.bat to a temporary location outside of the SAP Mobile Platform server installation tree.

    For example, C:\temp.

    Note: The current location of the SilentUninstall_Win.bat file should be the SMP_HOME\Uninstallers\MobilePlatform\ directory (SMP_HOME\Uninstallers\UnwiredPlatform\ if original installation was Unwired Platform 2.2.x), where either a silent installation placed it or you copied it earlier.
  2. Use a text editor to open the SilentUninstall_Win.bat file, and change the line beginning with cd as follows.

    Line before change:

    cd /d %~dp0

    Line after change:

    cd /d SMP_HOME\Uninstallers\MobilePlatform

    where SMP_HOME is the complete path to the SAP Mobile Platform Runtime installation directory.

    Note: If original installation was Unwired Platform 2.2.x, the line after making the change is:
    cd /d SMP_HOME\Uninstallers\UnwiredPlatform
  3. Use a text editor to open the SilentUninstall_Win.txt file, and review the current settings.

    Comments preceding each group of settings describe the valid options, and any special requirements for the entry. Any component identified with .activeForUninstall=true will be uninstalled.

  4. Determine the SAP Mobile Platform server components you want to keep.
    The default settings remove all SAP Mobile Platform components.