I am unable to install teams, whenever I try to run the installer a popup that says update.exe not found comes up, and when I view setup logs it shows the following. any insight to why this might be happening will be very helpful. if it is of any use, attempting to install discord gives the exact same error popup.
Program: Starting Squirrel Updater: --install . --checkInstall --source=PROPLUS --silent --exeName=Teams.exe
Program: Starting install, writing to C:\Users\user\AppData\Local\SquirrelTemp
UpdateManager: using rootAppDirectory: C:\Users\user\AppData\Local\Microsoft\Teams
Program: About to install to: C:\Users\user\AppData\Local\Microsoft\Teams
Program: Setup.json exist, copying over
Program: File does not contain contextual info: Teams.exe
RegistryService: RegKeyExists: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run has TeamsMachineInstaller. Data - C:\Program Files (x86)\Teams Installer\Teams.exe --checkInstall --source=PROPLUS
RegistryService: TrySetRegKey: HKEY_CURRENT_USER\Software\Microsoft\Office\Teams\InstallSource created
RegistryService: TrySetRegKey: HKEY_CURRENT_USER\Software\Microsoft\Office\Teams\InstallSource set successfully as MSI
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\user\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()
CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\user\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()
CheckForUpdateImpl: Reading RELEASES file from C:\Users\user\AppData\Local\SquirrelTemp
CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
ApplyReleasesImpl: No delta packages found. Applying current release package.
ApplyReleasesImpl: getting squirrel aware apps failed with exception Could not find a part of the path 'C:\Users\user\AppData\Local\Microsoft\Teams\current'.
ApplyReleasesImpl: Writing files to app directory: C:\Users\user\AppData\Local\Microsoft\Teams\current
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\user\AppData\Local\Microsoft\Teams\current\Teams.exe]
RegistryService: TryGetRegKey: HKEY_CURRENT_USER\Software\Policies\Microsoft\Cloud\Office\16.0\Teams does not exist
ApplyReleasesImpl: Registry value Software\Policies\Microsoft\Cloud\Office\16.0\Teams\PreventFirstLaunchAfterInstall is not set
RegistryService: TryGetRegKey: HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Teams does not exist
ApplyReleasesImpl: Registry value Software\Policies\Microsoft\Office\16.0\Teams\PreventFirstLaunchAfterInstall is not set
RegistryService: TryGetRegKey: HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Teams does not exist
ApplyReleasesImpl: Registry value Software\Microsoft\Office\16.0\Teams\PreventFirstLaunchAfterInstall is not set
ApplyReleasesImpl: Registry flags are not set: proceed with default value False
ApplyReleasesImpl: Starting fixPinnedExecutables
ApplyReleasesImpl: Examining Pin: File Explorer.lnk
ApplyReleasesImpl: Fixing up tray icons
ApplyReleasesImpl: Couldn't rewrite shim RegKey, most likely no apps are shimmed: System.NullReferenceException: Object reference not set to an instance of an object.
at Squirrel.UpdateManager.ApplyReleasesImpl.<unshimOurselves>b__19_0(RegistryView view)
ApplyReleasesImpl: Couldn't rewrite shim RegKey, most likely no apps are shimmed: System.NullReferenceException: Object reference not set to an instance of an object.
at Squirrel.UpdateManager.ApplyReleasesImpl.<unshimOurselves>b__19_0(RegistryView view)
MeetingAddinInstaller: System.ArgumentException: Cannot delete a subkey tree because the subkey does not exist.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at Microsoft.Win32.RegistryKey.DeleteSubKeyTree(String subkey, Boolean throwOnMissingSubKey)
at Microsoft.Win32.RegistryKey.DeleteSubKeyTree(String subkey)
at Squirrel.MeetingAddinInstaller.<InstallMeetingAddinAsync>d__15.MoveNext()
MeetingAddinInstaller: StagedAppDirectory does not exist. Using Current
MeetingAddinInstaller: Version: 1.0.19231.3; addinPackageDirectory: 1.0.19231.3
MeetingAddinInstaller: .dead exists: False
MeetingAddinInstaller: path to .dead: C:\Users\user\AppData\Local\Microsoft\TeamsMeetingAddin\1.0.19231.3.dead
MeetingAddinInstaller: before cleanup unused versions
MeetingAddinInstaller: Addin directory exists. Copy was successful
MeetingAddinInstaller: Version 1.0.19231.3 of the meeting add-in is now installed
PresenceAddinInstaller: check if UC TypeLib points to current\resources\assets\tlb\Uc.tlb
ApplyReleasesImpl: cleanDeadVersions: for version 1.2.00.24753
ApplyReleasesImpl: cleanDeadVersions: exclude folder stage