From 54ade276db9bd437375a57bddc9eb88a21a6ea7a Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Wed, 11 Dec 2019 19:17:17 -0500 Subject: Return the set of files extracted from a cabinet. --- src/WixToolset.Core.Native/Cabinet.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/WixToolset.Core.Native/Cabinet.cs b/src/WixToolset.Core.Native/Cabinet.cs index 3f5fa715..74ab7809 100644 --- a/src/WixToolset.Core.Native/Cabinet.cs +++ b/src/WixToolset.Core.Native/Cabinet.cs @@ -100,7 +100,7 @@ namespace WixToolset.Core.Native /// Extracts all the files from a cabinet to a directory. /// /// Directory to extract files to. - public void Extract(string outputFolder) + public IEnumerable Extract(string outputFolder) { if (!outputFolder.EndsWith("\\", StringComparison.Ordinal)) { @@ -108,7 +108,7 @@ namespace WixToolset.Core.Native } var wixnative = new WixNativeExe("extractcab", this.Path, outputFolder); - wixnative.Run(); + return wixnative.Run(); } #if TOOD_ERROR_HANDLING -- cgit v1.2.3-55-g6feb