Skip to content

Windows 7 support #11

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

Closed
hfiref0x opened this issue Feb 15, 2025 · 3 comments
Closed

Windows 7 support #11

hfiref0x opened this issue Feb 15, 2025 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@hfiref0x
Copy link
Owner

BTW: Working great on Windows 7. Thanks for this amazing tool.

Originally posted by @i486 in #9

Hello,

can you tell what is the requirements to run this on Windows 7? I assume you need msvc redistributable but what about .NET 8? AFAIK it is does not support Win7.

If you provide this information I can update readme then with instructions.

@i486
Copy link

i486 commented Feb 16, 2025

Hi,

Even though .NET 7+ officially dropped support for Windows 7, they still kept the old code paths, so it still works (and likely in .NET 8 and 9 too).

The main problem when running .NET 7+ apps on Windows 7 is W^X (Write XOR Execute). This security feature was opt-in for .NET 6.0 but became default in .NET 7+. On Windows 7, this causes excessive memory usage and CPU spikes when launching and closing applications (observable with WinDepends).

To fix this, just add this environment variable:

set DOTNET_EnableWriteXorExecute=0  

So if anyone want to run WinDepends on Windows 7, here’s the requirement:

  1. Install .NET 8.0 Desktop Runtime (it installs fine despite the lack of official support).
  2. Set DOTNET_EnableWriteXorExecute=0 globally for better performance across all .NET 7+ apps.

So far, I haven’t noticed any negative effects from this setting. Hope this helps!

@hfiref0x
Copy link
Owner Author

Added this issue as reference in the readme file, thanks.

@hfiref0x hfiref0x pinned this issue Feb 16, 2025
@hfiref0x hfiref0x added the documentation Improvements or additions to documentation label Feb 16, 2025
@i486
Copy link

i486 commented Feb 20, 2025

Notes on WinDepends and Windows 7 Symbol Compatibility

If you're using WinDepends on Windows 7, the stock dbghelp.dll in system32 won’t work.

You'll need dbghelp.dll and symsrv.dll version 10.0.18362.1, which you can obtain from WinDbg in the Windows 10 1903 SDK or download from the attachment below.

Download: (These files are digitally signed by Microsoft)
dbghelp.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants