kissack
Posts: 57
Joined: Fri Feb 04, 2011 11:45 am

Multiple Instance Windows does not offer installing new instance

Hello,
here I am (again) regarding the multiple instances functionality. I must also admit that we are on a quite old version of AI (16.0)
On the Multiple instances within the AI project we have "Build major upgrades for multiple instances" checked and defined 5 static instances allowing us to install up to 6 (correct me if I am wrong) instances of our software on one server.

Recently customer had two instances (test and productive) of our software installed on their server. Customer support tried to upgrade the test instance, but the installation failed (removal of windows service failed), so the support colleague, removed the service manually after the failed installation. When they tried to run the new version of the setup, only the productive instance is shown and it is offered to maintain or upgrade it, but the Install New instance option is not shown. Customers really need to install latest version of test instance before upgrading the productive one.
What could be causing that the Multiple Instances dialog does not show this option anymore?
I tried to replicate on different machine, but unfortunately cannot replicate the issue, everything works as expected.
Will appreciate any hint that could get us out of this situation
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: Multiple Instance Windows does not offer installing new instance

Hello,
so the support colleague, removed the service manually after the failed installation.
Did your colleague also uninstall the setup after removing the service? Perhaps the main setup still sees the instance as being installed and that's why the instance does not appear in the dialog.

If that is the case, you could perhaps try to generate a new ProductCode for the instance and see if that helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kissack
Posts: 57
Joined: Fri Feb 04, 2011 11:45 am

Re: Multiple Instance Windows does not offer installing new instance

Hello,

the instance seemed to be removed, because it was not appearing in Add/Remove programs.

Our setup allows installing up to 5 instances, so even if one was not removed properly, the installer should have offered adding additional instance.

The goal was to at least restore the test instance. The way we got around it was to execute the setup of the same version that was installed and there the add new instance was available.

On other machine, the scenario functioned between the old and new. Luckily the customer agreed to have two separate environments for test and production, so we got out of this pickle, however....

Could you please provide what logic is behind showing or not showing the add additional instance ? Some registry value ?

Thank you.
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: Multiple Instance Windows does not offer installing new instance

Hello,

Thank you for your followup on this!

I am glad to hear everything is working as expected now.
Could you please provide what logic is behind showing or not showing the add additional instance ? Some registry value ?
The instance is searched by the ProductCode to see whether it is installed or not.

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”