Installation of 6.1.0 in Win10 fails "The system cannot open the device or file specified."

Brilliant response!
I have looked before for a good Win32 utility for mass permissions control (ACL) with not much success. There are very good apps for Linux using ntfs-3g and perl but of course they wouldn’t easily port to Windoze. I have a dual-boot system and several USB boots with different distributions so I can sort it. What would you use to just list yours, as you offered? (Don’t waste any more of your time - I’m retired!)

To list permissions, I’d use something like

get-childitem c:\users\user -recurse | where{$_.PsIsContainer} | get-acl | Out-Gridview

taken from https://www.techrepublic.com/forums/discussions/need-script-to-list-folder-permissions-in-folder-tree-1/

This isn’t suitable to apply - I have never looked a tool for that.

By the way: please mark your answer as correct one - this will signal others (looking for a similar problem) that the question has a solving answer.

Sorry to bother again but I can’t see any such option - perhaps because I answered it myself?
Thanks for the Powershell tip - works well.

The checkbox in grey circle to the left of your answer should be used… see this answer.

Hi,

When installing LibreOffice 6.2.0 I’ve just got the same error: The system cannot open the device or file specified.

Follow the instructions ‘How to enable Windows Installer logging’. Put into Value data field all options: voicewarmupx.

Run the installer again.

After it fails, go into C:\Users\your_user_name\AppData\Local\Temp directory. Find in it the most recent .LOG file, something similar to MSI5093e.LOG.

The log will give you some clues about what and why the installer couldn’t open.

In my case I have C:\e directory mounted as E: drive. The installer or Windows 10, version 1809, I upgraded it on 2/17/2019, incorrectly interpreted E:\ path:

MSI (s) (D0:84) [23:11:07:693]: Error: Wrong Long Path Name:
E:\downloads\LibreOffice\LibreOffice_6.2.0_Win_x64.msi

MSI (s) (D0:84) [23:11:07:693]: Error: Wrong Path Name: \?\C:\e\downloads\LibreOffice\LibreOffice_6.2.0_Win_x64.msi

MSI (s) (D0:84) [23:11:07:693]: Error: This file path is updated, hence failing to create: E:\downloads\LibreOffice\LibreOffice_6.2.0_Win_x64.msi

MSI (s) (D0:84) [23:11:07:693]: Note: 1: 1309 2: 110 3: E:\downloads\LibreOffice\LibreOffice_6.2.0_Win_x64.msi
The system cannot open the device or file specified.

It is the first time after the Windows update I am installing LibreOffice. Something got changed. :frowning:
I’ve been installing LibreOffice from E: drive since version 4.0 without any problems.

This time I had to install it from C: drive.

PS. Don’t forget to remove Logging from Registry.

Just a hint: we have this FAQ, describing a logging method which does not require registry manipulations.

It is the first time after the Windows update I am installing LibreOffice. Something got changed. :frowning: I’ve been installing LibreOffice from E: drive since version 4.0 without any problems.

This change must be something in Windows Installer: we didn’t change anything related in LibreOffice. The problem seems to be that deferred install phase (i.e., which runs as a system service, not as current logger-in user) cannot find a drive that is mounted for current user only, not system-wide. That it worked previously, only means that the installer was copied to some (temporary?) location prior to the deferred stage, which for some reason (internal to Windows Installer) doesn’t happen now - did MS broke own per-user mount point detection?

Uninstall KB4489899, than everyhting works fine again.
We have the same situation here with a simulated disk drive:
reg ADD “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices” /v “D:” /t REG_SZ /d “??\C:[whattever]”

I just spend some time by trying the solution with permission and **moving to C: ** drive and disabling the languages packs. On Win7 this doesn’t work. Other programs MSI setups work fine. but I find the solution (Hallelujah). Just convert the MSI to exe with some online utility and it will be fine. The security risk of course. These problems with MSI repeated from time to time. What is the benefit of making MSI installers anyway? That you can use it as auto updates?

I had the same issue updating to LibreOffice 6.2.7.1 on my Win10 (10.0.18362.356); the previous version updated fine, but I can’t remember which version of Win10 I had.


The following fix worked for me:

  1. click on the properties of the folder where the LibreOffice installer is installed (in my case, it was the “Downloads” folder)
  2. Allow “SYSTEM” full control of the folder
  3. Re-run the installation



    As I mentioned above, this fixed the problem for me