question

skye-7817 avatar image
0 Votes"
skye-7817 asked SamirAliyev-2187 published

Unable to install teams?

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

office-teams-windows-itpro
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Salam dear.

Try to rename the 'SquirrelTemp' folder residing in 'C:\Users*your_username*\AppData\Local\' directory, and run the installation file again.

0 Votes 0 ·

Salam dear.

Try to rename the 'SquirrelTemp' folder residing in 'C:\Users*your_username*\AppData\Local\' directory, and run the installation file again.

0 Votes 0 ·
MichaelVi-24 avatar image
0 Votes"
MichaelVi-24 answered skye-7817 commented

Hi,
Where are you installing the file from i.e. c:\temp?
Is this a personal or corporate device?
The log shows several reg keys is not present, so what if you copy the key from another machine, will it install?

By default, all users should have the ability to install the Teams app as it goes to your c:\users\<username>\ etc so I'm wondering if you have the rights to install. If it is personal what happen if you launch cmd as admin and run the installation, does it install?

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,
I downloaded the teams app from the website and tried to run it from my downloads folder.
My device is a personal one, and I'm not sure how to copy the key from another machine as I do not have any other devices.
I should have rights to install as I am admin, but running as admin provides the same error message.

0 Votes 0 ·
SharonZhao-MSFT avatar image
1 Vote"
SharonZhao-MSFT answered SharonZhao-MSFT commented

@skye-7817,

What is your device information?

Do you try in other machines?
Does anyone else have the same issue with yours?

Uninstall Teams and remove files from the following locations:

  • %LocalAppData%\Microsoft\Teams

  • %LocalAppData%\Microsoft\TeamsMeetingsAddin

  • %AppData%\Microsoft\Teams

  • %LocalAppData%\SquirrelTemp

Then, perform a clean boot to exclude whether a background program is interfering with Teams if your system is Windows.
Try to install Teams again.


If the response is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

My laptop is an Acer Swift 3 SF314-51, and I have no other machines to try on, I don't know anyone who has the same issues as me.

There was no option to uninstall teams from my programs, but I deleted the downloaded file as well as removed files from

  • %AppData%\Microsoft\Teams

  • %LocalAppData%\SquirrelTemp

I was not able to locate any files/files did not exist from

  • %LocalAppData%\Microsoft\Teams

  • %LocalAppData%\Microsoft\TeamsMeetingsAddin

After that I performed a clean boot and downloaded teams from the website again but was met with an error message again.




0 Votes 0 ·

@skye-7817,
According to the error message, it shows that cannot find the paths:
C:\Users\user\AppData\Local\Microsoft\Teams\packages.betaId
C:\Users\user\AppData\Local\Microsoft\Teams\packages\RELEASES.
It recommends you do a double check of these two paths.

0 Votes 0 ·
Show more comments

@skye-7817,
Haven't received your update for a long time, any update now?
If the above suggestion helps, please be free to mark it as answer for helping more people.

0 Votes 0 ·