Our products require Oracle. The default Oracle Home on the target machine needs to be determined in order to configure the product. This value is stored in the registry but unfortunately it is not easy to retrieve due to the convoluted way Oracle configures multiple homes.
Basically the procedure is to first retrieve the value of \HKLM\Software\ORACLE\ALL_HOMES\DEFAULT_HOME. After this, each subkey of ALL_HOMES must be traversed. The value of DEFAULT_HOME is compared to each subkey's NAME key value data. If DEFAULT_HOME = NAME then NAME is the default home, otherwise move to the next subkey. The no-brainer pattern for this type of search is obviously a loop, but I don't think this can be translated into a WiX equivalent. The problem is that there may be a variable number of subkeys that may be present, and any one of them could contain the needed value. So I don't know how this could be accomplished with a RegistrySearch. Any way to accomplish this, or am I looking at a custom action? Thanks -- View this message in context: http://n2.nabble.com/Looping-through-registry-keys-tp2505276p2505276.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users