Is it possible to search the registry in multiple places for a value?
I want to get the value from key X, but if it’s not there, I want to get it from key Y.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can author a number of RegistrySearch elements under a single Property element. Remember that if a number of keys/values are found, the last will end up as a property values. So, you should probably start with the key/value which will most likely exist, and add those which might not underneath. Play with it before putting into production 🙂