Hi,
I'm on Windows 10 and I've downloaded the installer. And I've unlocked and unzipped it as per the instructions above. The batch file will create several folders under my documents folder however, I'm getting an UnauthorizedAccessException anytime it tries to write a file. I've reviewed the Security settings, including adding full access to Everyone. Then I ran the StockSharp.Installer.Console.bat several times (in boh normal user mode and as an admin) but I'm still getting access denied on every file write. For example:
20:11:40.523 | ConfigProvider | error saving config: System.UnauthorizedAccessException: Access to the path 'C:\Users\xxxxx\Documents\StockSharp\Installer\installer_apps.xml' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.File.InternalWriteAllBytes(String path, Byte[] bytes, Boolean checkHost)
at StockSharp.Installer.ConfigProvider.<>c__DisplayClass14_0.<CheckSaveProductProvider>b__0()
at Ecng.Common.Converter.<>c__DisplayClass22_0.<DoInCulture>b__0()
at Ecng.Common.Converter.DoInCulture[T](CultureInfo cultureInfo, Func`1 func)
at StockSharp.Installer.ConfigProvider.EnsureAllSaved()
and
20:11:47.268 | S#.Installer.Console | NuGet.Protocol.Core.Types.FatalProtocolException: Error downloading 'AWSSDK.Core.3.3.107.38' from 'https://api.nuget.org/v3-flatcontainer/awssdk.core/3.3.107.38/awssdk.core.3.3.107.38.nupkg'. ---> System.UnauthorizedAccessException: Access to the path 'C:\Users\tristen\Documents\StockSharp\Installer\packages_download\jk442mvk.du4.nugetdirectdownload' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at NuGet.Protocol.GetDownloadResultUtility.<DirectDownloadAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
Any advice on how to fix this issue?