Failed to Apply Patch 2017.1.3
已回答
I was prompted with an update notification yesterday for version 2017.1.3 (I'm currently on 2017.1.2 x64), but when I try to update, it ends up failing. It downloads the patch just fine, and closes out the IDE, but the java installer finished with this error dialog:
When I click proceed it just says failed to apply patch, and the IDE starts back up again with the version I had before. I tried rebooting, thinking there was some weird file lock hanging out there, but get the same behavior.
Any ideas?
请先登录再写评论。
It could be that IntelliJ IDEA was installed from Administrator or updater cannot gain permissions from Windows to update the application directory (UAC issue?).
Try running IntelliJ IDEA as Administrator and update again.
Serge: That worked, it updated when I started it as Administrator. But is that something I'm going to have to do every time now? I've had IntelliJ on this computer at work since the middle of 2015, and gone through multiple update cycles, both major and minor. I've never encountered this before now.
No, patch installer should prompt for Administrator permissions automatically. Probably a bug, I'll ask the responsible developer to have a look. So far you are the first to report it. I guess there would be much more reports in case it affected everyone on Windows.
What Windows version do you have? Did you install the latest Creators update?
I have Windows 7 Enterprise. I'm not sure what you mean by Creative update.
Thanks for the information. It doesn't apply to you then (it's the name of the latest Windows 10 release).
Thanks for your help
There was similar problem reported and fixed several years ago: https://youtrack.jetbrains.com/issue/IDEA-121418. Could be a regression.