Use relative links

This commit is contained in:
isaak654 2022-09-27 22:15:56 +02:00
parent 16b8dcc3d4
commit bffe632502
No known key found for this signature in database
GPG Key ID: 59D402040437EC44
2 changed files with 9 additions and 9 deletions

View File

@ -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:

View File

@ -1,4 +1,4 @@
### Sandboxie Classic installer instructions
## Sandboxie Classic installer instructions
### To create Sbie NSIS installer environment
@ -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.