You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to update automatically, I get System.UnauthorizedAccessException:
Log report:
mercoledì 23 ottobre 2024 17:45:19
ZipExtractor started with following command line arguments.
[0] c:\users\luca\desktop\it\zipextractor.exe
[1] --input
[2] c:\users\luca\desktop\it\codplayervpn.zip
[3] --output
[4] c:\users\luca\desktop\it
[5] --current-exe
[6] c:\users\luca\desktop\it\codplayervpn.exe
Waiting for application process to exit...
BackgroundWorker started successfully.
Found total of 1 files and folders inside the zip file.
System.UnauthorizedAccessException: Accesso al percorso negato.
in ZipExtractor.FormMain.<>c__DisplayClass4_0.<FormMain_Shown>b__2(Object _, RunWorkerCompletedEventArgs eventArgs)
But running the same extraction command from powershell (in the same path), it works without problem:
mercoledì 23 ottobre 2024 17:54:23
ZipExtractor started with following command line arguments.
[0] c:\users\luca\desktop\it\zipextractor.exe
[1] --input
[2] c:\users\luca\desktop\it\codplayervpn.zip
[3] --output
[4] c:\users\luca\desktop\it
[5] --current-exe
[6] c:\users\luca\desktop\it\codplayervpn.exe
BackgroundWorker started successfully.
Found total of 1 files and folders inside the zip file.
Extracting CodPlayerVPN.exe [100%]
Successfully launched the updated application.
The text was updated successfully, but these errors were encountered:
Maybe it's a file ownership issue? I have seen this type of issue when PC is reformatted. Files and Folders created by the previous OS user have still retained ownership of that user, which doesn't exist anymore on new installation. I usually solved it by going to security tab after going to properties of file and folder and adding and assigning rights to a new user.
This is the app configuration:
When trying to update automatically, I get
System.UnauthorizedAccessException
:Log report:
But running the same extraction command from powershell (in the same path), it works without problem:
The text was updated successfully, but these errors were encountered: