diff options
| author | Bob Arnson <bob@firegiant.com> | 2025-11-16 18:29:28 -0500 |
|---|---|---|
| committer | Bob Arnson <github@bobs.org> | 2025-11-17 08:15:58 -0500 |
| commit | d2ef95ff2b492d8794613ed913a74c1b5f5b7762 (patch) | |
| tree | 8aa6a72a6c7dcd3cc853cfc5e12ce818d27c259b /src | |
| parent | c3bd9119779253dd0811e685debd42fcdf3b99c8 (diff) | |
| download | wix-main.tar.gz wix-main.tar.bz2 wix-main.zip | |
"Fixes" https://github.com/wixtoolset/issues/issues/9112
Diffstat (limited to '')
| -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> |
