[wix-devs] 5355 - util:RegistrySearch clears the variable when the key or value is not found

Bob Arnson bob at firegiant.com
Fri Jun 26 11:22:46 PDT 2020


I also think it's an excellent proposal. I'm not sure to do in WixCop, other than issue a warning. The typical workaround in v3 was to author an "Exists" key for every other, so you could say "FooExists and FooVersion = v1.0" -- that would still work in most cases but could be simplified. 

-----Original Message-----
From: wix-devs <wix-devs-bounces at lists.wixtoolset.org> On Behalf Of Sean Hall via wix-devs
Sent: Thursday, 25 June, 2020 22:26
To: WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
Cc: Sean Hall <r.sean.hall at gmail.com>
Subject: [wix-devs] 5355 - util:RegistrySearch clears the variable when the key or value is not found

I'd like to get  https://github.com/wixtoolset/issues/issues/5355 designed since the proposal is technically a breaking change: "Rather than add a Default attribute, maybe the search should work like MSI, where a missing value doesn't overwrite the default." I think the proposal is good, unless someone else wants to do it differently?
____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-devs mailing list