Uninstall for single user fails - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

bvelke
Posts: 67
Joined: Fri Jun 10, 2011 6:36 am

Uninstall for single user fails

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.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Uninstall for single user fails

Can you please send us the verbose log generated when the problem appears, along with the .aip file and a download link for the setup package to support at advancedinstaller dot com. This should allow us to investigate the problem and see what is happening.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bvelke
Posts: 67
Joined: Fri Jun 10, 2011 6:36 am

Re: Uninstall for single user fails

Sent.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Uninstall for single user fails

Hi,

I have replicated the problem mentioned on my Win7 text machine but we cannot tell for sure what is the problem. On Vista the problem seems to not present itself.

Can you please try ticking the option "Do not delete extracted MSI and CAB files" options from Bootstrapper tab, Media page and try the package again? Maybe there is something related to EXE setup which is not available on the machine upon uninstall.

I suspect that because the uninstall works correctly when launched directly from the setup EXE.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bvelke
Posts: 67
Joined: Fri Jun 10, 2011 6:36 am

Re: Uninstall for single user fails

Per email, I did that and confirmed that the MSI and CAB were present but it did not solve the problem. You can re-download my installer to confirm on your system.

Thanks.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Uninstall for single user fails

Hi,

After multiple tests we've found the problem. This is caused by a bug in Advanced Installer, thank you for bringing it to our attention, a fix will be included in the next version.

Until then the only solution for this to work on Windows 7 is to either force the package to always installer per-machine, i.e do not give the user the option to change the install type, or disable the following options:

-- "Always" from Settings tab, Themes page
-- "Overwrite Windows Installer programs list entry" from Product Details page.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bvelke
Posts: 67
Joined: Fri Jun 10, 2011 6:36 am

Re: Uninstall for single user fails

Bogdan wrote:or disable the following options:

-- "Always" from Settings tab, Themes page
-- "Overwrite Windows Installer programs list entry" from Product Details page.
OK, that fixed it. Thanks for the workaround.

-Bob

Return to “Common Problems”