I have searched the help documents as well as the how to's and can't find exactly what I am looking for.
I am trying to build a package that will install specific sets of files/folders to a specific location on the target based on the existence of a specifc version already on the target. This would be similar to a patch, however I am not patching my own application rather adding files to a third party application already installed.
For example on the target there could be 1 or more versions of a third party application side by side.
If the target machine has version 1 installed, I want to install a group of folders/files called version 1 update to directory 1
If the target machine has version 2 installed, I want to install a group of folders/files called version 2 update to directory 2
If the target machine has version 3 installed, I want to install a group of folders/files called version 3 update to directory 3
and so on.
Also, if there exists multiple versions side by side on the target, I want the installer to prompt which version to update.
For example a dialog to the user that says something like "Setup has detected version 1 and version 2 on your computer. Which version do you wish to update?"
Ideally this would allow the user to select 1 or more versions to install/update at that time, or at least allow for the installer to run a second time to install/update additional versions.
On the target, there will be a different registry entry for each version that exists with a directory location of that version. The installer will update and install the files/folders to the directory returned by the registry search.
I know how to do the registry search and test the result, but beyond that I dont know how to add the logic to add version specific files. I think I need multiple builds as well, but I cant understand how to link a build to an existing version and allow the user to select which version to install if multiple versions exist.
I should also note that the files/folders I want to install are not the same and have entirely differnt directory structures depending on the version already installed.
By the way, I have created separate .msi installers for each version, but rather than managing 3 installers, I would like to package one installer that can install any or all version updates.
One last thing to note, there will be at least 1 file that would be installed to the same place regardless of the version that is select. e.g. a user manual placed in the "My Documents" folder and Shortcut on the Desktop and the Program Group in the start menu. There shouldnt be any conflict when installing multiple version updates if these shared files and shortcuts exist.
Is an install scenario like this already addressed in the forum, help documents, or elsewhere?
If not can some one please help me understand how to accomplish this?
I am using the Pro version of Advanced Installer.
Thank you.
FOLLOW US
Get the latest news in Application Packaging