Hello!
I need to implement a bit tricky ability for installation of multiple instances.
I have a "core" installer that installs/configures Web Applications and Windows services. Additional installer will add few more Web Apps to "core" stuff.
Basically, it should copy sources to a specified folder from one of already installed "core" instances.
The most challengeable part is ability to create new instance of any version dynamically.
I created new project, switched "Generate instances while installation time" and built a couple of installer EXE files of different versions: 1.0.0, 2.0.0, 3.1.1, but with the same name.
First, i installed an instance of v1.0.0 called Treasury, then i run installer twice and selected "install new instance" called "New Instance" and "New Instance 1":
Next, i run the installer v3.1.1. but in this case I have no option to create new instance for this version, only upgrade of existing v1.0.0:
I upgraded "New Instance" and then run an installer v2.0.0. Again, i do not see an option for creating new instance for v2.0.0, only uprrade of existing v1.0.0 and v3.1.1:
I upgraded "New Instance 1" v1.0.0 to v2.0.0 and once i run the installer of v2.0.0 again, i see an option for adding new instance, but when i choose it - i see a message in dialog saying that "A more recent version of Treasury already installed on this computer".
I noticed that in order to have an ability to create a new instance of let's say v3.1.1, i have to upgrade the "initial" v1.0.0 called "Treasury" to v3.1.1 and the version of new instance should be the most recent among already installed.
But it is not my case. I should be able to create a new instance for v2.0.0 when i already have v1.0.0 and v3.1.1 installed on machine.
Is there any built in functionality to achieve what i want?
I am not an expert in the Advanced Installer, maybe I need some advanced option, custom EXE bootstrapper or whatever.
Thanks in advance.