Theldron Posted April 21, 2021 Posted April 21, 2021 Hi all, Having a problem in one of my schools, with Teams not updating itself. I have checked applocker and the Teams folder is added, as is the Update.exe. I have checked the Squirrelsetup logs but all I can see really is 2021-04-21 09:34:47> ApplyReleasesImpl: Couldn't run Squirrel hook, continuing: C:\Users\hidden\AppData\Local\Microsoft\Teams\stage\Teams.exe: Here is the rest of the log, if somebody, can see something I have missed. 2021-04-21 09:08:41> Program: Starting Squirrel Updater: --createShortcut=Teams.exe -l=StartMenu,Desktop 2021-04-21 09:08:41> UpdateManager: using rootAppDirectory: C:\Users\hidden\AppData\Local\Microsoft\Teams 2021-04-21 09:08:41> ApplyReleasesImpl: About to create shortcuts for Teams.exe, rootAppDir C:\Users\hidden\AppData\Local\Microsoft\Teams 2021-04-21 09:08:41> ApplyReleasesImpl: Creating shortcut for Teams.exe => C:\Users\hidden\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Microsoft Corporation\Microsoft Teams.lnk 2021-04-21 09:08:41> ApplyReleasesImpl: About to save shortcut: C:\Users\hidden\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Microsoft Corporation\Microsoft Teams.lnk (target C:\Users\hidden\AppData\Local\Microsoft\Teams\Update.exe, workingDir C:\Users\hidden\AppData\Local\Microsoft\Teams, args --processStart "Teams.exe", toastActivatorCSLID d1b22d3d-8585-53a6-acb3-0e803c7e8d2a) 2021-04-21 09:08:41> ApplyReleasesImpl: Creating shortcut for Teams.exe => C:\Users\hidden\Desktop\Microsoft Teams.lnk 2021-04-21 09:08:41> ApplyReleasesImpl: About to save shortcut: C:\Users\hidden\Desktop\Microsoft Teams.lnk (target C:\Users\hidden\AppData\Local\Microsoft\Teams\Update.exe, workingDir C:\Users\hidden\AppData\Local\Microsoft\Teams, args --processStart "Teams.exe", toastActivatorCSLID d1b22d3d-8585-53a6-acb3-0e803c7e8d2a) 2021-04-21 09:08:41> ApplyReleasesImpl: Examining Pin: File Explorer.lnk 2021-04-21 09:08:41> ApplyReleasesImpl: Examining Pin: Microsoft Edge.lnk 2021-04-21 09:34:26> Program: Starting Squirrel Updater: --update C:\Users\hidden\AppData\Roaming\Microsoft\Teams\DownloadedUpdate\3539e54e816e9ef608af2e5e1f472a759899d7f9813e101bb6537f861cf646e8 2021-04-21 09:34:26> Program: Starting update, downloading from C:\Users\hidden\AppData\Roaming\Microsoft\Teams\DownloadedUpdate\3539e54e816e9ef608af2e5e1f472a759899d7f9813e101bb6537f861cf646e8 2021-04-21 09:34:26> UpdateManager: using rootAppDirectory: C:\Users\hidden\AppData\Local\Microsoft\Teams 2021-04-21 09:34:26> Program: About to update to: C:\Users\hidden\AppData\Local\Microsoft\Teams 2021-04-21 09:34:26> CheckForUpdateImpl: Generated new staging user ID: 93c0e6b7-b198-5688-b060-6d5bbd8c7b13 2021-04-21 09:34:26> CheckForUpdateImpl: Reading RELEASES file from C:\Users\hidden\AppData\Roaming\Microsoft\Teams\DownloadedUpdate\3539e54e816e9ef608af2e5e1f472a759899d7f9813e101bb6537f861cf646e8 2021-04-21 09:34:27> ApplyReleasesImpl: No delta packages found. Applying current release package. 2021-04-21 09:34:27> ApplyReleasesImpl: Writing files to app directory: C:\Users\hidden\AppData\Local\Microsoft\Teams\stage 2021-04-21 09:34:30> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\hidden\AppData\Local\Microsoft\Teams\stage\Teams.exe] 2021-04-21 09:34:47> ApplyReleasesImpl: Couldn't run Squirrel hook, continuing: C:\Users\hidden\AppData\Local\Microsoft\Teams\stage\Teams.exe: System.OperationCanceledException: The operation was canceled. at System.Threading.CancellationToken.ThrowOperationCanceledException() at Squirrel.Utility.<>c__DisplayClass11_0.b__0() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.Utility.d__11.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass16_1.<b__2>d.MoveNext() 2021-04-21 09:34:47> ApplyReleasesImpl: Starting fixPinnedExecutables 2021-04-21 09:34:47> ApplyReleasesImpl: Examining Pin: File Explorer.lnk 2021-04-21 09:34:47> ApplyReleasesImpl: Examining Pin: Microsoft Edge.lnk 2021-04-21 09:34:47> ApplyReleasesImpl: Fixing up tray icons 2021-04-21 09:34:47> 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.b__19_0(RegistryView view) 2021-04-21 09:34:47> 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.b__19_0(RegistryView view) 2021-04-21 09:34:47> 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.d__15.MoveNext() 2021-04-21 09:34:47> MeetingAddinInstaller: Version: 1.0.20339.4; addinPackageDirectory: 1.0.20339.4 2021-04-21 09:34:47> MeetingAddinInstaller: .dead exists: False 2021-04-21 09:34:47> MeetingAddinInstaller: path to .dead: C:\Users\hidden\AppData\Local\Microsoft\TeamsMeetingAddin\1.0.20339.4\.dead 2021-04-21 09:34:47> MeetingAddinInstaller: before cleanup unused versions 2021-04-21 09:34:47> MeetingAddinInstaller: Addin directory exists. Copy was successful 2021-04-21 09:34:47> MeetingAddinInstaller: Version 1.0.20339.4 of the meeting add-in is now installed 2021-04-21 09:34:47> PresenceAddinInstaller: check if UC TypeLib points to current\resources\assets\tlb\Uc.tlb 2021-04-21 09:34:47> ApplyReleasesImpl: cleanDeadVersions: for version 1.4.00.8872 2021-04-21 09:34:47> ApplyReleasesImpl: cleanDeadVersions: exclude folder stage 2021-04-21 09:34:47> ApplyReleasesImpl: cleanDeadVersions: exclude folder stage 2021-04-21 10:39:25> Program: Starting Squirrel Updater: --processStart Teams.exe 2021-04-21 10:39:26> Program: Detected that Teams.exe is already running for this user, will not try to promote the 'stage' folder 2021-04-21 10:39:26> Program: Want to launch 'C:\Users\hidden\AppData\Local\Microsoft\Teams\current\Teams.exe' 2021-04-21 10:39:26> Program: About to launch: 'C:\Users\hidden\AppData\Local\Microsoft\Teams\current\Teams.exe': 2021-04-21 10:46:50> Program: Starting Squirrel Updater: 2021-04-21 10:46:55> Program: Starting Squirrel Updater: 2021-04-21 10:46:59> Program: Starting Squirrel Updater: Thanks
Cache Posted April 22, 2021 Posted April 22, 2021 If it's Applocker causing it, the Event Viewer log's are really good - I think from memory you might need to allow the SquirrelTemp folder through it, alternatively add as a publisher rule: https://docs.microsoft.com/en-us/microsoftteams/applocker-in-teams
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now