microsoft / winget-pkgs

The Microsoft community Windows Package Manager manifest repository
MIT License
8.33k stars 4.26k forks source link

winget upgrade - Citrix Workspace problem #128825

Open hmorandell opened 7 months ago

hmorandell commented 7 months ago

Brief description of your issue

Citrix Workspace is normally identified on systems as package name "Citrix.Workspace" in the winget repository.

On some systems, the package shows up as "CitrixOnlinePluginPackWeb"

Steps to reproduce

Citrix Workspace in my systems normally shows like the following

C:\Windows\System32>winget list | findstr Citrix
Citrix Workspace 2309                    Citrix.Workspace                          23.9.1.104                    winget

for some reason, on some systems the package name is different:

PS C:\Users\***********\Downloads\>  winget list | findstr Citrix
Citrix Workspace 2309                          CitrixOnlinePluginPackWeb                      23.9.1.104

when trying to do an update the operation fails:

C:\Users\***********>winget upgrade CitrixOnlinePluginPackWeb
No available upgrade found.

when trying to do an install instead always with the package name "CitrixOnlinePluginPackWeb" the output is as following:

C:\Users\**********>winget install CitrixOnlinePluginPackWeb
Multiple packages found matching input criteria. Please refine the input.

Name             Id                    Source
---------------------------------------------
Citrix Workspace Citrix.Workspace.LTSR winget
Citrix Workspace Citrix.Workspace      winget

the install for " CitrixOnlinePluginPackWeb" returns the package with ID "Citrix.Workspace".

this stucks me in the upgrade process via winget on multiple workstations

Expected behavior

when the package Citrix Workspace show up with "CitrixOnlinePluginPackWeb" it should upgrade the package Citrix.Workspace

Actual behavior

nothing is happening, running a winget upgrade --all ignores the Citrix Workspace completely

Environment

C:\Users\************>winget --info
Windows Package Manager v1.6.3133
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.2428
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.3133.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

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
stephengillie commented 7 months ago

This should be moved to the packages repo.

Dragon1573 commented 7 months ago

Package is installed by command winget install -e Citrix.Workspace -l D:\Applications\Citrix\Workspace\ . Everything seems normal.

D:\Workloads> winget.exe list | findstr.exe Citrix
Citrix Workspace 2309                         Citrix.Workspace                                23.9.1.104        winget
D:\Workloads> winget --info
Windows 程序包管理器 v1.6.3133
版权所有 (C) Microsoft Corporation。保留所有权利。

Windows: Windows.Desktop v10.0.22621.2715
系统体系结构: X64
软件包: Microsoft.DesktopAppInstaller v1.21.3133.0

Winget 目录
-------------------------------------------------------------------------------------------------------------------
日志                   %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
用户设置               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
可移植链接目录(用户)   %LOCALAPPDATA%\Microsoft\WinGet\Links
可移植链接目录(计算机) C:\Program Files\WinGet\Links
可移植包根目录(用户)   D:\Applications\WinGet\Packages\Users\
可移植包根目录         D:\Applications\WinGet\Packages\Machine\
可移植包根目录 (x86)   D:\Applications\WinGet\Packages\Machine\
安装程序下载           D:\Dragon1573\Downloads

链接
----------------------------------------------------------------------------
隐私声明             https://aka.ms/winget-privacy
许可协议             https://aka.ms/winget-license
第三方声明           https://aka.ms/winget-3rdPartyNotice
主页                 https://aka.ms/winget
Windows 应用商店条款 https://www.microsoft.com/en-us/storedocs/terms-of-sale

管理员设置                                状态
------------------------------------------------
LocalManifestFiles                        已启用
BypassCertificatePinningForMicrosoftStore 已禁用
InstallerHashOverride                     已禁用
LocalArchiveMalwareScanOverride           已启用
Dragon1573 commented 7 months ago

When trying to do an install instead always with the package name "CitrixOnlinePluginPackWeb" the output is as following:

C:\Users\**********>winget install CitrixOnlinePluginPackWeb
Multiple packages found matching input criteria. Please refine the input.

Name             Id                    Source
---------------------------------------------
Citrix Workspace Citrix.Workspace.LTSR winget
Citrix Workspace Citrix.Workspace      winget

The install for " CitrixOnlinePluginPackWeb" returns the package with ID "Citrix.Workspace".

This is because "CitrixOnlinePluginPackWeb" is matched as package Product Code.

D:\Workloads> winget search CitrixOnlinePluginPackWeb
名称             ID                    版本       匹配                                   源
-----------------------------------------------------------------------------------------------
Citrix Workspace Citrix.Workspace.LTSR 22.03.4000 ProductCode: citrixonlinepluginpackweb winget
Citrix Workspace Citrix.Workspace      23.9.1.104 ProductCode: citrixonlinepluginpackweb winget