I have an installshied packaged product existing on the system and it doesn't have a silent install routine to remove automatically by triggering a custom action from wix based instaler.So as a workaround, user will be prompted to uninstall the previous product by checking the relevant registry entries as follows; But here the the RegistrySearch always returns the SEARCH2.0 true and it's condition message irrespective of the Version key value is 1.0 or 2.0.How do i fix this problem? any help?
<Property Id="SEARCH2.0"> <RegistrySearch Id="Reg2.0Search" Type="raw" Root="HKLM" Key="SOFTWARE\XYZ\Path\2.0\Version" Name="XYZ Product2.0" /> </Property> <Condition Message="Product 2.0 exists on this system.Uninstall the software and try again" > SEARCH2.0 = "2.0" </Condition> <Property Id="SEARCH1.0"> <RegistrySearch Id="Reg1.0Search" Type="raw" Root="HKLM" Key="SOFTWARE\XYZ\Path\1.0\Version" Name="XYZ Product2.0" /> </Property> <Condition Message="Product 1.0 exists on this system.Uninstall the software and try again" > SEARCH1.0 = "1.0" </Condition> Thanks Anidil -- View this message in context: http://www.nabble.com/RegistrySearch-Help-tp15013927p15013927.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users