Upgrading All Instances Only Upgrades First Instance - 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!

gregmb
Posts: 2
Joined: Thu Nov 03, 2011 8:27 pm

Upgrading All Instances Only Upgrades First Instance

My goal is to create an installer that utilizes Advanced Updater to silently upgrade multiple instances of my product on a server. All instances should be upgraded to the same version.

Before setting up the Advanced Updater part, I created a test installation package with multiple instances
1. On Upgrades > Application Versions, I selected Automatically Upgrade older product versions
2. On Upgrades > Application Versions, I checked the "Use original installation path when upgrading"
3. Using Media and Install Parameters, I created 2 builds (which use/create the bootstrapper), one with the full UI and one with "Limit to basic user interface (simple progress and error handling)" checked. The full UI one I plan to use to do the initial installation, and the silent one to upgrade the instances.
4. On the Media > Multiple Instances tab, I created 5 instances for each build. I then modified the instance product codes of the limited/silent UI build to be the same as the Full UI build.
5. Testing the package now, I installed 3 instances using the Full UI on my Windows Server 2003. Each instance I installed in a different place:
Test Update Application: C:\data\Update Test
Test Update Application #1: C:\data\Update Test1
Test Update Application #2: C:\data\Update Test2
6. I then changed the content of the test file I was installing, increased the version number (1.0.14 > 1.0.15), and rebuilt the installer
7. I then ran the silent/limited build of the upgraded installer on my server
8. I was prompted with:

Image

9. I selected (or left selected) "Upgrade all installed instances" and clicked OK
10. After running the upgrade, C:\data\Update Test1 and C:\data\Update Test2 had been deleted and only C:\data\Update Test had the updated content

I had expected the upgrade to run for each of the instance app directories leaving me with updated content in C:\data\Update Test, C:\data\Update Test1, and C:\data\Update Test2. Did I configure something incorrectly or is my expectation faulty?

I am running Advanced Installer 8.1.3

Thanks,

Greg
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Upgrading All Instances Only Upgrades First Instance

Hi Greg and welcome to Advanced Installer forums,

This is actually the intended behavior. Only the main instance gets updated during a upgrade and all the previous version's instances are deleted.

In 8.1.3 that dialog was a bit misleading, but our development improved it in a more recent version. You can upgrade to 8.6 and see the difference.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
gregmb
Posts: 2
Joined: Thu Nov 03, 2011 8:27 pm

Re: Upgrading All Instances Only Upgrades First Instance

Thanks Mihai. I will do that.

Return to “Common Problems”