>  <Property Id="ASPNETREGPATH">
>       <RegistrySearch Id="FRAMEWORKBASEPATH" Root="HKLM"
>  Key="SOFTWARE\Microsoft\.NETFramework" Name="InstallRoot" Type="raw">
>         <DirectorySearch Id="FindAspRegExe" Path="[FRAMEWORKBASEPATH]"
>  Depth="1">
>           <FileSearch Id="FindAspNetReg" Name="aspnet_regiis.exe"
>  MinVersion="2.0.50727.42"/>
>         </DirectorySearch>
>       </RegistrySearch>
>     </Property>

Here's what I'm using, it appears to work OK:

    <Property Id='ASPNETREGPATH'>

      <RegistrySearch
        Id='FindFrameworkDir'
        Root='HKLM'
        Key='SOFTWARE\Microsoft\.NETFramework'
        Name='InstallRoot'
        Type='directory'
        Win64='$(var.SEARCH.WIN64.REG)'>

        <DirectorySearch Id='FindAspNetRegDir' Depth='1'>

          <FileSearch Id='FindAspNetRegFile' Name='aspnet_regiis.exe'
MinVersion='2.0.50727'/>

        </DirectorySearch>

      </RegistrySearch>

    </Property>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to