Menu

#245 Silent UnInstall does not work

1.x
open
nobody
Installer (1)
2023-03-08
2023-03-08
Rainer
No

Hi,
we used chocolatey to deploy Equalizer APO(1) to fix some spurious problems using Lenovo laptops.
Since these problems are now fixed by using Lenovo Windows images we wanted to uninstall Equalizer APO again.
This is the log output:

Uninstalling choco package equalizerapo...
Chocolatey v1.3.0
Uninstalling the following packages:
equalizerapo

equalizerapo v1.2 (forced)
 Running auto uninstaller...
 For the question below, you have 30 seconds to make a selection.
Uninstall may not be silent (could not detect). Proceed?([Y]es/[[N]o]):
 Skipping auto uninstaller - Installer type was not detected and no silent uninstall key exists.
If the application was not removed with a chocolateyUninstall.ps1,
 please remove it from Programs and Features manually.

It shows a popup and asks if we want to "Remove configurations and registry backups".

So yes, this is an automated /quiet /qn /silent uninstall and it should remove everything.

But it seems your Uninstaller does not provide that option and the automated uninstall fails. We do not operate a turnshoe network but still need to uninstall - but how then?

Thanks for looking into this!
Rainer

(1) https://community.chocolatey.org/packages/equalizerapo

Discussion

  • Peter Verbeek

    Peter Verbeek - 2023-03-08

    As the developer isn't very active on the Equalizer APO project don't expect an answer soon or even an answer to begin with. Perhaps you could look at some alternatives, for instance an AutoIt program which "says" 'Y' to the question at uninstallation.

     
  • Rainer

    Rainer - 2023-03-08

    Thanks Peter for your quick response!

    Does the author accept patches?
    Chocolatey does support AutoIt-style automations, but I hate to build work arounds for open source software if problems can be fixed at the source...

     

    Last edit: Rainer 2023-03-08
    • Peter Verbeek

      Peter Verbeek - 2023-03-08

      The author sometimes makes a few new features (as in ones per 2 years or so). I don't think that a patch will do the trick unless you're able to compile the installer yourself with your patch. This isn't impossible but difficult nonetheless.

      I agree that AutoIt automations isn't the best way to go. Fun fact I've used AutoIt to build the Peace equalizer, the most popular interface for Equalizer APO :)

       
  • Peter Verbeek

    Peter Verbeek - 2023-03-08

    Looking at the source code of Equalizer APO it seems that the (un)installer is a NullSoft Scriptable Install System (NSIS). I see a section with the question you described and a command "Configurator.exe /u" which restores the audio devices to their former state. Unfortunately this could pop up a message box if this action fails. No silence argument can be given, neither to the uninstaller question nor to the Configurator uninstallation.

     

Log in to post a comment.