How to Silently Uninstall BarTender
Overview
You can automate the uninstallation process of the BarTender suite by running the BarTender installer with various Windows commands.
Using command line parameters — such as the ones below — scripts can be built to remove components of the BarTender Application Suite.
Applicable To
BarTender 2016 and later.
Information
BarTender 2016
If you wish to deactivate BarTender as well as uninstall it, you will need to use a two-step process — a deactivation command will need to be used ahead of the uninstall command. Deactivation is completely optional, and the uninstall command can be run independently.
The deactivation command looks like this:
"C:\Program Files\Seagull\BarTender Suite\ActivationWizard.exe" Deactivate
Here's what a full command looks like:
"C:\Program Files\Seagull\BarTender Suite\ActivationWizard.exe" Deactivate
setup.exe /s /v"/qn REMOVE=ALL"
BarTender 2019
See below for an example of the command that needs to be used in BarTender 2019. Note that it includes different parameters than the command used in BarTender 2016.
"C:\Program Files\Seagull\BarTender 2019\ActivationWizard.exe" Deactivate
"setup.exe" AI_INSTALL_MODE=Remove REMOVE=ALL /quiet
In addition, BarTender 2019 and later features a silent uninstall command using your installed version of BarTender's GUID. This can be useful if you no longer have access to the original installer. To find your GUID, follow these steps:
- Open Regedit.
- Navigate to HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\BarTender 11.1\
- There should be an UninstallString with a value like "msiexec.exe /I{3DC0C21C-3C45-46DF-97EF-3F2878BBA231}"
- Using the GUID portion of that UninstallString, you can then construct your silent install command line like the following "msiexec.exe /qn /X{3DC0C21C-3C45-46DF-97EF-3F2878BBA231}"
Here is an example, combined with the deactivation command:
"C:\Program Files\Seagull\BarTender 2019\ActivationWizard.exe" Deactivate
msiexec.exe /qn /X{3DC0C21C-3C45-46DF-97EF-3F2878BBA231}
GUID used in the second option may change. Please see the bug's notes on how to find the proper GUID.
BarTender 2021 and later
With the release of BarTender 2021 R1 there is no longer a need to include the additional deactivation script ahead of the silent uninstall command. Instead, you can add the /DEACTIVATE parameter to the uninstall command if you wish to deactivate BarTender as well as uninstall it.
Here is an example:
"setup.exe" AI_INSTALL_MODE=Remove REMOVE=ALL /quiet /DEACTIVATE