-
Notifications
You must be signed in to change notification settings - Fork 1k
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
(nuisance?) System.ComponentModel.Win32Exception in Squirrel.dll #1313
Comments
@asfarley is it still an issue with the latest version of Squirrel? |
@Thieum, I am no longer doing software development on the project where I was using Squirrel so I cannot re-test this easily. Thank you for the follow-up anyway; I will close this issue and re-open if I run into this again. |
Did anyone solve this? I am getting this error too. |
@andrew-mi do you have a stack for the exception your are encountering? The original issue wasn't specifying where the exception was exactly coming from in Squirrel. |
Right now Visual Studio Output says |
|
@andrew-mi looks like a permission issue - we had different reports of that recently due to the controlled folder access option in Windows Defender (see #1485 (comment) ). Is it something that is activated on the system you are trying to install? |
Ahh ok, at least that makes sense. Thanks for investigating. |
@andrew-mi https://docs.microsoft.com/en-us/powershell/module/defender/get-mppreference?view=win10-ps Considering it can be enabled / disabled with PS too: https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-defender-exploit-guard/enable-controlled-folders-exploit-guard |
Relevant Lines: |
So I suspect that means it is off, but I don't really know. |
I tried to Enable/Disable the Feature from Elevated PS; but got an error similar to https://stackoverflow.com/questions/48960190/powershell-set-mppreference-disablerealtimemonitoring-true-not-working-correct |
@andrew-mi indeed, must be something else then :/ |
I haven't touched my project for a bit; but just tried it and still getting this error consistently. @Thieum could this issue be reopened? or should I create a new issue? |
@andrew-mi you should open a new one. |
I'm getting a bunch of the following appearing in my Output from Squirrel update manager:
Exception thrown: 'System.ComponentModel.Win32Exception' in Squirrel.dll
I've basically followed the integration guide, except that I recently moved the call to UpdateManager into an async task rather than calling in Program.cs. However, I was getting this exception even before moving it, when I had followed the integration guide exactly.
This is on a Win10 x64 machine. The exception doesn't seem to be causing any problems as far as I can tell; the update process works correctly.
The text was updated successfully, but these errors were encountered: