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!

MartinS
Posts: 3
Joined: Tue May 19, 2015 3:34 pm

Costum Search

Hello,

I have a problem with installing a project.

I will install a project and a different application. For the other application I use the Search Registry to check that it is installed.
This is needed at the ending of my installation but i don´t know how i should do this.

Thanks in advance!
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Costum Search

Hi and welcome to our forums.

I'm afraid I don't fully understand what is your scenario. Can you give us more details (maybe exemplify)? The properties set by the registry search can be used almost everywhere during the installation.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MartinS
Posts: 3
Joined: Tue May 19, 2015 3:34 pm

Re: Costum Search

Hi,

sorry I will try to explain it in greater detail

Befor I will install my application it must install two other applications.
One of them has something to do with database and has a registry entry.

At the end of my install I need the directory of the last application, that is saved in the registry,
a file is to copy in that directory.

I have try with the Search.
When it is installed befor it is ok but when the application is installed with mine the search result say's nothing.

Currently I have a Mesasgebox(at the Finish Dialogs Stage) that the result of the search presents.

Best regards
Martin
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Costum Search

Hi Martin,

Indeed, if the other application is installed as a "pre-install" prerequisite, its installation will take place before the searches are performed and the path from the registry will be found.

However, if the other application is installed as a "feature-based" of "post-install" prerequisite, its installation is done after the searches are performed and that is why the path from the registry is not found. In this case you can create a simple custom action that searches the registry entry and put the result in a property, then place that custom action after the "Install Execution Stage -> Searches" action group.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MartinS
Posts: 3
Joined: Tue May 19, 2015 3:34 pm

Re: Costum Search

Thanks Eusebiu, this helped me.

Best regards,
Martin
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Costum Search

You're welcome Martin. I'm glad I could help.

Just let us know anytime you have a question.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”