[Libreoffice-bugs] [Bug 134103] New: Windows Installer MSI package can not install if \Windows\Installer folder is a junction point or symbolic link to another location
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Jun 18 10:21:56 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=134103
Bug ID: 134103
Summary: Windows Installer MSI package can not install if
\Windows\Installer folder is a junction point or
symbolic link to another location
Product: LibreOffice
Version: 7.0.0.0.beta1+
Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Installation
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: joaopauloag-freedesktop at yahoo.com.br
Description:
Systems with a primary small SSD and a secondary bigger HDD which have the
"%SystemRoot%\Installer" folder moved (with the same owner and permissions) to
the HDD (for example "D:\Windows\Installer", or just "D:\Installer"), then
created a junction point or symbolic link redirecting the old path to the new
location are becoming common. However, the MSI package for LibreOffice
7.0.0.0.beta1 can not install if the folder is redirected and throws an error
message.
Steps to Reproduce:
1. Use a computer with Windows 10 version 1909 64 bits (Vista or newer and 32
bit OSes will probably get the same error, but I did not test on them) and two
storage devices: A primary SSD (C:) where Windows is installed and a secondary
HDD (D: or any other) to store non-executable files (user documents, media
files, etc.).
2. Open an elevated Command Prompt and execute the following, substituting "D:"
for your HDD letter:
MkDir D:\Windows
REM the next line will move the folder, its contents, and copy the security
permissions
RoboCopy.exe "%SystemRoot%\Installer" "D:\Windows\Installer" /Copy:DATSOU
/DCopy:DAT /Mir /MovE
REM the next line will create a junction point / to create a symbolic link, use
"/d" instead of "/j"
MkLink /j "%SystemRoot%\Installer" "D:\Windows\Installer"
REM to erase the junction point or directory symbolic link, use RmDir
"%SystemRoot%\Installer"
3. Open the MSI package for LibreOffice 7.0.0.0.beta1 (32 or 64 bits) and try
to install it.
Actual Results:
The installer can not copy the files, stops and throws the following error
messages:
"The system could not open the device or file specified."
And then:
"Internal error 2755. 110, D:\Windows\Installer."
Expected Results:
It was expected the MSI package copied itself to the path
"%SystemRoot%\Installer", effectively copying itself to "D:\Windows\Installer".
Reproducible: Always
User Profile Reset: No
Additional Info:
The MSI package for LibreOffice 6.4.4.2 (64 or 32 bits) could install correctly
with the redirection from "%SystemRoot%\Installer" to "D:\Windows\Installer" or
any other path chosen. Something changed while building the MSI package for
LibreOffice 7.0.0.0.beta1.
I will send the log generated with "MsiExec.exe /Package
LibreOfficeDev_7.0.0.0.beta1_Win_x64.msi /l*vx D:\LibreOffice7beta1.log".
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200618/00d73d91/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list