Hi All,
Having a problem that I've not encountered before. I have a basic MSI being built, installs fine.
When I uninstall the product via the Control Panel, one set of components are not removed. When I launch the exe and select remove, everything is removed.
I've looked at the uninstall key in the registry and I notice it does show the UninstalString as msiexec /I{productcode}, but even changing that to /X doesn't make the ARP behavior match the exe Remove behavior.
Has anyone seen this before? What might be going on?
Thanks,
Brian
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Uninstall behavior differs between exe and ARP
Started by
BFealy
, May 25 2011 14:17
4 replies to this topic
Posted 25 May 2011 - 14:27
Just to add clarification I realized I forgot... the components being left behind are in a couple of features, none are marked permanent.
Posted 25 May 2011 - 16:28
I would first try to run the uninstall on a clean virtual machine. There could be issues with the SharedDLL counter in the registry that tends to occur on developer machines.
Regards
-Stein Åsmul
-Stein Åsmul
Posted 25 May 2011 - 22:20
Thanks for the tip. Unfortunately, the bad behavior has been verified on clean systems in our environment. (including a fresh VM image)
It doesn't seem to make sense to me, but it's what we're seeing.
It doesn't seem to make sense to me, but it's what we're seeing.
Posted 27 May 2011 - 14:30
Please generate a log to see what's going on.
From ARP are you clicking the "Uninstall" in ARP, or are you launching into maintenance mode and then select "remove" on the MaintenanceType dialog? In the first case the UI sequence will be skipped, in the latter casae the UI sequence is processed.
When launching from the exe, have you tried /qb to skip the UI sequence? Does uninstall still work?
Maybe you are setting some directory or require some custom action in the UI sequence which is not executed in basic UI mode.
The other reason could be permissions (when is the UAC dialog displayed).
From ARP are you clicking the "Uninstall" in ARP, or are you launching into maintenance mode and then select "remove" on the MaintenanceType dialog? In the first case the UI sequence will be skipped, in the latter casae the UI sequence is processed.
When launching from the exe, have you tried /qb to skip the UI sequence? Does uninstall still work?
Maybe you are setting some directory or require some custom action in the UI sequence which is not executed in basic UI mode.
The other reason could be permissions (when is the UAC dialog displayed).
Stefan Krüger
InstallSite.org twitter facebook