postman Installation has failed: There was an error while installing the application. Check the setup log for more information and contact the author

时间:2024-09-22 19:35:08

Error msg:

Installation has failed: There was an error while installing the application. Check the setup log for more information and contact the author

Open setup Log:
-- ::> Program: Starting Squirrel Updater: --install .
-- ::> Program: Starting install, writing to C:\Users\w5659\AppData\Local\SquirrelTemp
-- ::> Program: About to install to: C:\Users\w5659\AppData\Local\GitHubDesktop
-- ::> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything:
xxxx

问题:

  之前安装的postman没有拆卸干净, 导致创建目录失败, 无法正常进行, 删除C:\Users\w5659\AppData\Local中的快捷方式即可

解决:

  cd C:\\Users\w5659\AppData\AppData\Local && rmdir /S /Q SquirrelTemp GitHubDesktop postman