@joebigelow / wix / commits / 54ade276

Return the set of files extracted from a cabinet.

Bob Arnson committed Dec 11, 2019 at 19:17 UTC 54ade276db9bd437375a57bddc9eb88a21a6ea7a
1 file changed +2 -2
src/WixToolset.Core.Native/Cabinet.cs
+2 -2
@@ -100,7 +100,7 @@ namespace WixToolset.Core.Native
100 /// Extracts all the files from a cabinet to a directory.
101 /// </summary>
102 /// <param name="outputFolder">Directory to extract files to.</param>
103 - public void Extract(string outputFolder)
103 + public IEnumerable<string> Extract(string outputFolder)
104 {
105 if (!outputFolder.EndsWith("\\", StringComparison.Ordinal))
106 {
@@ -108,7 +108,7 @@ namespace WixToolset.Core.Native
108 }
109
110 var wixnative = new WixNativeExe("extractcab", this.Path, outputFolder);
111 - wixnative.Run();
111 + return wixnative.Run();
112 }
113
114 #if TOOD_ERROR_HANDLING