Skip to content

Commit

Permalink
Use relative links
Browse files Browse the repository at this point in the history
  • Loading branch information
isaak654 committed Sep 27, 2022
1 parent 16b8dcc commit bffe632
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Sandboxie/ReadMe.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### Sandboxie Build Instructions
## Sandboxie Build Instructions

Please note: there is another ReadMe file in the \install\ folder that explains how to create the Sandboxie installers.
Please note: there is another [ReadMe.md](./install/ReadMe.md) file in the [\install](./install/) folder that explains how to create the Sandboxie installers.

1) Sandboxie builds under MS Visual Studio 2019.
2) Install the Windows Driver Kit (WDK) for Windows 10, version 2004:
Expand Down
14 changes: 7 additions & 7 deletions Sandboxie/install/ReadMe.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### Sandboxie Classic installer instructions
## Sandboxie Classic installer instructions

### To create Sbie NSIS installer environment

Expand All @@ -21,15 +21,15 @@ Everything above only needs to be done once. Then your machine should be good to

### To create the Sbie installers

The Sbie installer NSI file is [\install\SandboxieVS.nsi](https://github.com/sandboxie-plus/Sandboxie/blob/master/Sandboxie/install/SandboxieVS.nsi).
The Sbie installer NSI file is [\install\SandboxieVS.nsi](../install/SandboxieVS.nsi).

_Note: The following procedure is only valid for the old code signing not mediated by Microsoft, please refer to issue [#1248](https://github.com/sandboxie-plus/Sandboxie/issues/1248)._
Note: the following procedure is only valid for the old code signing not mediated by Microsoft, please refer to issue [#1248](https://github.com/sandboxie-plus/Sandboxie/issues/1248).

1) Sign the binaries (if applicable).
2) Set the #defines in [\common\my_version.h](https://github.com/sandboxie-plus/Sandboxie/blob/master/Sandboxie/common/my_version.h) (SBIE_INSTALLER_PATH, etc.) to the location of your binaries. (These #defines are read by SandboxieVS.nsi).
3) Edit [\install\SandboxieVS.nsi](https://github.com/sandboxie-plus/Sandboxie/blob/master/Sandboxie/install/SandboxieVS.nsi) and uncomment the `!define _BUILDARCH` for the version you want to create an installer for.
4) In Explorer, right-click on [\install\SandboxieVS.nsi](https://github.com/sandboxie-plus/Sandboxie/blob/master/Sandboxie/install/SandboxieVS.nsi), and select `Compile NSIS Script`.
The resulting installer binary (SandboxieInstall64.exe or SandboxieInstall32.exe) will be saved to SBIE_INSTALLER_PATH (from [my_version.h](https://github.com/sandboxie-plus/Sandboxie/blob/master/Sandboxie/common/my_version.h)).
2) Set the #defines in [\common\my_version.h](../common/my_version.h) (SBIE_INSTALLER_PATH, etc.) to the location of your binaries. (These #defines are read by SandboxieVS.nsi).
3) Edit [\install\SandboxieVS.nsi](../install/SandboxieVS.nsi) and uncomment the `!define _BUILDARCH` for the version you want to create an installer for.
4) In Explorer, right-click on [\install\SandboxieVS.nsi](../install/SandboxieVS.nsi), and select `Compile NSIS Script`.
The resulting installer binary (SandboxieInstall64.exe or SandboxieInstall32.exe) will be saved to SBIE_INSTALLER_PATH (from [my_version.h](../common/my_version.h)).
5) Sign the installers.
6) To create the combined 32/64 bit installer in Visual Studio, right-click on the `SandboxieInstall` project, click `Project Only` -> `Build Only SandboxieInstall`.
This will create a SandboxieInstall.exe in the install folder.
Expand Down

0 comments on commit bffe632

Please sign in to comment.