Problems uninstalling msiexec installed setup

Got a problem you cannot solve? Try here.
anja_laenge
Posts: 114
Joined: Tue Nov 20, 2012 1:02 am

Problems uninstalling msiexec installed setup

Postby anja_laenge » Tue Mar 23, 2021 6:41 am

Hi,

I've created a setup that can take several arguments and edits a deployed config,. all working fine.

When installing via msiexec I have trouble uninstalling it via ControlPanel:
it leaves an item in the list of installed programs with an empty icon and no target (see attachment)

What is necessary to also remove this?

kind regards
Anja

EDIT: This happens only when using ControlPanel, using commandline

Code: Select all

msiexec /qn /x [...]\Single\DAC.msi

this dows not happen and everything is removed.
Attachments
screen.png
screen.png (47.86 KiB) Viewed 1598 times

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Problems uninstalling msiexec installed setup

Postby FrancescoT » Tue Mar 23, 2021 12:10 pm

This is a well known windows bug ...that occasionally, it doesn't delete the entry once completed an uninstall.

In other words, You receive such message because the product has been already removed, but the system leaved an orphan entry in the application list.

In fact, If you try to "Remove the previous App" from "Add Remove Program" (Control Panel), the OS will report you that the was already removed ...and it will ask you if you want to delete the orphan entry.

To workaround the issue, you may follow the approach described here:
https://www.installaware.com/forums/viewtopic.php?f=2&t=10258&p=38753

Hope this helps you.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

anja_laenge
Posts: 114
Joined: Tue Nov 20, 2012 1:02 am

Re: Problems uninstalling msiexec installed setup

Postby anja_laenge » Wed Mar 24, 2021 3:06 am

Hello Francesco,

FrancescoT wrote:To workaround the issue, you may follow the approach described here:
https://www.installaware.com/forums/viewtopic.php?f=2&t=10258&p=38753


interesting ;) What I do not understand: shouldn't this be part of an unionstall process? Also, my problem only occurs when using the control panel...

I remember a problem I had a while ago, when deleting entries under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ did not solve it, but deleting an entry under
HU\<mySID>\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\<productcode>
which had an UninstallString to <appdatalocal>\<revisioncode>\<setup.exe>
and, sometimes an entry under MimarSinan remains.

kind regards
Anja


Return to “Technical Support”

Who is online

Users browsing this forum: Google [Bot] and 58 guests