Update Installations with Different Application Names - Advanced Installer Community
sbuehrle
Posts: 3
Joined: Tue Apr 08, 2014 2:03 pm

Update Installations with Different Application Names

Hi,

I need to update our installer update process so that the upgrade is seemless to our users. Our application name changed though so our directory structure and registry entries will be different. How do I make this happen so that the directory name and registry entries change without forcing the user to manually uninstall and reinstall?

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

Re: Update Installations with Different Application Names

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

In order to achieve what you want you need to create your updates setup as a major upgrade. Just go to "Upgrades" page, increase the "Product Version" and choose to create a major upgrade. Also, please uncheck the "Use original installation path when upgrading" option so that your upgrade package installs in its new installation directory.

You can also take a look on our "Upgrade an older version of the package" article which should be useful for you.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sbuehrle
Posts: 3
Joined: Tue Apr 08, 2014 2:03 pm

Re: Update Installations with Different Application Names

This installs a new version as expected. However, it does remove the old install, directories, or registry settings. Do I need to include a script to do this?
sbuehrle
Posts: 3
Joined: Tue Apr 08, 2014 2:03 pm

Re: Update Installations with Different Application Names

I think I know what needs to be done. However, I am not sure where to add this as the post-build event will not help during the installation...
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Update Installations with Different Application Names

Hello,
This installs a new version as expected. However, it does remove the old install, directories, or registry settings. Do I need to include a script to do this?
I'm afraid I don't fully understand what you mean. Can you please give us more details about your scenario? Do you mean that the new version of your product is installed, but the old installation resources (folders, files, registries) are not removed after the upgrade installation?

If you need to run a custom action in order to remove the older product installation, then you can add it in "Custom Actions" page after the "Install Execution Stage -> Preparing" actions group.

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

Return to “Common Problems”