diff options
| -rw-r--r-- | src/wix/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs | 8 | ||||
| -rw-r--r-- | src/wix/test/WixToolsetTest.CoreIntegration/TestData/AppSearch/DirectorySearch.wxs | 8 |
2 files changed, 11 insertions, 5 deletions
diff --git a/src/wix/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs b/src/wix/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs index 647f5b24..6b863142 100644 --- a/src/wix/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs +++ b/src/wix/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs | |||
| @@ -70,11 +70,13 @@ namespace WixToolsetTest.CoreIntegration | |||
| 70 | 70 | ||
| 71 | Assert.True(File.Exists(msiPath)); | 71 | Assert.True(File.Exists(msiPath)); |
| 72 | var results = Query.QueryDatabase(msiPath, new[] { "AppSearch", "DrLocator" }); | 72 | var results = Query.QueryDatabase(msiPath, new[] { "AppSearch", "DrLocator" }); |
| 73 | WixAssert.CompareLineByLine(new[] | 73 | WixAssert.CompareLineByLine( |
| 74 | { | 74 | [ |
| 75 | "AppSearch:EXAMPLEDIRFOUND\tdircdo7ICRtQ3CvoztHSvflmt6yVh4", | ||
| 75 | "AppSearch:SAMPLEDIRFOUND\tSampleDirSearch", | 76 | "AppSearch:SAMPLEDIRFOUND\tSampleDirSearch", |
| 77 | "DrLocator:dircdo7ICRtQ3CvoztHSvflmt6yVh4\t\tC:\\ExampleDir\t", | ||
| 76 | "DrLocator:SampleDirSearch\t\tC:\\SampleDir\t", | 78 | "DrLocator:SampleDirSearch\t\tC:\\SampleDir\t", |
| 77 | }, results); | 79 | ], results); |
| 78 | } | 80 | } |
| 79 | } | 81 | } |
| 80 | 82 | ||
diff --git a/src/wix/test/WixToolsetTest.CoreIntegration/TestData/AppSearch/DirectorySearch.wxs b/src/wix/test/WixToolsetTest.CoreIntegration/TestData/AppSearch/DirectorySearch.wxs index e255c83d..fbb8eaaf 100644 --- a/src/wix/test/WixToolsetTest.CoreIntegration/TestData/AppSearch/DirectorySearch.wxs +++ b/src/wix/test/WixToolsetTest.CoreIntegration/TestData/AppSearch/DirectorySearch.wxs | |||
| @@ -2,11 +2,15 @@ | |||
| 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 3 | <Fragment> | 3 | <Fragment> |
| 4 | <ComponentGroup Id="ProductComponents"> | 4 | <ComponentGroup Id="ProductComponents"> |
| 5 | <ComponentGroupRef Id="MinimalComponentGroup"></ComponentGroupRef> | 5 | <ComponentGroupRef Id="MinimalComponentGroup" /> |
| 6 | </ComponentGroup> | 6 | </ComponentGroup> |
| 7 | 7 | ||
| 8 | <Property Id="SAMPLEDIRFOUND"> | 8 | <Property Id="SAMPLEDIRFOUND"> |
| 9 | <DirectorySearch Id="SampleDirSearch" AssignToProperty="yes" Path="C:\SampleDir"></DirectorySearch> | 9 | <DirectorySearch Id="SampleDirSearch" AssignToProperty="yes" Path="C:\SampleDir" /> |
| 10 | </Property> | ||
| 11 | |||
| 12 | <Property Id="EXAMPLEDIRFOUND"> | ||
| 13 | <DirectorySearch AssignToProperty="yes" Path="C:\ExampleDir" /> | ||
| 10 | </Property> | 14 | </Property> |
| 11 | </Fragment> | 15 | </Fragment> |
| 12 | </Wix> | 16 | </Wix> |
