I've searched the help text and the forums and haven't found an answer for this problem. If I've missed something obvious, feel free to hit me over the head with it!
I have created two searches that look for values in the registry, let's call them SEARCH1 and SEARCH2. SEARCH1 will always return a result; SEARCH2 may or may not.
I need to create a registry key that includes a parameter as one of the nodes in the key. I know how to do this in the Registry window using something like this:
ABC/[MY_VALUE]/Application/...
The challenge I have is the logic for setting MY_VALUE. If SEARCH2 returns a value, I want to set MY_VALUE to the result of SEARCH2; otherwise, I want to set MY_VALUE to the result of SEARCH1.
Is there a way to accomplish this in AI that I haven't found yet?
As a fallback, I think I can create two separate reg keys in the registry window using the User Guide article about 32-bit/64-bit reg entries (http://www.advancedinstaller.com/user-g ... istry.html). However, it seems much cleaner to be able to set a property to either of two values.
Thanks.