Multiple instances, upgrades and custom InstanceIds - Advanced Installer Community
Meisenmann
Posts: 2
Joined: Tue Jun 12, 2018 4:03 pm

Multiple instances, upgrades and custom InstanceIds

Hey there,
I am struggling a bit understanding the MultipleInstances-functionality.
Basically what I am trying is to have multiple instances of our product installed on a single server. Each instance should upgradeable.
Using the preconfigured Instances with "Build major upgrades for multiple instances" checked on the MultipleInstances page has covered this.

The problem I am facing now is to have these InstanceIds customized or similar.
Our customers are expecting to install each instance with a custom name so the [ProductName] will basically be appended by a string.
i.e.: "Product" -> "Product US", "Product EU", "Product Shanghai" ..

If I understand correctly when generating new instances their ids are kind of fixed. A workaround would be to use another custom property to be appended to the strings i want to. But this would still require to keep track of the InstanceIds and what custom name they are using.

Previously when using "Generate instances at installation time" we were able to just give the new instance name X and we were fine.
Am I correct that the InstanceIds have to be fixed in order to maintain the upgradeability? If so is there a workaround for this? (Especially using the CLI)

Thanks in advance,
Jonas
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Multiple instances, upgrades and custom InstanceIds

Hello Jonas,

First of all, I apologize for the delayed reply, but we were quite busy lately.

In what regards the customization of your InstanceIds, you can try using the "Choose custom name for the instance" option from the "MultipleInstancesDlg" dialog ("Pre-install UI").
Capture.PNG
Capture.PNG (1.48 KiB) Viewed 2079 times
Hope this helps.

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

Return to “Common Problems”