aboutsummaryrefslogtreecommitdiff
path: root/src/test/WixToolsetTest.CoreIntegration/TestData/AppSearch/DecompiledNestedDirSearchUnderRegSearch.wxs
blob: 266494855bfc1c0b4743f672b83b346206193bd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
  <Product Id="{33C58183-7333-4257-AEFD-6705DA66E617}" Codepage="1252" Language="1033" Manufacturer="Example Corporation" Name="MsiPackage" UpgradeCode="{12E4699F-E774-4D05-8A01-5BDD41BBA127}" Version="1.0.0.0">
    <Package Description="MsiPackage" InstallerVersion="500" Languages="1033" Manufacturer="Example Corporation" Platform="x86" />
    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramFilesFolder">
        <Directory Id="INSTALLFOLDER" Name="MsiPackage" ShortName="ykd0udtb">
          <Component Id="test.txt" Guid="{E597A58A-03CB-50D8-93E3-DABA263F233A}" Win64="no">
            <File Id="test.txt" Name="test.txt" KeyPath="yes" Source="SourceDir\\MsiPackage\test.txt" />
          </Component>
        </Directory>
      </Directory>
    </Directory>
    <Feature Id="ProductFeature" Level="1" Title="MsiPackageTitle">
      <ComponentRef Id="test.txt" />
    </Feature>
    <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
    <Media Id="1" />
    <Property Id="ALLUSERS" Value="1" />
    <Property Id="SAMPLEREGFOUND">
      <RegistrySearch Id="RegSearch" Root="HKLM" Key="Reg" Type="raw" Win64="no" />
    </Property>
    <Property Id="NESTEDDIRFOUND">
      <RegistrySearch Id="ARegKeySearch" Root="HKLM" Key="ARegKey" Type="raw" Win64="no">
        <DirectorySearch Id="TopDirSearch" Path="TopDir">
          <DirectorySearch Id="SecondDirSearch" Path="SecondDir">
            <DirectorySearch Id="ThirdDirSearch" Path="ThirdDir">
              <DirectorySearch Id="FourthDirSearch" Path="FourthDir" />
            </DirectorySearch>
          </DirectorySearch>
        </DirectorySearch>
      </RegistrySearch>
    </Property>
    <Property Id="SAMPLENESTEDDIRFOUND">
      <RegistrySearch Id="NestedRegSearch" Root="HKLM" Key="NestedReg" Type="raw" Win64="no">
        <DirectorySearch Id="SampleNestedDirSearch" Path="NestedDir" />
      </RegistrySearch>
    </Property>
    <Property Id="SAMPLEDIRFOUND">
      <RegistrySearch Id="SubRegSearch" Root="HKLM" Key="SampleReg" Type="raw" Win64="no">
        <DirectorySearch Id="SampleDirSearch" Path="SampleDir">
          <DirectorySearch Id="SubDirSearch" Path="Subdir" />
        </DirectorySearch>
      </RegistrySearch>
    </Property>
  </Product>
</Wix>