Side by side installs fails to remove existing install? - 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!

mctozzy
Posts: 81
Joined: Wed Feb 14, 2007 7:37 am

Side by side installs fails to remove existing install?

AI 6.5.1:

Something puzzling me about side by side mode... I set up a project for side by side. I did not include the UpgradeDlg, as the whole idea is that I wanted the user to always explicitly uninstall an older version. But, I had expected that if the user entered a target directory that is the same as an earlier installation, that in that particular case it would have removed the older installation first. This was based on this text from the on-line help:

<<If the installation folder selected by the user is the same folder used for the installation of an older version then that version will be removed. The user can choose a previously used install location from the drop-down list in the "Select Location" dialog, forcing an upgrade.>>

But this didn't work as expected! When I selected the previous folder, it just overwrote what was there. I tested this with two almost identical package versions...the only thing that differed was the package version and the product code.

Have I missed something?

Thanks...
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Side by side installs fails to remove existing install?

Hi,
I had expected that if the user entered a target directory that is the same as an earlier installation, that in that particular case it would have removed the older installation first.
Yes, this is the normal behavior when using side by side installations. However, please note that this type of installations require some specific steps to be followed when creating a new version of the package. If these steps are not followed, the side by side installation may not work correctly.
I tested this with two almost identical package versions...the only thing that differed was the package version and the product code.
I am unable to reproduce this behavior on my test machine. Can you please send us the project of these two package or the actual MSI packages to support at advancedinstaller dot com so we can investigate them?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mctozzy
Posts: 81
Joined: Wed Feb 14, 2007 7:37 am

Re: Side by side installs fails to remove existing install?

Arghh...I created a completely simple example with a single file and that worked perfectly... I need to try it again with my real project...

Return to “Common Problems”