Nov 20 2018 11:16 AM
i got below issue while installing. Please help me.
2018-07-12 20:12:28> Program: Starting Squirrel Updater: --install .
2018-07-12 20:12:29> Program: Starting install, writing to C:\Users\Admin\AppData\Local\SquirrelTemp
2018-07-12 20:12:29> UpdateManager: using rootAppDirecotry: C:\Users\Admin\AppData\Local\Microsoft\Teams
2018-07-12 20:12:29> Program: About to install to: C:\Users\Admin\AppData\Local\Microsoft\Teams
2018-07-12 20:12:29> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Admin\AppData\Local\Microsoft\Teams\packages\.betaId'.
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.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
at System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
at Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()
2018-07-12 20:12:29> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Admin\AppData\Local\Microsoft\Teams\packages\RELEASES'.
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)
at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
at Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__43.MoveNext()
2018-07-12 20:12:29> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Admin\AppData\Local\SquirrelTemp
2018-07-12 20:12:29> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2018-07-12 20:12:29> ApplyReleasesImpl: getting squirrel aware apps failed with exception Could not find a part of the path 'C:\Users\Admin\AppData\Local\Microsoft\Teams\current'.
2018-07-12 20:12:29> ApplyReleasesImpl: Writing files to app directory: C:\Users\Admin\AppData\Local\Microsoft\Teams\current
2018-07-12 20:12:44> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\Admin\AppData\Local\Microsoft\Teams\current\Teams.exe]
2018-07-12 20:12:55> ApplyReleasesImpl: Starting fixPinnedExecutables
Jan 04 2019 12:25 AM
C:\Users\Admin
yes I would say so....
Run it as the user, Teams need to run in the context of a logged in user.
Jan 04 2019 03:15 AM
SolutionI just cut/Delete the Teams folder from C:\Users\Admin\AppData\Local\ and pasted it some other location and installed the Teams. its worked.
Apr 02 2020 06:16 AM - edited Apr 02 2020 06:17 AM
Are you installing it for multiple users and do you have a software restriction policy in place?
Is so you would simply use the variable %LOCALAPPDATA%\Teams\ to allow everything you need these below:
%LOCALAPPDATA%\Teams\
Teams.exe
%LOCALAPPDATA%\Microsoft\Teams\
%LOCALAPPDATA%\SquirrelTemp\Update.exe
teams_windows_x64.exe
Oct 08 2020 03:56 PM
Hey @Reddy7 ,
I have been looking for a solution to this problem and I've tried almost every possible solution available on the internet from deleting the folders to clearing registries etc.
The only resolution I found was to copy these three folders Teams, TeamsMeetingAddin and TeamsPresenceAddin from someone who has a working Teams Desktop application (in my case I needed it from a Windows user) and paste it in the given location. C:\Users\<user>\AppData\Local\Microsoft.
I tried this solution because I saw an error related to this location in my SquirrelSetup logs.
Although this is a very old post but perhaps this can help someone like me who is looking for a solution. :)
Jan 29 2021 11:47 AM
I ran into the same issue. I simply deleted that %LOCALAPPDATA%\SquirrelTemp. Ran the Teams installation and it recreated that folder and then completed as expected.