-
Notifications
You must be signed in to change notification settings - Fork 13
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
Issue with C++ #9
Comments
Having the same issue. everyone says you need the C++ latest etc but i have done that several times and it's still same. So that answer has not helped. there has to be something else. |
Ok im fairly sure its just cus where you call the PS1 from... If you call it from the folder it lives in it runs fine. it you call it from somewhere else fails. That's the issue. needs to see the other files. |
Hi, the latest version shouldn't have such issues with the directory, but yes, it is best practice to call the script from the folder it resides in. |
I am calling the PS1 directly from the folder as told and when i click the yara or run it manually with their test rule it works just fine... only your script says that C++ is needed. |
for the C++ stuff they didn't include. you gotta download those. Its mentioned in a separate issue here. I'm having an issue wrapping my head around calling it from the folder its in. I can do that on the system. But from an RMM i think commands just run where they run. There is probably some obvious logic I'm missing. |
Calling it from which folder? the folder that C++ runtimes are in? If so where is that? I have installed all of them from download link above. |
Currently check for YARA32.exe can run with VC++ runtime is failing.yara32.exe - System ErrorThe code execution cannot proceed because VCRUNTIME140.dll was not found. Reinstalling the program may fix this problem.OKVC is downloaded and installed. vcruntime140.dll is found in the C:\windows\system32 folder. https://aka.ms/vs/17/release/vc_redist.x64.exe - this is the specific link found on the page you have link to. I have repaired, Uninstalled and re-installed and keep getting the same result. yara64.exe. doesn't have the same problem. Upon further investigation, it appears that installing both vc_redist platforms is required. Perhaps this could be made clearer. |
No matter what I do I cannot get this to run. Thank you guys for releasing this tool to others but I've installed every C++ library (located here: https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170) but still get the same error.
Any one else getting this?
! ERROR: YARA was unable to run on this device.
The Visual C++ Redistributable is required in order to use YARA.
Download it (both architectures) at:
https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170
The text was updated successfully, but these errors were encountered: