Skip to content

Commit

Permalink
#89: fix deletion of the copied msi file (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
MattesMrzik committed Oct 13, 2023
1 parent 8f940d4 commit ebb06e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ protected void extract(Path file, Path targetDir) {
} else if ("msi".equals(extension)) {
this.context.newProcess().executable("msiexec").addArgs("/a", file, "/qn", "TARGETDIR=" + targetDir).run();
// msiexec also creates a copy of the MSI
Path msiCopy = targetDir.resolve(targetDir.getFileName());
Path msiCopy = targetDir.resolve(file.getFileName());
fileAccess.delete(msiCopy);
} else if ("pkg".equals(extension)) {

Expand Down

0 comments on commit ebb06e5

Please sign in to comment.