I'm trying to detect the presence of different versions of the same product
by searching the registryas follows
<Property Id="SEARCHProduct1.0">
<RegistrySearch Id="RegProduct1.0Search" Type="raw" Root="HKLM"
Key="SOFTWARE\a\b\Product\1.0\Version" Name="Product 1.0" />
</Property>
<Condition Message="Product 1.0 exists on this system.Uninstall the
software and try again" >
SEARCHProduct1.0 = "1.0"
</Condition>
i write the similar code to detect different versions of the product one by
one.But as the key path is the same for all the searches, it returns the
first search in the list true always regardless of changing version
values.Any help on this? is there a better way to do this?
NB:The reason why i'm doing this is because the previous versions of the
product are all installshield based.So cannot use <Upgrade> tags
--
View this message in context:
http://www.nabble.com/Registry-search--help-tp14512202p14512202.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 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users