Sun Java Enterprise System 5 Installation Guide for Microsoft Windows

Running the Uninstall Program in Silent Mode

Silent uninstallation is useful for uninstalling Java ES components on multiple hosts that share similar configurations. The procedure for uninstalling in silent mode is similar to the procedure for installing in silent mode as described in Chapter 4, Installing in Silent Mode.

ProcedureTo Perform Uninstallation in Silent Mode

  1. Change the directory where the installer is located:

    cd JavaES-install-dir

  2. Use the Setup.bat /r command to create the response file.

    Use the /f1 option to specify where the response file is to be created and to provide a name. To avoid unpredictable results, specify an absolute path for the file that has the .iss extension. For example, type:

    Setup.bat /r /f1"C:\Temp\UninstallExample.iss"

    All the data typed and options selected are recorded in the .iss file.

  3. The response file is ready for use with the options selected during the record uninstallation. The response file can be edited manually to modify the options recorded.

    You can now use the response file to start silent uninstallation.

  4. Change to the directory where the installer is located.

    cd JavaES-install-dir

  5. Type the command Setup.bat /s option to initiate a silent mode uninstallation process.

    Use the /f1 option to specify the .iss file location. To avoid unpredictable results, specify an absolute path. For example, type:

    Setup.bat /s /f1"C:\Temp\UninstallExample.iss".

  6. (Optional) Use the /f2 option to specify an alternative name and location for the log file. To avoid unpredictable results, specify an absolute path for the file. For example, type:

    Setup.bat /s /f1"C:\Temp\UninstallExample.iss /f2"C:\Setup.log".

    While the uninstaller is running, you can monitor its progress by examining changes to the installation log.