windows 打开安装日志文件时出错。验证指定的位置是否存在且可写

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/24866379/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 11:40:02  来源:igfitidea点击:

Error opening installation log file. Verify that the specified location exists and is writable

windowslogginginstaller

提问by user3860869

Problem

问题

Attempting to install an application in Windows produces the following message:

尝试在 Windows 中安装应用程序会产生以下消息:

Error opening installation log file. Verify that the specified location exists and is writable.

打开安装日志文件时出错。验证指定的位置是否存在并且可写。

Solution

解决方案

When you try to install application, a temp folder will be created, e.g. Administrator\AppData\Local\{F2234F94-BDEB-4DBD-9ACB-D3AB5C8526C5} {F2234F94-BDEB-4DBD-9ACB-D3AB5C8526C5}. Go to this directory and double-click the .MSIfile and installation will restart and succeed.

当您尝试安装应用程序时,将创建一个临时文件夹,例如 Administrator\AppData\Local\{F2234F94-BDEB-4DBD-9ACB-D3AB5C8526C5} {F2234F94-BDEB-4DBD-9ACB-D3AB5C8526C5}. 进入该目录并双击该.MSI文件,安装将重新启动并成功。

回答by Ashi

This is a super easy solution:

这是一个超级简单的解决方案:

Task Manager to kill explorer.exe, and then start a new instance of it.

任务管理器杀死 explorer.exe,然后启动它的新实例。

Source: https://support.software.dell.com/kb/134431

来源:https: //support.software.dell.com/kb/134431

回答by uday

  1. Hit CTRL-ALT-DEL to launch Task Manager or right-click Desktop Task Bar and choose Start Task Manager.
  2. Click Processes Tab.
  3. Locate and select the explorer.exe, click End Process.
  4. You may need to select Show Processes from all users.
  1. 按 CTRL-ALT-DEL 启动任务管理器或右键单击桌面任务栏并选择启动任务管理器。
  2. 单击进程选项卡。
  3. 找到并选择 explorer.exe,单击结束进程。
  4. 您可能需要选择显示所有用户的进程。

Task manager

任务管理器

  • Click End Process to the prompt.
  • Your Desktop Icons and Desktop Bar will disappear.
  • Hit CTRL-ALT-DEL to launch Task Manager again.
  • Click File -> New Task (Run...).
  • Type explorer.exe and click Ok.
  • Your Desktop Task bar and Icons should appear again.
  • 单击“结束进程”到提示。
  • 您的桌面图标和桌面栏将消失。
  • 按 CTRL-ALT-DEL 再次启动任务管理器。
  • 单击文件 -> 新建任务(运行...)。
  • 键入 explorer.exe 并单击确定。
  • 您的桌面任务栏和图标应该会再次出现。

New task

新任务

回答by P4Shimada

You can encounter this error if TMP and TEMP directories are different. This can result in installer files being written to TMP but when attempting to read those files using the TEMP value you see in the error.

如果 TMP 和 TEMP 目录不同,您可能会遇到此错误。这可能会导致安装程序文件被写入 TMP,但在尝试使用 TEMP 值读取这些文件时,您会在错误中看到。

Confirm that both values are referring to the same path. For example, from a command prompt:

确认两个值都指向同一路径。例如,从命令提示符:

 set TEMP=%tmp%

and then run the installation again

然后再次运行安装

Otherwise, it looks like an operating system permission issue.

否则,它看起来像是操作系统权限问题。

回答by spakendralo man

If the procedure with stopping and starting explorer.exe fails, you can try:

如果停止和启动 explorer.exe 的过程失败,您可以尝试:

In Command Prompt type

在命令提示符类型中

echo %temp%

Go to the folder in the output and check whether it is accessible. In case it is a file, remove it.

转到输出中的文件夹并检查它是否可以访问。如果它是一个文件,请将其删除。