Previous version uninstallation problem - 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!

aulyan
Posts: 9
Joined: Thu Jun 14, 2012 11:34 am

Previous version uninstallation problem

Hello AdvancedInstaller team,

I am using:
Advanced Installer 9.1.1
Project Type: 32 bit
Package Type: Single EXE

Problem:
This is all about small and minor upgrades. When a new version of installer is launched the old one gets deleted completely. This happens before first custom action. For example:
I have 1.0.1 installed and I am launching 1.0.2. While 1.0.2 initializes setup, 1.0.1 gets completely uninstalled. If user cancels installation at this point he stays with nothing.

I have already tried to set Upgrade Order option to "Install new version first and then uninstall old version.". But it seems to have no affect on small and minor upgrades.
How can I customize this behavior? The perfect solution would be to uninstall the old version during first steps of the new installation (after user confirmed everything).

Thanks in advance,
Artem.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Previous version uninstallation problem

Hello Artem,

I've tested your scenario, but I cannot reproduce the behavior. Can you please send us the .AIPs (project files) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

Please keep in mind that when upgrading the old version of your product is removed during "RemoveExistingProducts" standard action. This happens after [Install] button, from "VerifyReadyDlg" dialog, is clicked. Also, please make sure that you don't have a custom action which will remove the old version of your product during upgrade when setup initializes.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”