Cannot reinstall Microsoft Teams

Copper Contributor

Hi all,

 

I am facing an issue when i tried to reinstall Microsoft teams into my laptop. The following is the log file generated:

 

2020-04-30 08:08:31> Program: Starting Squirrel Updater: --install . --exeName=Teams_windows_x64.exe
2020-04-30 08:08:32> Program: Starting install, writing to C:\Users\Johnn\AppData\Local\SquirrelTemp
2020-04-30 08:08:32> Program: File does not contain contextual info: Teams_windows_x64.exe
2020-04-30 08:08:32> UpdateManager: using rootAppDirectory: C:\Users\Johnn\AppData\Local\Microsoft\Teams
2020-04-30 08:08:32> Program: About to install to: C:\Users\Johnn\AppData\Local\Microsoft\Teams
2020-04-30 08:08:32> Program: Install path C:\Users\Johnn\AppData\Local\Microsoft\Teams already exists, burning it to the ground
2020-04-30 08:08:34> Program: Setup.json exist, copying over
2020-04-30 08:08:34> RegistryService: RegKeyExists: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run does not have TeamsMachineInstaller
2020-04-30 08:08:34> Program: CheckMsiAndTryAddInstallSource: Not MSI, no need to add HKEY_CURRENT_USER\Software\Microsoft\Office\Teams\InstallSource
2020-04-30 08:08:34> 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\Johnn\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()
2020-04-30 08:08:34> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Johnn\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__2.MoveNext()
2020-04-30 08:08:34> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Johnn\AppData\Local\SquirrelTemp
2020-04-30 08:08:34> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2020-04-30 08:08:34> ApplyReleasesImpl: No delta packages found. Applying current release package.
2020-04-30 08:08:34> ApplyReleasesImpl: getting squirrel aware apps failed with exception Could not find a part of the path 'C:\Users\Johnn\AppData\Local\Microsoft\Teams\current'.
2020-04-30 08:08:34> ApplyReleasesImpl: Writing files to app directory: C:\Users\Johnn\AppData\Local\Microsoft\Teams\current
2020-04-30 08:09:21> IEnableLogger: Failed to install package to app dir: System.IO.IOException: There is not enough space on the disk.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.FileStream.Write(Byte[] arra

 

Many thanks to those who's able to help!

1 Reply

Hey @johnnylimcy 

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.