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!

p35t173nc3
Posts: 33
Joined: Wed Apr 02, 2008 1:20 pm

Multiple Instances

Hi there.
I wrote to you guys beginning of last year with this query ( http://www.advancedinstaller.com/forums ... &sk=t&sd=a ), the answer was no, but last night I stumbled apon http://msdn.microsoft.com/en-us/library ... S.85).aspx which details installing multiple instances of the same product using the same package with transforms. I would like to know if it is possible to do this with an installer built using Advanced Installer. (Pretty please let it be so!) If so, do you have any idea where I can read up on how to go about it?

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

Re: Multiple Instances

Hi,
I would like to know if it is possible to do this with an installer built using Advanced Installer.
Yes, this can be done with a MSI generated by Advanced Installer.
If so, do you have any idea where I can read up on how to go about it?
The mechanism is explained in the articles you found:
Installing Multiple Instances of Products and Patches
Authoring Multiple Instances with Instance Transforms
Installing Multiple Instances with Instance Transforms

Please note that there are some major limitations:
- the install locations cannot be common between the instances
- the MSI needs to be modified manually
- the MST transforms need to be created manually
- installing a new instance requires a custom command line and access to the MST file

We too have found these articles and we added on our TODO list a feature which will allow multiple instances. This feature will be available in a future version of Advanced Installer.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
p35t173nc3
Posts: 33
Joined: Wed Apr 02, 2008 1:20 pm

Re: Multiple Instances

Thank you Cosmin, I feel much happier now. Esp. since you say you will be implementing this in the future. In the meantime however, I can probably get the functionality to work by using an installer (or small custom application) to bootstrap the primary package msi with the "instance" parameters required. I was hoping you could point me in the right direction to create a transform, but no worries I am sure I will find help on google. As for installing to separate paths, this is in fact a desired restriction since I need each instance to be individually upgradeable. WOOT! I am feeling considerably more excited about this now. (sad I know, but heck thats us developers)

Thanks again...
:D
p35t173nc3
Posts: 33
Joined: Wed Apr 02, 2008 1:20 pm

Re: Multiple Instances

Hello Cosmin, sorry to ressurect this thread... I happily see that you have implemented this feature; My only problem now is that of naming the instances at runtime; i.e. letting the user name the instance. What would be the best way to go about this?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Multiple Instances

Hi,

I'm afraid that this is not supported by the multiple instances feature. However, we will consider adding this improvement in a future version. Thank you for your suggestion.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”