Winget Installation Does Not Support Machine Scope for Xournal++ #5983
Labels
bug
os::windows
Operating System Microsoft Windows
packaging
Related to distribution and packaging of Xournal++
Operating System
Windows 10
Installation Method
winget
Xournal++ Version
1.2.4
libgtk Version
3.24.43
Bug Description
I encountered an issue when trying to deploy Xournal++ across multiple workstations using winget. The problem is that Xournal++ cannot be installed using the --scope machine option in winget, which causes difficulties when deploying it in an enterprise environment where the software needs to be accessible to all users on a workstation. Attempting the command:
winget install Xournal++.Xournal++ --scope machine --source winget
results in an installation failure with an error code (e.g., 3221225477). As a result, the installation only works for the currently logged-in user, and not system-wide.
Expected Behaviour
When running the command:
winget install Xournal++.Xournal++ --scope machine --source winget
I expect Xournal++ to be installed system-wide, making it available for all users on the workstation. The software should be located in the C:\Program Files directory, and shortcuts should be automatically created in the Start Menu for all users, just as other applications installed via winget behave when using the --scope machine option.
Steps to Reproduce
Open an elevated PowerShell session (as Administrator) on a Windows workstation.
Run the following command:
winget install Xournal++.Xournal++ --scope machine --source winget
Observe that the installation fails with an error code (e.g., 3221225477) and does not install Xournal++ for all users on the machine.
Additional Context
To resolve this issue, I had to take several manual and inconvenient steps:
A native solution supporting machine-wide installation via winget would save significant time and effort in enterprise environments and improve the deployment and management experience for IT administrators.
The text was updated successfully, but these errors were encountered: