Skip to content

Commit 3f95950

Browse files
committed
Update certificate signing step in building.md
1 parent e3f2901 commit 3f95950

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

BUILDING.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Note: if you only want to build the PresentData/ library, or the PresentMon Cons
3535
2. Build 64-bit Debug and Release configurations (replace "CefDir" with the directory you downloaded into):
3636
3737
```bat
38-
> cmake -G "Visual Studio 17" -A x64 -DUSE_SANDBOX=OFF -S CefDir -B CefDir\build
38+
> cmake -G "Visual Studio 17 2022" -A x64 -DUSE_SANDBOX=OFF -S CefDir -B CefDir\build
3939
> cmake --build CefDir\build --config Debug
4040
> cmake --build CefDir\build --config Release
4141
```
@@ -59,7 +59,7 @@ Note: if you only want to build the PresentData/ library, or the PresentMon Cons
5959
6060
Note: instead of using the production build as described above, you can use a development process with a local server with hotloading support. To do this, use `npm run serve` instead, and use the `--p2c-url=http://localhost:8080/` command line argument when running the *PresentMon Capture Application*. This causes the app to load web content from localhost rather than the files in Web/.
6161
62-
4. Create and install a trusted test certificate. This is only required for the Release build. Open a command shell as administrator and run the following:
62+
4. Create and install a trusted test certificate. This is only required for the Release build. Open the `Developer Command Prompt for VS 2022` or `Developer PowerShell for VS 2022` as administrator and run the following:
6363
6464
```bat
6565
> makecert -r -pe -n "CN=Test Certificate - For Internal Use Only" -ss PrivateCertStore testcert.cer
@@ -109,4 +109,14 @@ You must run the PresentMon Capture Application from its directory, with the *Pr
109109
> PresentMon.exe
110110
```
111111

112-
Further, for the Release build, the application must be run from a secure location (e.g. "Program Files" or "System32") so it will need to be copied there first. The Release build also cannot be started from Visual Studio, irregardless of whether the debugger is attached, and even if VS is running with admin privilege.
112+
## Capture Application Release Build Notice
113+
114+
Further, for the Release build, the application must be run from a secure location (e.g. `"Program Files"` or `"System32"`) so it will need to be copied there first. The Release build also cannot be started from Visual Studio, irregardless of whether the debugger is attached, and even if VS is running with admin privilege.
115+
116+
# Running PresentMon on other systems
117+
118+
You will encounter an error message such as: `"A referral was returned from the server"`. This usually means a certificate mismatch or not exist. The same certificate that was used to sign the application must be installed on the other machine. Open command prompt as administrator and run the following:
119+
120+
```bat
121+
> certutil -addstore root testcert.cer
122+
```

0 commit comments

Comments
 (0)