Back of application old version - Advanced Installer Community
vasu0020
Posts: 22
Joined: Wed Aug 27, 2014 9:55 am

Back of application old version

Hi Advanced Installer Team,

we have a requirement of take back up of application and restore it if installation is unsuccessful while installer up-gradation process it has to rollback to the previous version.

Thanks
Vasu
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Back of application old version

Hello Vasu,

To achieve what you want you can use an "Install new version first and then uninstall old version" upgrade order in "Upgrades" page. Please note that when using this upgrade order you should make sure the files components don't change from the old version to the new one (their names and GUIDs remain the same).

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vasu0020
Posts: 22
Joined: Wed Aug 27, 2014 9:55 am

Re: Back of application old version

Hi Daniel,

Thanks for you response.

i have tried both of the options and it is removing files before installation. if you provide any sample project that will be helpful.

Please find the below image for your reference of my upgrades configuration,
Upgrade.png
Upgrade.png (19.08 KiB) Viewed 3085 times
below error i am getting while trying to add upgrades.
Upgrade1.png
Upgrade1.png (38.58 KiB) Viewed 3081 times
Thanks
Srinu
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Back of application old version

Hello Srinu,

There is no need to add your UpgradeCode in "Upgrades" page. Just create your first application setup project (i.e. v1) and enable the "Install new version first and then uninstall old version" upgrade option in "Upgrades" page. Then, create the new application setup project having the same option enabled in "Upgrades" page and make sure the files components don't change from the old setup project to the new one (their names and GUIDs remain the same).

If this is still not working on your side, then please send us the AIPs (project files) of the old and new product version to support at advancedinstaller dot com so we can investigate their settings. Also, please do forward us more details about your installation scenario.

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

Return to “Common Problems”