报错日志:
2016-05-14 12:15:01> Program: Starting Squirrel Updater: --install .
2016-05-14 12:15:01> Program: Starting install, writing to C:\Users\Administrator.CH-201508111341\AppData\Local\SquirrelTemp
2016-05-14 12:15:01> Program: About to install to: C:\Users\Administrator.CH-201508111341\AppData\Local\CocosCreator
2016-05-14 12:15:01> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: 未能找到路径“C:\Users\Administrator.CH-201508111341\AppData\Local\CocosCreator\packages\RELEASES”的一部分。
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 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)
在 System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share)
在 Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
在 Squirrel.UpdateManager.CheckForUpdateImpl.d__2.MoveNext()
2016-05-14 12:15:01> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Administrator.CH-201508111341\AppData\Local\SquirrelTemp
2016-05-14 12:15:01> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2016-05-14 12:15:02> ApplyReleasesImpl: Writing files to app directory: C:\Users\Administrator.CH-201508111341\AppData\Local\CocosCreator\app-1.0.3
2016-05-14 12:15:39> IEnableLogger: Failed to install package to app dir: System.IO.PathTooLongException: 指定的路径或文件名太长,或者两者都太长。完全限定文件名必须少于 260 个字符,并且目录名必须少于 248 个字符。
在 System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength)
在 System.IO.Path.GetDirectoryName(String path)
在 Squirrel.ReleasePackage.ExtractZipDecoded(String zipFilePath, String outFolder, String directoryFilter)
在 Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass7_0.<b__0>d.MoveNext()
— End of stack trace from previous location where exception was thrown —
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Squirrel.Utility.d__351.MoveNext()
2016-05-14 12:15:39> Unhandled exception: System.AggregateException: 发生一个或多个错误。 —> System.IO.PathTooLongException: 指定的路径或文件名太长,或者两者都太长。完全限定文件名必须少于 260 个字符,并且目录名必须少于 248 个字符。
在 System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength)
在 System.IO.Path.GetDirectoryName(String path)
在 Squirrel.ReleasePackage.ExtractZipDecoded(String zipFilePath, String outFolder, String directoryFilter)
在 Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass7_0.<b__0>d.MoveNext()
— End of stack trace from previous location where exception was thrown —
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Squirrel.Utility.d__351.MoveNext()
— End of stack trace from previous location where exception was thrown —
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
在 Squirrel.UpdateManager.ApplyReleasesImpl.d__2.MoveNext()
— End of stack trace from previous location where exception was thrown —
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Squirrel.UpdateManager.d__10.MoveNext()
— End of stack trace from previous location where exception was thrown —
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
在 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.PathTooLongException: 指定的路径或文件名太长,或者两者都太长。完全限定文件名必须少于 260 个字符,并且目录名必须少于 248 个字符。
在 System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength)
在 System.IO.Path.GetDirectoryName(String path)
在 Squirrel.ReleasePackage.ExtractZipDecoded(String zipFilePath, String outFolder, String directoryFilter)
在 Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass7_0.<b__0>d.MoveNext()
— End of stack trace from previous location where exception was thrown —
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Squirrel.Utility.d__35`1.MoveNext()
— End of stack trace from previous location where exception was thrown —
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
在 Squirrel.UpdateManager.ApplyReleasesImpl.d__2.MoveNext()
— End of stack trace from previous location where exception was thrown —
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Squirrel.UpdateManager.d__10.MoveNext()
— End of stack trace from previous location where exception was thrown —
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
在 Squirrel.Update.Program.d__4.MoveNext()<—
这个应该是由于用户名太长导致的,请新建一个较短的用户安装,之后可以把安装路径下的内容复制到其他位置使用