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!

Jacmelchery
Posts: 6
Joined: Wed May 11, 2016 12:00 am

Searching Registry for Two Software for Installation Directory

Hi everyone.
This is what I am trying to do, I have Two Software A and B that I am trying to create a plugin installer for.

Ex. For Program A and B
.RegistryKey1 = Appdir
.RegistryKey2 = Username
.RegistryKey3 = Company Name

1. Do registry search to see if Program A or B is installed.
2. Use RegistryKey1 for whichever one is installed as the installer Appdir
3. Use other registry to populate the registry for the installer.

I did this just fine searching for just software A but I can't figure out how to do it for both. So the condition would be if A or B.

I would appreciate any help. Thank you guys for the great software.
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Searching Registry for Two Software for Installation Directory

Hello,

I am glad you are pleased with our software.

In what regards your question, unfortunately it is not possible for a "Search" to search for two things at once. However, you can simply create a second search for your second software. As you may have already seen, every search result is saved in a property. After performing both searches, you can use a condition as it follows:

(let's say PROP_A is the property that saves the result of the first search and PROP_B is the property that saves the result of the second search)

Code: Select all

PROP_A OR PROP_B
Please let me know if you have any other questions and I will be glad to answer them.

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

Return to “Building Installers”