When my users install for "Everybody" and then uninstall using the Control Panel>Programs and Folders, then everything works fine.
But when they install "Only for me" and then try to uninstall as above, they immediately get a dialog that "An error occurred while trying to uninstall MyApplication. It may have already been uninstalled. Would you like to remove MyApplication from the Programs and Folders list?" Answering yes predictably removes the application from the list but doesn't uninstall the application. Again, this only happens for "Only for me" installations. Win7 but I think at least for Vista too.
What could be causing this?
Notably, running MyInstaller.exe and choosing "Remove" from MaintenanceTypeDlg will always uninstall the program (i.e., for "Everybody" and "Only for me" installations). Does that suggest perhaps a registry problem? Where should I look?
Does (or can) a failed uninstall leave a log somewhere that points to the reason that it failed?
Thanks.
FOLLOW US
Get the latest news in Application Packaging