Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wix RegistrySearch on multiple places

Tags:

wix

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.

like image 453
Kristoffer Lindvall Avatar asked Nov 02 '11 11:11

Kristoffer Lindvall


1 Answers

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 :-)

like image 162
Yan Sklyarenko Avatar answered Oct 20 '22 15:10

Yan Sklyarenko