winget-pkgs
winget-pkgs copied to clipboard
[Package Issue]: Mattermost.MattermostDesktop
Please confirm these before moving forward
- [x] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
- [x] I have not been informed if the issue is resolved in a preview version of the winget client.
Category of the issue
No applicable update found.
Brief description of your issue
On machines where User Level installation is disabled Mattermost.MattermostDesktop
which in the last 6 months introduced a .msi
based installer can't update on the machine/system scope because no updates are found:
update-WinGetPackage -Id $packageId -Source 'Winget' -Force -Mode Silent -Scope System -ErrorAction SilentlyContinue | fl
Id : Mattermost.MattermostDesktop
Name : Mattermost
Source : winget
CorrelationData :
InstallerErrorCode : 0
ExtendedErrorCode : System.Runtime.InteropServices.COMException (0x8A150010)
RebootRequired : False
Status : NoApplicableInstallers
And when trying to update on user scope:
update-WinGetPackage -Id $packageId -Source 'Winget' -Force -Mode Silent -ErrorAction SilentlyContinue | fl
Id : Mattermost.MattermostDesktop
Name : Mattermost
Source : winget
CorrelationData :
InstallerErrorCode : 1603
ExtendedErrorCode : System.Runtime.InteropServices.COMException (0x8A150049)
RebootRequired : False
Status : InstallError
The installer log file contains:
MSI (s) (F4:6C) [13:55:38:994]: Product: Mattermost -- Error 1934. User installations are disabled via policy on the machine.
Error 1934. User installations are disabled via policy on the machine.
Action ended 13:55:38: InstallFinalize. Return value 3.
Action ended 13:55:39: INSTALL. Return value 3.
Steps to reproduce
- Disable User installations on the machine with group policy or Intune.
- Try to install/update Mattermost.MattermostDesktop.
Actual behavior
The MattermostDesktop packing is not prepared to support Machine/System level installations even when the packaged .msi
installer is capable to do that.
the usage of msiexec.exe
helps but it's a terrible experience:
$installerPath = (resolve-path C:\Windows\TEMP\WinGet\defaultState\Mattermost.MattermostDesktop*\mattermost-desktop*.msi).path
msiexec.exe /jm $installerPath /quiet
Expected behavior
MattermostDesktop should be installable and updatable on System/Machine scope.
Environment
Windows Package Manager v1.9.25200
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22631.4751
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.24.25200.0
Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root C:\Program Files\WinGet\Packages
Portable Package Root (x86) C:\Program Files (x86)\WinGet\Packages
Installer Downloads %USERPROFILE%\Downloads
Links
---------------------------------------------------------------------------
Privacy Statement https://aka.ms/winget-privacy
License Agreement https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
Group Policy State
------------------------------------------------------------
Enable Windows App Installer Microsoft Store Source Disabled
Admin Setting State
--------------------------------------------------
LocalManifestFiles Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Disabled
LocalArchiveMalwareScanOverride Disabled
ProxyCommandLineOptions Disabled
DefaultProxy Disabled
Screenshots and Logs
=== Logging started: 16/01/2025 13:55:38 === Action start 13:55:38: INSTALL. Action start 13:55:38: FindRelatedProducts. Action ended 13:55:38: FindRelatedProducts. Return value 1. Action start 13:55:38: AppSearch. Action ended 13:55:38: AppSearch. Return value 1. Action start 13:55:38: LaunchConditions. Action ended 13:55:38: LaunchConditions. Return value 1. Action start 13:55:38: ValidateProductID. Action ended 13:55:38: ValidateProductID. Return value 1. Action start 13:55:38: CostInitialize. Action ended 13:55:38: CostInitialize. Return value 1. Action start 13:55:38: FileCost. Action ended 13:55:38: FileCost. Return value 1. Action start 13:55:38: CostFinalize. Action ended 13:55:38: CostFinalize. Return value 1. Action start 13:55:38: MigrateFeatureStates. Action ended 13:55:38: MigrateFeatureStates. Return value 0. Action start 13:55:38: WixCloseApplications. Action ended 13:55:38: WixCloseApplications. Return value 1. Action start 13:55:38: InstallValidate. Action ended 13:55:38: InstallValidate. Return value 1. Action start 13:55:38: RemoveExistingProducts. Action ended 13:55:38: RemoveExistingProducts. Return value 1. Action start 13:55:38: InstallInitialize. Action ended 13:55:38: InstallInitialize. Return value 1. Action start 13:55:38: WixCloseApplicationsDeferred. Action ended 13:55:38: WixCloseApplicationsDeferred. Return value 1. Action start 13:55:38: ProcessComponents. Action ended 13:55:38: ProcessComponents. Return value 1. Action start 13:55:38: UnpublishFeatures. Action ended 13:55:38: UnpublishFeatures. Return value 1. Action start 13:55:38: RemoveShortcuts. Action ended 13:55:38: RemoveShortcuts. Return value 1. Action start 13:55:38: RemoveFiles. Action ended 13:55:38: RemoveFiles. Return value 0. Action start 13:55:38: InstallFiles. Action ended 13:55:38: InstallFiles. Return value 1. Action start 13:55:38: CreateShortcuts. Action ended 13:55:38: CreateShortcuts. Return value 1. Action start 13:55:38: RegisterUser. Action ended 13:55:38: RegisterUser. Return value 1. Action start 13:55:38: RegisterProduct. Action ended 13:55:38: RegisterProduct. Return value 1. Action start 13:55:38: PublishFeatures. Action ended 13:55:38: PublishFeatures. Return value 1. Action start 13:55:38: PublishProduct. Action ended 13:55:38: PublishProduct. Return value 1. Action start 13:55:38: InstallFinalize. MSI (s) (F4:6C) [13:55:38:994]: Product: Mattermost -- Error 1934. User installations are disabled via policy on the machine.
Error 1934. User installations are disabled via policy on the machine. Action ended 13:55:38: InstallFinalize. Return value 3. Action ended 13:55:39: INSTALL. Return value 3.
MSI (s) (F4:6C) [13:55:39:025]: Product: Mattermost -- Installation failed.
MSI (s) (F4:6C) [13:55:39:025]: Windows Installer installed the product. Product Name: Mattermost. Product Version: 5.10.2.0. Product Language: 1033. Manufacturer: Mattermost, Inc.. Installation success or error status: 1603.