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!

mikecly
Posts: 1
Joined: Thu May 12, 2016 6:32 pm

Can I carry on with installation if uninstall of old version fails?

I've chosen to automatically uninstall an old version first before installing a new version.

However, my old installer wasn't great and ends with a failure message.

This failure message causes the installation of the new version to also fail.

I'd like the new version installation to carry on regardless. Is it possible to do this?

Hope you can help...
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Can I carry on with installation if uninstall of old version fails?

Hello and welcome to Advanced Installer forums,

An upgrade installation consists in two parts:
  • the uninstall of the old product version
  • the installation of the new product version
Since the uninstall of the old version fails, then you will not be able to perform the upgraded. In this case, you can change the UpgradeCode so that the upgraded version will not trigger the uninstall of the old version.

You can try to uninstall the old version using a custom action (e.g. delete application resources and ControlPanel entry etc.)

Also, please take a look on the How do I remove a broken installation? article which may be useful to you.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”