Multiple Instances - 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!

GlennWilson
Posts: 33
Joined: Wed Sep 01, 2010 2:22 pm

Multiple Instances

Hi,

I need to be able to install mulitple isntances of my application onto the same machine from a single installer. Therefore, I have created a dozen instances in the Multiple Instances tab, and created the single installer. The first time I run the installer, the application installs as expected. However, when I run the installer a second time, the original installation is overwritten by the new instance. During the installation of the second instance, I am promoted whether I want to create a new instance or update an existing instance. I choose to install a new one and run the installer to completion. I don't understand what I am doing wrong.

Have I misunderstood how this is suppose to work? I thought I could install multiple instances of the same application using the same installer by using the Multiple Instances feature in AI.

Cheers,

Glenn
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Multiple Instances

Hi Glenn,

I'm not sure why you are encountering this behavior. Can you please send us the .AIP (project) file you are using to support at advancedinstaller dot com so we can investigate it?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
GlennWilson
Posts: 33
Joined: Wed Sep 01, 2010 2:22 pm

Re: Multiple Instances

Hi Cosmin,

Although I have sent you the AIP file, I think I have worked out how to solve the problem. In Custom Actions, I had a RemoveExistingProducts standard action with a value of AI_UPGRADE<>"No". I removed this value from the action, which appeared to fix the issue. I am not sure exactly why that action was added in the first instance. But nothing else seems to be broken.

Regards,

Glenn
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Multiple Instances

Hi Glenn,

That condition is used when supporting side by side installations in Upgrades page.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
PDurand
Posts: 3
Joined: Thu Dec 01, 2011 11:08 pm

Re: Multiple Instances

I'd like to know how this was accomplished in the first place.

We also need to get the Multiple Installs from one MSI. We do not want Repair/Modify/Remove. Just keep installing new ones of the same version, X number of times.

Is this not possible?

NOTE: Figured it out using Multiple Instances. My Bad!

Return to “Common Problems”