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.
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.
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.
FOLLOW US
Get the latest news in Application Packaging