electron-archive / grunt-electron-installer

Grunt plugin to build Windows installers for Electron apps
MIT License
402 stars 106 forks source link

Install app fail on win10 system #127

Open susamcsx opened 7 years ago

susamcsx commented 7 years ago

When i get a install .exe file , it is all ok on win7 system , however , when i install the same exe on win10 system , it had something wrong like that ~ 597cd7a352ebbf46861685e973e9e341

then i open the Setup log , 2016-10-31 11:56:05> Program: Starting Squirrel Updater: --install . 2016-10-31 11:56:05> Program: Starting install, writing to C:\Users\DELL\AppData\Local\SquirrelTemp 2016-10-31 11:56:05> Program: About to install to: C:\Users\DELL\AppData\Local\zhitu 2016-10-31 11:56:05> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: 未能找到路径“C:\Users\DELL\AppData\Local\zhitu\packages.betaId”的一部分。 在 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, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) 在 System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) 在 System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) 在 System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost) 在 System.IO.File.WriteAllText(String path, String contents, Encoding encoding) 在 Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()

it seen something get wrong before CheckForUpdateImpl , how can i fix this problem ?

mocking3 commented 7 years ago

i have the same question

susamcsx commented 7 years ago

please close the McAfee on win10 and try again