Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,13 @@ public void PopulatesAppSearchTablesFromDirectorySearch()

Assert.True(File.Exists(msiPath));
var results = Query.QueryDatabase(msiPath, new[] { "AppSearch", "DrLocator" });
WixAssert.CompareLineByLine(new[]
{
WixAssert.CompareLineByLine(
[
"AppSearch:EXAMPLEDIRFOUND\tdircdo7ICRtQ3CvoztHSvflmt6yVh4",
"AppSearch:SAMPLEDIRFOUND\tSampleDirSearch",
"DrLocator:dircdo7ICRtQ3CvoztHSvflmt6yVh4\t\tC:\\ExampleDir\t",
"DrLocator:SampleDirSearch\t\tC:\\SampleDir\t",
}, results);
], results);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<Fragment>
<ComponentGroup Id="ProductComponents">
<ComponentGroupRef Id="MinimalComponentGroup"></ComponentGroupRef>
<ComponentGroupRef Id="MinimalComponentGroup" />
</ComponentGroup>

<Property Id="SAMPLEDIRFOUND">
<DirectorySearch Id="SampleDirSearch" AssignToProperty="yes" Path="C:\SampleDir"></DirectorySearch>
<DirectorySearch Id="SampleDirSearch" AssignToProperty="yes" Path="C:\SampleDir" />
</Property>

<Property Id="EXAMPLEDIRFOUND">
<DirectorySearch AssignToProperty="yes" Path="C:\ExampleDir" />
</Property>
</Fragment>
</Wix>