Uninstalling CloudBees Build Acceleration silently

2 minute read

The uninstaller removes all CloudBees Build Acceleration components (including the Visual Studio Integration) as well as the installation directory and its contents from a machine at the same time. This includes the software itself, build information, and installation preferences from the prior installation.

If you are uninstalling on a series of identical machines (such as a series of cluster hosts), you can use the “silent” uninstallation method, which uninstalls components automatically without user interaction.

Use the following command-line options when performing a silent uninstallation. Use this format:

<uninstaller_filename> [options]

This table lists each command-line option’s equivalent in the uninstaller UI and the variable that is set in the uninstaller properties file. You can use the resulting properties file for running silent uninstallations.

  • You can use the values “yes”, “y”, “1” and “no”, “n”, “0” interchangeably within uninstaller command-line options.

  • For --cmdbtype ` and `--type, differences exist between valid command-line option arguments and valid properties file parameters. Ensure that you provide the correct input for each method.

Command-line option Variable set in the uninstaller properties file Description

Equivalent uninstaller UI field

--backupdb <y or n>

EC_CM_BACKUPDB=y or n

Specifies whether to back up the database. Remote databases are not backed up. Default: n.

--debug

n/a

Runs the uninstaller in debug mode.

--debugconsole

n/a

Runs the uninstaller with the debug console open.

--fulluninstall <y or n>

EC_FULL_UNINSTALL=y or n

Specifies whether to perform a complete uninstallation. A complete uninstallation deletes the top-level installation directory .

--logfile [ARG]

EC_LOGFILE=

Specifies the log file to use for debug logging.

--mode <console, silent, or standard>

n/a

Sets the mode in which to run the uninstaller. For a console login, standard mode and console mode are identical. For a GUI machine, standard brings up the UI. On Linux, if you are running the X Window System, you must use console if you want to invoke console mode. For silent uninstallation, use silent.

--test

n/a

Runs the uninstaller without uninstalling any files.

--upgrade <y or n>

EC_IS_UPGRADE=y or n

Performs an upgrade uninstallation ( only partial ).