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!

ucramos
Posts: 16
Joined: Wed Jan 15, 2014 9:57 pm

Problem with "install new version first and then uninstall"

I have a installer set to web installer with a cab per feature. The installer does not have any selection tree. All the features election is done by checklists or radio button groups. The features might be updated with different files, deleted or added new features.

The installer is working fine but, as it has about 1.5gb, i was trying to use the "install new version first and then uninstall old version" install option so that the installation process doesnt have to uninstall all the selected features and then reinstall all from scratch, as every new version only 2 or 3 of the about 50 features are updated/changed. I want to "save" on download time, bandwith and installation time.

I have enabled a verbose log on the installer.

When i try to upgrade with a build made with this option, i have a rollback on the installation and all is deleted.
The log has 66MB and 162000 lines in it so i´m going crazy trying to find an error.
What keywords should i be searching? i tried "error", "error code" but i haven´t found anything relevant.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Problem with "install new version first and then uninsta

Hello,

You can search in your log file for any action which writes a "value 3" return value. Please take a look on the "Logging of Action Return Values" article.

Also, please note that when using the "Install new version first and then uninstall old version" upgrade order you should make sure that the files' components don't change from the old version to the new one (their names and GUIDs remain the same). Otherwise you need to use the "Uninstall old version first and then install new version" upgrade order.

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

Return to “Building Installers”