element-hq / element-hq/element-web

Windows installer failed to setup with error log

Open
#32,277 0 comments 0 reactions 0 assignees View on GitHub
A-Electron A-Packaging O-Uncommon T-Defect Z-Windows
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

I am not sure if anyone face it like me .

```
2021-07-20 14:16:03> Unhandled exception: System.AggregateException: 发生一个或多个错误。 ---> System.IO.DirectoryNotFoundException: 未能找到路径“C:\Users\admin\AppData\Local\element-desktop\Update.exe”的一部分。
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
在 System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
在 Squirrel.Update.Program.<>c__DisplayClass4_1.b__4()
在 Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)
在 Squirrel.Utility.ErrorIfThrows(IEnableLogger This, Action block, String message)
在 Squirrel.Update.Program.d__4.MoveNext()
--- 内部异常堆栈跟踪的结尾 ---
在 System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
在 System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
在 System.Threading.Tasks.Task.Wait()
在 Squirrel.Update.Program.executeCommandLine(String[] args)
在 Squirrel.Update.Program.main(String[] args)
---> (内部异常 #0) System.IO.DirectoryNotFoundException: 未能找到路径“C:\Users\admin\AppData\Local\element-desktop\Update.exe”的一部分。
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
在 System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
在 Squirrel.Update.Program.<>c__DisplayClass4_1.b__4()
在 Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)
在 Squirrel.Utility.ErrorIfThrows(IEnableLogger This, Action block, String message)
在 Squirrel.Update.Program.d__4.MoveNext()<---
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.