https://bugs.documentfoundation.org/show_bug.cgi?id=144034

            Bug ID: 144034
           Summary: winget installation doesn't work due to missing admin
                    priviliges.
           Product: LibreOffice
           Version: 7.2.0.4 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Installation
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: laslo.hausch...@web.de

Description:
Winget is the new package manager from Microsoft itself. LibreOffice can be
installed with cmd via 'winget install LibreOffice.LibreOffice'. 
However, the installation fails with an error report file. The important line
in it is "MSI (s) (AC:0C) [13:35:52:268]: Product: LibreOffice 7.2.0.4 - The
installation wizard cannot run correctly because you do not have sufficient
administrator rights for this system under the user you are logged in as."

Long story short, the headless installer must show the admin guide on Windows
because there is no way to run it as a user as administrator. Running cmd in
admin mode does not work because winget is a command that can only be run by
normal users.

Steps to Reproduce:
1.Install winget
2.Run command 'winget install LibreOffice.LibreOffice'

Actual Results:
Output of command:
Found LibreOffice [LibreOffice.LibreOffice].
This application is licensed to you by its owner.
Microsoft is not responsible for and does not license third-party packages.
Downloading
https://download.documentfoundation.org/libreoffice/stable/7.2.0/win/x86_64/LibreOffice_7.2.0_Win_x64.msi
  ██████████████████████████████ 323 MB / 323 MB
The installer hash was successfully verified
Package installation is started...
Installer failed with exit code: 1603
Installer log is available at:
C:\Users\MyNameIsPrivate\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-LibreOffice.LibreOffice.7.2.0.4-2021-08-23-13-35-50.691.log

Expected Results:
Libreoffice should request admin privilges to run installer and then install.


Reproducible: Always


User Profile Reset: No



Additional Info:
No.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to