nchounlapane
Posts: 34
Joined: Tue Mar 31, 2020 10:01 pm

Retrieving install parameters from prerequisite installer

I have a main installer that has post-install prerequisites. From one of the prerequisites, I would like to run "Action to be run after this package installation". The prerequisite is another Advanced Installer project. Is there a way to have the prerequisite installer to set install parameters for the main installer to be retrieved in order to use "Action to be run after this package installation" feature? There are certain settings and parameters that get set from the prerequisite that need to be retrieved in conjunction with using settings and parameters from the main installer.
Catalin
Posts: 7664
Joined: Wed Jun 13, 2018 7:49 am

Re: Retrieving install parameters from prerequisite installer

Hello,

What I'm thinking we can do here is write the parameters in the registry during the prerequisite installation and then retrieve those in a custom action in the main installer.

However, not sure how this would work since your prerequisite is scheduled to be installed after the main package?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
nchounlapane
Posts: 34
Joined: Tue Mar 31, 2020 10:01 pm

Re: Retrieving install parameters from prerequisite installer

Catalin,

Thank you for your response. We have considered the registry solution but we decided on a different approach.

Regards,
Nick
Catalin
Posts: 7664
Joined: Wed Jun 13, 2018 7:49 am

Re: Retrieving install parameters from prerequisite installer

Hello Nick,

Thank you for your followup on this!

Glad you managed to find a solution. :)

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

Return to “Common Problems”