Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build.bat, improve README.md #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
8 changes: 4 additions & 4 deletions msi-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion msi-example/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down