Problems uninstalling msiexec installed setup

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

Problems uninstalling msiexec installed setup

Post 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.
Attachments
screen.png
screen.png (47.86 KiB) Viewed 4618 times
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Problems uninstalling msiexec installed setup

Post 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:
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: 131
Joined: Tue Nov 20, 2012 1:02 am

Re: Problems uninstalling msiexec installed setup

Post by anja_laenge »

Hello Francesco,
FrancescoT wrote: To workaround the issue, you may follow the approach described here:
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
Post Reply