Page 1 of 1

Problems uninstalling msiexec installed setup

Posted: Tue Mar 23, 2021 6:41 am
by anja_laenge
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.

Re: Problems uninstalling msiexec installed setup

Posted: Tue Mar 23, 2021 12:10 pm
by FrancescoT
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.

Re: Problems uninstalling msiexec installed setup

Posted: Wed Mar 24, 2021 3:06 am
by anja_laenge
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