From b861d63913a0c815a34ce46d5fededdad6850206 Mon Sep 17 00:00:00 2001 From: Noel Kuntze Date: Wed, 25 Mar 2020 15:54:35 +0100 Subject: [PATCH 1/2] Use unzip instead of tar. zip files can't be extracted with tar. --- msi-example/build.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msi-example/build.bat b/msi-example/build.bat index cbf2570..46ffb41 100644 --- a/msi-example/build.bat +++ b/msi-example/build.bat @@ -20,7 +20,7 @@ if exist .deps\prepared goto :build call :download wix-binaries.zip http://wixtoolset.org/downloads/v3.14.0.2812/wix314-binaries.zip 923892298f37514622c58cbbd9c2cadf2822d9bb53df8ee83aaeb05280777611 || goto :error echo [+] Extracting wix-binaries.zip mkdir wix\bin || goto :error - tar -xf wix-binaries.zip -C wix\bin || goto :error + unzip wix-binaries.zip -d wix\bin || goto :error echo [+] Cleaning up wix-binaries.zip del wix-binaries.zip || goto :error copy /y NUL prepared > NUL || goto :error From 2acd95a96bae64dc0b74a6250ea55ed75c7c1a40 Mon Sep 17 00:00:00 2001 From: Noel Kuntze Date: Wed, 25 Mar 2020 15:57:05 +0100 Subject: [PATCH 2/2] Be specific that the spaces are not part of the value --- msi-example/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/msi-example/README.md b/msi-example/README.md index 4197de7..8ed7d47 100644 --- a/msi-example/README.md +++ b/msi-example/README.md @@ -26,12 +26,12 @@ do not change that UUID. for example). Replace `{{{VERSION}}}` in build.bat with that version. 4. Download the amd64 MSM from [Wintun.net](https://www.wintun.net/) and compute its SHA2-256 -sum in all lowercase hex digits using `CertUtil -hashfile "path/to/file" SHA256`, and replace -`{{{64BIT HASH}}}` in build.bat with that value. +sum in all lowercase hex digits (without any spaces) using `CertUtil -hashfile "path/to/file" +SHA256`, and replace `{{{64BIT HASH}}}` in build.bat with that value. 5. Download the x86 MSM from [Wintun.net](https://www.wintun.net/) and compute its SHA2-256 -sum in all lowercase hex digits using `CertUtil -hashfile "path/to/file" SHA256`, and replace -`{{{32BIT HASH}}}` in build.bat with that value. +sum in all lowercase hex digits (without any spaces) using `CertUtil -hashfile "path/to/file" +SHA256`, and replace `{{{32BIT HASH}}}` in build.bat with that value. 6. Run build.bat.