Hello, In my installer i want to check if a regkey exists if so assign the value to a property and if the first regkey doesnt exist i need to verify an alternate second regkey and assign the value to the property. I currently i use the following snippet to search the registry to get the value from my first regkey <Property Id="INSTALLDIR" Value="0"><RegistrySearch Id="SERVER_INSTALLDIR_REGSEARCH" Root="HKLM" Key="SOFTWARE\Microsoft\commsvr\v1\Setup" Name="MsiInstallPath" Type="raw" Win64="$(env.TARGET_WIN64)" /></Property> How do i check if the above regkey is not present and look in the alternate regkey "HKLM\SOFTWARE\Microsoft\commsvr\Setup\MsiInstallPath" and assign the value to property "INSTALLDIR" would be really thankful if somebody could tell me how i can accomplish this. thank youKiran Nallabothula.
Keep your kids safer online with Windows Live Family Safety. Help protect your kids. _________________________________________________________________ Use video conversation to talk face-to-face with Windows Live Messenger. http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_072008 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users