[wix-users] Registry Search on Upgrade only

Venkatesh H venh.123 at gmail.com
Sat Apr 9 05:55:31 PDT 2022


I saw the below code from Bob Arson on the following GitHub forum. I want
to know how to achieve this only during upgrades. Please help with the
syntax

<Property Id="FOO">
    <RegistrySearch Root="HKLM"
Key="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework"
Name="InstallRoot" Win64="yes" Type="directory"
Id="NetFrameworkInstallRootSearch">
        <DirectorySearch Id="NetFrameworkInstallRootSearch" />
    </RegistrySearch>
</Property>

https://github.com/wixtoolset/issues/issues/5271


More information about the wix-users mailing list