sentry-native icon indicating copy to clipboard operation
sentry-native copied to clipboard

Build for Windows 7 Using Visual Studio 2019 - Need to tweak windows registry!

Open Username256 opened this issue 2 years ago • 1 comments

Description Building sentry using crashpad as backend works for windows 7. The problem is that crashpad cannot upload to the sentry.io server because of a windows registry configuration problem dealing with network security.

This is the fix that makes sentry built with crashpad work on Windows 7. Windows Article Please Read

You need to either edit the registry, or check and set the registry from inside your program, or you need to download and run the easyfix program from the above ms article.

I think this should be put into the build instructions for sentry native as it is not a sentry bug but just something that must be configured.

This also applies if you built sentry using crashpad with some other compiler and then tried to run the program on windows 7. For example Visual Studio 2022. Your program will still run but the network security issue wont let crashpad handler send the reports.

Not really a bug. But you might think it is when you run your program because crashpad wont upload to sentry.

When does the problem happen When crashpad tries to upload to sentry.

  • [ ] During build
  • [ x] During run-time
  • [ x] When capturing a hard crash

Environment Windows 7 SP1

  • OS: Windows 7 SP1
  • Compiler: Visual Studio 2019
  • CMake version and config: Latest

Steps To Reproduce Build sentry on Visual Studio 2019 and run

Log output

Username256 avatar May 12 '23 08:05 Username256

Thanks, @Username256! We'll consider it for the docs.

supervacuus avatar May 12 '23 08:05 supervacuus

Closing this as outdated/superseded by other issues or newer SDK/OS versions. Feel free to comment with answers or updated information and we will reopen if it's actionable.

kahest avatar Apr 15 '25 09:04 kahest