RegistrySearch vs util: RegistrySearch in Burn

I use Burn to create a bootable WiX device. I realized that RegistrySearch, as shown below, does not actually perform a registry search. I used Process Monitor to control registry access.

<Property Id="NETFX35VERSION" Secure="yes"> <RegistrySearch Id="RegSearchNetFx35" Root="HKLM" Key="SOFTWARE\Microsoft\Net Framework Setup\NDP\v3.5" Name="Version" Type="raw" /> </Property> 

However, when I used the util function, it worked fine, and the registry received a comment:

 <util:RegistrySearch Root="HKLM" Key="SOFTWARE\Microsoft\Net Framework Setup\NDP\v3.5" Value="Version" Variable="NETFX35VERSION" /> 

Is this the expected behavior with the WiX Burn tool?

+4
source share
1 answer

Property and RegistrySearch are concepts for .msi packages. Bootstrappers are not handled by the MSI engine, so they have other concepts, such as Variable and util:RegistrySearch . They are similar, and overall packages have more search functionality than the equivalent of MSI.

+6
source

Source: https://habr.com/ru/post/1498723/


All Articles