-
Notifications
You must be signed in to change notification settings - Fork 2
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
Fix #241: WIndows installation #250
Conversation
- test if .NET 3.5 is installed - add this requirement to the documentation
''' | ||
import subprocess | ||
command = ['reg','query','HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\NET Framework Setup\\NDP','/s'] | ||
result = subprocess.run(command, stdout=subprocess.PIPE, check=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it's always looking for just "Version 3.5" why cannot we simply check
if "Version 3.5" in result ??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So we allow only this specific version of .NET, is this intended?
b'Version REG_SZ 3.5'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SteffenBrinckmann Ahh Okay, please see the failing GitHub actions!
@jmurugan-fzj Thank you for pointing out this: I updated that code and tested it on my windows partition |
''' | ||
import subprocess | ||
command = ['reg','query','HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\NET Framework Setup\\NDP','/s'] | ||
result = subprocess.run(command, stdout=subprocess.PIPE, check=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So we allow only this specific version of .NET, is this intended?
b'Version REG_SZ 3.5'
@jmurugan-fzj The user can have multiple .net versions installed: my system has >10. |
Fix 241