Postman Installation has failed: There was an error while installing the application

Hello,

I am having trouble installing postman on my Windows 11 PC. I have downloaded installer for the latest version at first, and when i start installation, i get an error.

postman error

I have also tried older versions, but i get the same error. I tried installing it on one of my VMs running windows server 2019, and it worked as expected.

My PC is joined to azure ad, but i have full admin privileges, and i also tried installing with local admin account, so i don’t think privileges are the issue here.

Has anyone had similar issue? I would really appreciate some help.

Here is the log file content:

2023-01-26 11:09:30> Program: Starting Squirrel Updater: --install . --checkInstall --source=PROPLUS --silent --exeName=Teams.exe
2023-01-26 11:09:30> RegistryService: TryGetRegKey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration\ProductReleaseIds exists. Data - O365BusinessRetail
2023-01-26 11:09:30> RegistryService: TryGetRegKey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration\AudienceData exists. Data - Production::CC
2023-01-26 11:09:30> RegistryService: TryGetRegKey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\LastScenario exists. Data - UPDATE
2023-01-26 11:09:30> RegistryService: RegKeyExists: HKEY_CURRENT_USER\Software\Policies\Microsoft\Cloud\Office\16.0\Teams does not exist
2023-01-26 11:09:30> Program: Registry value Software\Policies\Microsoft\Cloud\Office\16.0\Teams\PreventFirstLaunchAfterInstall does not exist
2023-01-26 11:09:30> RegistryService: RegKeyExists: HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Teams does not exist
2023-01-26 11:09:30> Program: Registry value Software\Policies\Microsoft\Office\16.0\Teams\PreventFirstLaunchAfterInstall does not exist
2023-01-26 11:09:30> RegistryService: RegKeyExists: HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Teams does not exist
2023-01-26 11:09:30> Program: Registry value Software\Microsoft\Office\16.0\Teams\PreventFirstLaunchAfterInstall does not exist
2023-01-26 11:09:30> Program: Registry flags are not set: proceed with default value NotConfigured
2023-01-26 11:09:30> RegistryService: RegKeyExists: HKEY_CURRENT_USER\Software\Microsoft\Office\Teams does not exist
2023-01-26 11:09:30> LogHost: Write failed.
2023-01-26 11:09:30> LogHost: Message: Scenario.Status: success, scenario: f6a914aa-68bf-4436-9322-804ec70b2868, Scenario.Name: desktop_squirrel_install, Scenario.Step: start, sequence: 0, appversion: 1.5.00.8070, platformId: 27, DeviceInfo.OsName: Windows, DeviceInfo.CpuArchitecture: x64, DeviceInfo.OsVersion: 10.0.22621.0, AppInfo.ProcessArchitecture: x86, AppInfo.ClientType: desktop, dllSearchPathState: unset, clientType: desktop, source: msi, distSrc: PROPLUS_O365BusinessRetail, breadcrumb: , ppChannel: Production::CC, ppInstallMode: UPDATE, autoStartGpoPolicy: NotConfigured, desktopSession: desktop-7ea063d7-bb57-4df3-a54f-8840f222ba4d, installSessionId: 31cd6559f57032d78f0483a2f0593cabdac060905e954ad6588d8b3fac819910, delta: 2, scenarioDelta: 2, elapsed: 1674727770101, stepDelta: 0, DeviceInfo.ComputerUuid: 03000200040005000006000700080009, DeviceInfo.OfficeMachineId: 471744970378f54a891f796a065f163e, InstallerVersion: 1.10.84.0, eventpdclevel: 1, userpdclevel: 0
2023-01-26 11:09:30> LogHost: Stack trace: System.IO.DirectoryNotFoundException: Could not find a part of the path ‘C:\Users\TS\AppData\Roaming\Microsoft\Teams\SquirrelTelemetry.log’.
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.StreamWriter…ctor(String path, Boolean append)
at Telemetry.AriaWrapper.LogToFile(String message)
2023-01-26 11:09:30> Program: Starting install, writing to C:\Users\TS\AppData\Local\SquirrelTemp
2023-01-26 11:09:30> Program: File does not contain contextual info: Teams.exe
2023-01-26 11:09:30> UpdateManager: using rootAppDirectory: C:\Users\TS\AppData\Local\Microsoft\Teams
2023-01-26 11:09:30> Program: About to install to: C:\Users\TS\AppData\Local\Microsoft\Teams
2023-01-26 11:09:30> Program: Setup.json exist, copying over
2023-01-26 11:09:30> RegistryService: RegKeyExists: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run has TeamsMachineInstaller. Data - C:\Program Files (x86)\Teams Installer\Teams.exe --checkInstall --source=PROPLUS
2023-01-26 11:09:30> RegistryService: TrySetRegKey: HKEY_CURRENT_USER\Software\Microsoft\Office\Teams\InstallSource created
2023-01-26 11:09:30> RegistryService: TrySetRegKey: HKEY_CURRENT_USER\Software\Microsoft\Office\Teams\InstallSource set successfully as MSI
2023-01-26 11:09:30> 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\TS\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()
2023-01-26 11:09:30> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path ‘C:\Users\TS\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.d__7.MoveNext()
2023-01-26 11:09:30> CheckForUpdateImpl: Reading RELEASES file from C:\Users\TS\AppData\Local\SquirrelTemp
2023-01-26 11:09:30> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2023-01-26 11:09:30> RegistryService: RegKeyExists: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Teams\ does not exist
2023-01-26 11:09:30> ApplyReleasesImpl: No delta packages found. Applying current release package.
2023-01-26 11:09:30> ApplyReleasesImpl: getting squirrel aware apps failed with exception Could not find a part of the path ‘C:\Users\TS\AppData\Local\Microsoft\Teams\current’.
2023-01-26 11:09:30> ApplyReleasesImpl: Writing files to app directory: C:\Users\TS\AppData\Local\Microsoft\Teams\current
2023-01-26 11:09:32> RegistryService: RegKeyExists: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Teams\ does not exist
2023-01-26 11:09:32> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\TS\AppData\Local\Microsoft\Teams\current\Teams.exe]
2023-01-26 11:09:35> ApplyReleasesImpl: About to RemoveOldShorcuts for Teams.exe, rootAppDir C:\Users\TS\AppData\Local\Microsoft\Teams
2023-01-26 11:09:35> ApplyReleasesImpl: Failed to remove old shorcut for: C:\Users\TS\AppData\Local\Microsoft\Teams\current\Teams.exe, exception message: Could not load file or assembly ‘System.ComponentModel.DataAnnotations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified.
2023-01-26 11:09:35> RegistryService: RegKeyExists: HKEY_CURRENT_USER\Software\Policies\Microsoft\Cloud\Office\16.0\Teams does not exist
2023-01-26 11:09:35> ApplyReleasesImpl: Registry value Software\Policies\Microsoft\Cloud\Office\16.0\Teams\PreventFirstLaunchAfterInstall does not exist
2023-01-26 11:09:35> RegistryService: RegKeyExists: HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Teams does not exist
2023-01-26 11:09:35> ApplyReleasesImpl: Registry value Software\Policies\Microsoft\Office\16.0\Teams\PreventFirstLaunchAfterInstall does not exist
2023-01-26 11:09:35> RegistryService: RegKeyExists: HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Teams does not exist
2023-01-26 11:09:35> ApplyReleasesImpl: Registry value Software\Microsoft\Office\16.0\Teams\PreventFirstLaunchAfterInstall does not exist
2023-01-26 11:09:35> ApplyReleasesImpl: Registry flags are not set: proceed with default value NotConfigured
2023-01-26 11:09:35> ApplyReleasesImpl: Starting fixPinnedExecutables
2023-01-26 11:09:35> ApplyReleasesImpl: Examining Pin: File Explorer.lnk
2023-01-26 11:09:35> ApplyReleasesImpl: Examining Pin: Microsoft Edge.lnk
2023-01-26 11:09:35> ApplyReleasesImpl: Fixing up tray icons
2023-01-26 11:09:35> 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__34_0(RegistryView view)
2023-01-26 11:09:35> 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__34_0(RegistryView view)
2023-01-26 11:09:35> 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()
2023-01-26 11:09:35> MeetingAddinInstaller: StagedAppDirectory does not exist. Using Current
2023-01-26 11:09:35> MeetingAddinInstaller: There is no version.txt. Falling back to getting version from folder name
2023-01-26 11:09:35> MeetingAddinInstaller: Version: 1.0.22062.1; addinPackageDirectory: 1.0.22062.1
2023-01-26 11:09:35> MeetingAddinInstaller: .dead exists: False
2023-01-26 11:09:35> MeetingAddinInstaller: path to .dead: C:\Users\TS\AppData\Local\Microsoft\TeamsMeetingAddin\1.0.22062.1.dead
2023-01-26 11:09:35> MeetingAddinInstaller: before cleanup unused versions
2023-01-26 11:09:35> MeetingAddinInstaller: Addin directory exists. Copy was successful
2023-01-26 11:09:35> MeetingAddinInstaller: Version 1.0.22062.1 of the meeting add-in is now installed
2023-01-26 11:09:35> PresenceAddinInstaller: Installing Teams Presence addin for Outlook…
2023-01-26 11:09:35> PresenceAddinInstaller: Copying C:\Users\TS\AppData\Local\Microsoft\Teams\current\resources\assets\tlb\Uc.tlb to C:\Users\TS\AppData\Local\Microsoft\TeamsPresenceAddin
2023-01-26 11:09:35> PresenceAddinInstaller: Copying C:\Users\TS\AppData\Local\Microsoft\Teams\current\resources\assets\tlb\Uc.win32.tlb to C:\Users\TS\AppData\Local\Microsoft\TeamsPresenceAddin
2023-01-26 11:09:35> PresenceAddinInstaller: check if UC TypeLib points to current\resources\assets\tlb\Uc.tlb
2023-01-26 11:09:35> PresenceAddinInstaller: Registering UC Typelib WIN32 under HKCU…
2023-01-26 11:09:35> PresenceAddinInstaller: UC Typelib WIN32 successfully registered to C:\Users\TS\AppData\Local\Microsoft\TeamsPresenceAddin\Uc.win32.tlb under HKCU!
2023-01-26 11:09:35> PresenceAddinInstaller: UC Typelib WIN64 is registered under HKLM and file exists. Registration not needed!
2023-01-26 11:09:35> PresenceAddinInstaller: IM Provider registry key has been created!
2023-01-26 11:09:35> ApplyReleasesImpl: cleanDeadVersions: for original version of and current version of 1.5.00.8070
2023-01-26 11:09:35> ApplyReleasesImpl: cleanDeadVersions: exclude current folder stage
2023-01-26 11:09:36> IEnableLogger: Failed to create uninstaller registry entry: System.IO.FileNotFoundException: Could not load file or assembly ‘System.ComponentModel.DataAnnotations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified.
File name: ‘System.ComponentModel.DataAnnotations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’
at NuGet.LocalPackage.ReadManifest(Stream manifestStream)
at NuGet.ZipPackage.EnsureManifest()
at NuGet.ZipPackage…ctor(String filePath, Boolean enableCaching)
at NuGet.ZipPackage…ctor(String filePath)
at Squirrel.UpdateManager.InstallHelperImpl.d__6.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.Utility.d__51`1.MoveNext()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

2023-01-26 11:09:36> Unhandled exception: System.AggregateException: One or more errors occurred. —> System.IO.FileNotFoundException: Could not load file or assembly ‘System.ComponentModel.DataAnnotations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified.
at NuGet.LocalPackage.ReadManifest(Stream manifestStream)
at NuGet.ZipPackage.EnsureManifest()
at NuGet.ZipPackage…ctor(String filePath, Boolean enableCaching)
at NuGet.ZipPackage…ctor(String filePath)
at Squirrel.UpdateManager.InstallHelperImpl.d__6.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.Utility.d__511.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 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at Squirrel.Update.Program.<Install>d__12.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.Wait() at Squirrel.Update.Program.executeCommandLine(String[] args) at Squirrel.Update.Program.main(String[] args) ---> (Inner Exception #0) System.IO.FileNotFoundException: Could not load file or assembly 'System.ComponentModel.DataAnnotations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. File name: 'System.ComponentModel.DataAnnotations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' at NuGet.LocalPackage.ReadManifest(Stream manifestStream) at NuGet.ZipPackage.EnsureManifest() at NuGet.ZipPackage..ctor(String filePath, Boolean enableCaching) at NuGet.ZipPackage..ctor(String filePath) at Squirrel.UpdateManager.InstallHelperImpl.<CreateUninstallerRegistryEntry>d__6.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.Utility.<LogIfThrows>d__511.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 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Squirrel.Update.Program.d__12.MoveNext()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
<—

2023-01-26 11:09:38> Setup: ERROR: there was an error while installing the application (see above)

I am also have same trouble installing postman on my pc. Can someone help me fix this problem.
Screenshot (821)

Facing same issue, How to fix this?

To anyone facing this same issue and has come to this thread.
I hope this helps.
Go to → C:\Users"User_name"\AppData\Local\SquirrelTemp

delete this folder, and try installing POSTMAN again, it will work.

This was the only solution I found working after troubleshooting it for weeks.

1 Like

sorry. do you have another solution? 'cause i don’t find AppData in my User folder :frowning:

It’s a hidden folder, so you will need to type it in manually.

I have tried to install postman
after deleting the squirrelTemp folder but the error is there, what i can do now?

run it as an administrator .

I’m facing the very same problem despite having deleted the squirrelTemp folder and trying to install it as administrator.

Has anyone managed to solve the problem?

I downloaded it from here and it solved the problem for me. Hope it helps.

Yes my problem was solved by customer support. She suggested me to uninstall previous postman and download the canary build of postman.

Capture
I tried above quires ,how to solve this?

Install Postman Canary. It worked for me. Postman Canary: For Mac, Windows, & Linux

1 Like

Thanks. It worked for me