• Register
0 votes
349 views

Problem :

I was trying to install an application in Windows it produces the following message:
error opening installation log file. verify that the specified location exists and is writable
6 5 3
6,930 points

Please log in or register to answer this question.

2 Answers

0 votes

Solution :

I had encountered similar issue recently.

After researching on it i found following solution on your issue:

  1. Press CTRL-ALT-DEL and launch Task Manager or you can right-click Desktop Task Bar and choose Start Task Manager.
  2. Click on Processes Tab.
  3. Now locate and select the explorer.exe and click End Process.
  4. After doing that you may need to select ShowProcesses from all users.

Task manager

  • Now Click End Process to the prompt
  • Your Desktop Icons and Desktop Bar should disappear.
  • Hit CTRL-ALT-DEL to launch the Task Manager again.
  • Now Click on File -> New Task (Run...).
  • Type the explorer.exe and click Ok.
  • Now finally your Desktop Task bar and Icons should  appear again.

New task

9 7 4
38,600 points
0 votes

Solution:

This is a super simple solution:

Task Manager to kill explorer.exe, and then begin a new example of it.

  1. Hit CTRL-ALT-DEL to launch Task Manager or right-click Desktop Task Bar and select Start Task Manager.

  2. Click On Processes Tab.

  3. Allocate and choose the explorer.exe, click End Process.

  4. You may require to choose Show Processes from all users.

  • Click on End Process to the prompt.

  • Your Desktop Icons and Desktop Bar will vanish.

  • Press 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 must seem again.

You can encounter this error in case TMP and TEMP directories are several. This can result in installer files being written to TMP however at the time trying to read those files employing the TEMP value you view in the error.

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

set TEMP=%tmp%

and then run the installation again

Else, it seems like an operating system permission problem.

This can happen in case Windows Installer Logging is enabled, however the Windows Installer engine cannot rightly write the uninstallation log file. This condition can happen in case the Windows Installer's application heap becomes freed and thus loses the information on where to store the log file. At the time this happens, Windows Installer tries to write to the location 'C:\Windows\System32' and addresses it as a file. Exact behavior would be to write to the following location and file name: 'C:\Users\<username>\AppData\Local\Temp\MSIxxxxxx.log'.

What reasons ‘Error opening installation log file’?

As discussed above, this error is related to logging of Windows Installer. Logging is originally keeping track of all the installs and uninstalls and storing them. This method you can obtain the technical details in a text document. A detailed list of why this error might happen is:

  • The Windows Installer module is having trouble keeping a log of installs and uninstalls since it doesn’t know where to store the file.

  • The Installer is either corrupt or its installation file are absence.

  • Windows Explorer is instantly related in all of Windows Installer workings. It may be in an error situation.

Before you move on with the solutions, make sure that you have administrator privileges. We might be executing few command prompt statements which may require elevated status.

 1: Running the application’s uninstaller

Before you move on to the detailed solutions, it should be noted that it is always recommended to uninstall a program employing its own uninstaller. At the time you uninstall a program employ the Windows Application manager, it might not always launch the application’s native uninstaller application. At the time you employ the application’s native uninstaller, it bypasses all these issues which Windows Installer encounters and uninstalls the program rightly after removing all the files. You can trace the application’s uninstaller by navigating to its directory and allocate the file ‘uninstall.exe’. Run it and ensue the on-screen instructions. Ensure that that you have administrator access.

 2: Restarting Explorer.exe

Explorer.exe is the method of Windows Explorer which is more like a file manager. But, unlike other easy file managers, it also communicates and transfers information to other modules such as Windows Installer. In case it is corrupt or in an error state, you might experience the error message under discussion. Restarting Windows Explorer is also the official solve listed by Microsoft.

  1. Hit Windows + R to bring up the Run Type “taskmgr” in the dialogue box to bring up your computer’s task manager.

  2. At one time in the task manager, click on the “Processes” tab situated on the top of the new window.

  3. Currently allocate the task of Windows Explorer in the list of processes. Click on it and press the “Restart” button present at the bottom left side of the window.

  1. Afterwards restarting Windows Explorer, attempt running the installation file again and check in case the error message is resolved.

  2. In case your file manager and desktop icons vanish, you can launch Windows Explorer again manually. Press Windows + R, type ‘explorer.exe’ in the dialogue box and press Enter.

3: Fixing TMP and TEMP directories

You might further experience this error in case the ‘TMP’ and ‘TEMP’ directories of the file are several. This will happen Windows Installer to write to TMP’ however at the time it will attempt to read them employing the attribute of ‘TEMP’, it will obtain an error and produced it to you. We can attempt referring the values of both towards the similar direction so the conflict gets resolved.

  1. Hit Windows + S, type “command prompt” in the dialogue box, right-click on it and Choose Run as administrator.
  2. At one time in the command prompt, execute the following statement.
set TEMP+%tmp%
  1. Presently attempt running the installation and view in case this fixes the problem.

Solution 4: Manually removing the log file

In case you still accept this error even after following the above two solutions, you can attempt to manually remove the INSTALL log file from the application’s directory. There are some instances where there is a log file meanwhile with the proper file names. In case this occurs, Windows Installer doesn’t replace it and provides an error message. We can attempt manually removing and view in case this takes the Installer out of its error state.

  1. Open your Program files in Local Disk C (this is the default location of installation files. In case you installed on few other disk, open that directory) and allocate your program.

  2. At one time in the program’s directory, seek for the file ‘INSTALL.txt’. At one time you allocate it, cut it and paste it to some other directory (like the Desktop).

  3. Currently attempt running the Installer again and view in case this fixed the problem.

In addition to the solutions mentioned above, you can also attempt the following fixes:

  • Running an SFC System File Checker will scan all your Windows files (adding Windows Installer) and solve any discrepancies (if present). Open an high command prompt and execute the following ‘sfc /scannow’.
  • Re-register Windows Installer or Reinstall In case Windows Installer is corrupt, you can refresh it manually. The reinstall might solve any missing parts or modules in the program. You can detailed information on how to do this in Microsoft’s official website.
10 6 4
31,120 points

Related questions

0 votes
1 answer 2 views
2 views
Problem: Please help me fix this dilemma: this installation package could not be opened. verify that the package exists&rdquo;?
asked Apr 5 tuhin1 48.4k points
0 votes
1 answer 4 views
4 views
Problem: I'm having trouble finding a solution; could you please assist me &ldquo;Cannot find the specified drawing file. please verify that the file exists&rdquo;?
asked Apr 5 tuhin1 48.4k points
0 votes
1 answer 4 views
4 views
Problem: I need someone to understand the problem and help me out of it:error updating com_installer_type_type_.
asked Apr 4 ashik 11.2k points
0 votes
1 answer 3 views
3 views
Problem: This is a dilemma that I need help with: this installation package could not be opened. contact the application vendor to verify
asked Apr 6 tuhin1 48.4k points
0 votes
1 answer 1 view
1 view
Problem: Can anyone tell me the solution of this problem? no handlers could be found for logger
asked 5 days ago Ifra 24.4k points
0 votes
1 answer 2 views
2 views
Problem: Is there someone who can help me solve this problem &ldquo;How to read data from excel in selenium webdriver using apache poi&rdquo;?
asked Mar 29 tuhin1 48.4k points
0 votes
1 answer 3 views
3 views
Problem: I am stuck with this ... Please help me that how to deal with this error? how to read data from excel in selenium webdriver using poi
asked Mar 25 Ifra 24.4k points
0 votes
1 answer 1 view
1 view
Problem: Can anyone suggest a solution,"error opening process the handle is invalid."
asked 4 days ago sumaiya simi 9.9k points
1 vote
1 answer 64 views
64 views
Problem : I am very new to Windows Services. Currently I am trying to create a custom windows service. I am trying to create the deployment package using the InstallShield and also the installation prompts for a user name and a password for a service Log On account. I did not had ... ;t still confirm whether a issue is to do with a OS or it is specific to machine that I am trying to install it on.
asked Apr 25, 2020 stewart 4k points
0 votes
1 answer 2 views
2 views
Problem: Please assist me in resolving this issue: the path specified for the file is not valid
asked 4 days ago tuhin1 48.4k points