/build/static/layout/Breadcrumb_cap_w.png

Software Deployment Question


How to silent uninstall an uninstall.exe which does not have a silent parameter?

06/22/2020 832 views

How to silent uninstall an uninstall.exe which does not have a silent parameter (for example from the Software Maxon Cinema 4D which comes with Adobe After Effects) ?


1 Comment   [ + ] Show comment

Comments

  • Uninstallation of legacy stuff have always been a bit of a problem.
    Checkout the link below for some tips.
    https://stackoverflow.com/questions/10932400/uninstall-exe-program-in-through-cmd
    Most often you can find traces of the installation in the registry under:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
    Very often the developers have been nice and will list the correct uninstall procedure for the users (and gives you a nice uninstall button in the control panel.)
    Other times they only gives you a "hint" of how to uninstall the app.
    Some installers leaves a uninstall.exe and a install.log file in the application directory on the drive.
    Example: "C:\PROGRA~2\Qmuzik32\UNWISE.EXE C:\PROGRA~2\Qmuzik32\INSTALL.LOG" (Created by Wise packaging software)

    Other times: Go to the File Path, look for a .exe which you need to uninstall. In command prompt open the path of .exe located and execute "xxxx.exe --uninstall"

    Often you if you're lucky the developer was kind enough to implement the installer as a .msi package.
    You could point to the appropriate msi-file source and use this to uninstall the application.
    msiexec.exe /x \\<mydeploymentserver>\<deploymentsourceshare>\MyInstalledAppSource\myApplication.msi /qn
    Other times there will be traces of the uninstall procedure in registry:
    Here is a sample Uninstall key in registry for Python 3.8.xxx, theres no source files, but theres a productid that can be used to uninstall the product :

    MsiExec.exe /I{13E05234-E037-4C96-BF0C-585FD0A8E2B0}

    What i would do in this case is just replacing the entry with
    MsiExec.exe /x{13E05234-E037-4C96-BF0C-585FD0A8E2B0} /qn
    (have been doing this with uninstallation of x-versions of Java runtimes.)

    Just find the product key in registry for the App and try some of these tips.
    in the link at stackoverflow.

All Answers

4

Either a) create an uninstall package by capturing the uninstall, or b) realise that, at the end of the day, applications are just a bunch of files and registry entries so,if you know the application's "footprint", a simple CMD full of 'del [file_x]', 'rd [folder_y]' and 'reg delete [whatever]' lines will do the job.

Answered 06/23/2020 by: VBScab
Red Belt

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ