Multiple Install paths - 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!

ruaanj
Posts: 2
Joined: Fri Dec 14, 2012 3:06 am

Multiple Install paths

Hey

I am using advanced installer to install files to a third party product.
I get the path of the product via the registry with a search and set the folder location for the files.

However in the latest version of the 3rd party product you can install the product multiple times on the same machine.
So I need to loop through some registry values and get all the install paths where the 3rd party product is installed and install my files to each of these locations.

Is it possible to do this or even display all these paths to the user and let him select 1 or all of the paths where my files must be installed?

Thanks
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Multiple Install paths

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

In order to achieve this you can add multiple registry searches on our "Search" page. Then, you can use its associated property to display the found paths and to conditionally install files.

Also, you can take a look on our "Search for local file locations, and populate combobox" article which may be helpful for you.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ruaanj
Posts: 2
Joined: Fri Dec 14, 2012 3:06 am

Re: Multiple Install paths

Thanks for the quick reply.

But again I don't think searches will work.
The client machine can have unlimited instances of the 3rd party product installed.
The only way to know how many will be looping through the registry and saving each path (Unknown number of paths).
Then installing my files to each of these paths.
Hope this is a better explanation of what is required.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Multiple Install paths

Hello,

I'm afraid we don't have support for this. However, in order to achieve this you can create your own custom action which will search through registry the related install paths and then will copy the desired files. The custom action should be scheduled after "Install Execution Stage -> Add Resources" action group and should run as deferred with no impersonation.

You can take a look on "Search for registry key in all of the subkeys of a path" article which may be helpful for you.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”