Hello folks

Wix documentation states that Type attribute of the RegistrySearch element
works as follows:

file
  Sets a file path from the registry value. 
raw
  Sets the raw value from the registry value.

Here is my snippet:

    <Property Id="ASPNETISAPIDLL">
      <RegistrySearch Id="AspnetIsapiDllRegistry" Type="file" Root="HKLM"
Key="Software\Microsoft\ASP.Net\2.0.50727.0" Name="DllFullPath" />
    </Property>

Which results to the following MSI log entry:

Property(S): ASPNETISAPIDLL = C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\

When I change Type attribute to "raw", it works:

    <Property Id="ASPNETISAPIDLL">
      <RegistrySearch Id="AspnetIsapiDllRegistry" Type="raw" Root="HKLM"
Key="Software\Microsoft\ASP.Net\2.0.50727.0" Name="DllFullPath" />
    </Property>

Property(S): ASPNETISAPIDLL =
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll

Ok, this works for me but is this the way "file" attribute value should work
or not?

Windows 2003 Server SP1, Windows Installer 3.0
Wix 2.0.4103.0

Cheers 
Denis



_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to