winget-pkgs icon indicating copy to clipboard operation
winget-pkgs copied to clipboard

[Package Issue]: ZoomUMX

Open mbodm opened this issue 4 years ago • 11 comments

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

Other

Brief description of your issue

Hey,

if you have installed the standard Zoom application, downloaded from https://explore.zoom.us and then doing some winget list the output will say the installed package ID is ZoomUMX. But when you do some winget search --exact --id ZoomUMX WinGet says it´s not a valid package ID. For better explanation just have a look at the attached screenshot.

Best regards, MBODM

Steps to reproduce

  • Install standard Zoom application from https://explore.zoom.us
  • winget list
  • winget list --exact --id ZoomUMX
  • winget search --exact --id ZoomUMX

Actual behavior

Actual.txt

Expected behavior

Expect.txt

Environment

C:\Users\Marcel\Desktop\Go\projects\wingetupd>winget --info
Windows-Paket-Manager v1.2.10271
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.

Windows: Windows.Desktop v10.0.19044.1706
Paket: Microsoft.DesktopAppInstaller v1.17.10271.0

Protokolle: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
-----------------------------------------------------------------------------------------
Datenschutzerklärung              https://aka.ms/winget-privacy
Lizenzvereinbarung                https://aka.ms/winget-license
Hinweise von Drittanbietern       https://aka.ms/winget-3rdPartyNotice
Startseite                        https://aka.ms/winget
Windows Store Nutzungsbedingungen https://www.microsoft.com/en-us/storedocs/terms-of-sale


Environment:
- Windows 10 Pro 21H2 Build 19044.1706
- WinGet
- Zoom Application (installed from https://explore.zoom.us)

Screenshots and Logs

Zoom

mbodm avatar May 23 '22 20:05 mbodm

It seems that you used regular exe installer of zoom. In winget we only use msi installer of zoom. Due to the installer difference it is unable to perform upgrade.

KaranKad avatar Jun 01 '22 04:06 KaranKad

Hmm,

thats a little bit „problematic“ or let‘s say „uncomfortable“. Since many ppls have many applications already installed, when starting the use of WinGet, this would mean, they have to uninstall their already existing application and re-install it with WinGet.

That said, it seems a lot of the other entries in repository don‘t have this problem. In example i can install

  • Firefox
  • VS Code
  • Visual Studio
  • HWMon

and others by hand (download it from the company‘s site and run the installer/setup). Then using WinGet with the apropriate package IDs, to update these apps. And everything works fine.

Seems this is rather special with Zoom. Don‘t know what the most simplistic solution is. Maybe the WinGet team could just offer 2 different package IDs, that lead to the same update process ? I think it’s ok for peoples to use Zoom.ExeSetup (in example) as package ID, to update „their“ Zoom, when they installed Zoom from Setup. While peoples that installed Zoom by WinGet use the actual Zoom.Zoom package ID. But i have no clue, if that’s easy to implement on the WinGet team‘s side.

The reason why i said this is: There seems no problem with the install or update process of Zoom via WinGet per se. I am rather sure „if“ WinGet would start updating Zoom, everything would work as usual. It‘s just the very tiny gap between detection of installed Zoom and the corresponding WinGet package ID.

What i wanna say: The „installer difference“ you mentioned, seems just to be a tiny key-value problem. WinGet just have to realize for [insert manual installed Zoom installer ID here] it has to use it’s already existing Zoom.Zoom package ID. To me, this seems rather easy to accomplish.

I hope my rather bad english was ok enough, to get what i mean. 😜

Best wishes 👋

mbodm avatar Jun 01 '22 05:06 mbodm

@MBODM I believe the issue is related to the installer type. If a different installer type referenced in the manifest for upgrade is different from what was detected as the installer type used to place the application on the system we can't be sure the upgrade behavior will be a good experience.

When the installer is an MSIX for example, upgrade is generally seamless to another MSIX installer. This is generally also true when going from MSI to MSI or EXE to EXE. Things don't go quite as smoothly when the original installer used on the system was an .exe based installer, and the one in the Windows Package Manager Community Repository is an MSI based installer. There are things that essentially won't work properly with an unattended upgrade.

During the upgrade scenario, we don't have sufficient information to know if switching the installer technology will perform an upgrade properly or not. Generally, we provide a warning to indicate that the installer type has changed. Rather than just uninstalling the older version by default (without being specified in the manifest) we risk losing user data, so we halt and inform.

denelon avatar Jun 02 '22 15:06 denelon

In the specific case of Zoom installed on the system, we need to display something for the ID even if we don't necessarily have a valid match of a manifest with that particular ID. It's an area we're working on. You will see several PRs mentioning matching heuristics.

denelon avatar Jun 02 '22 15:06 denelon

@denelon Hey, i understand where you coming from. And good to hear that something happens in that regards (heuristics), since this maybe could happen or had happened to other applications too. 😄

What i am wondering about, is how this did happened at all. Because it must mean, the default installation way on Zoom‘s side is NOT the same thing, your manifests use for Zoom. Because i was just at the website of Zoom and they automatically offered me that Setup/Installer i used. So i always thought this must be „the“ official or default installer, you use in your manifest too. Because why Zoom should offer me anything else than that?

So, maybe it’s something strange that happens on their (Zoom’s) side. And, for whatever reason, they offering another installer, when you just using their website, than the ones they declare as their standard downloadable installer setup files, you use in the manifest.

Did you ever tried this?

And second question: Which „thing“ WinGet targets, on Windows, is compared with which entry in the manifest?

Do you compare the ProductCode: '{D1965A93-9C23-4B7A-90F3-B466802A1454}' entry in manifest, to the same ProductCode find on the local Windows machine? And where do i find this for my installed Zoom app in Windows? Registry entry?

This is the manifest file for Zoom:

PackageIdentifier: Zoom.Zoom
PackageVersion: 5.9.3931
Platform:
- Windows.Desktop
MinimumOSVersion: 10.0.0.0
InstallerType: msi
Scope: machine
InstallModes:
- interactive
- silent
- silentWithProgress
UpgradeBehavior: install
Installers:
- Architecture: x64
  InstallerUrl: https://cdn.zoom.us/prod/5.9.7.3931/x64/ZoomInstallerFull.msi
  InstallerSha256: 166FF8C1E5A58C0343F9E979E390F25A23A4B743690B4500AB60DC52844DFE93
  ProductCode: '{EEE9DDCC-1BAD-4517-B6DF-CB4F8401A0DA}'
- Architecture: x86
  InstallerUrl: https://cdn.zoom.us/prod/5.9.7.3931/ZoomInstallerFull.msi
  InstallerSha256: 9841F6DD168C80DF00579767F7149580AE5029D0B46540058B2AC123207265B1
  ProductCode: '{D1965A93-9C23-4B7A-90F3-B466802A1454}'
ManifestType: installer
ManifestVersion: 1.1.0

I am just curious, what 2 (or more) things WinGet compares, when deciding if it‘s that package or not. And i have too sparse free time, at the moment, to analyze the source code of WinGet to find it. 😉

mbodm avatar Jun 02 '22 16:06 mbodm

Depending on installer type: Package Family Name - MSIX Product Code - MSI Upgrade Code - MSI displayName - .exe diasplayVersion - .exe Other registry keys are being added.

denelon avatar Jun 02 '22 20:06 denelon

Ah understand, thx!

So in case of Zoom.Zoom the WinGet app compares Product and Upgrade code (since Zoom seems to be a MSI setup.exe). But what entry is UpgradeCode in the repository? Or is this hardcoded in WinGet?

I assume in case of Zoom, WinGet just compares the ProductCode: '{EEE9DDCC-1BAD-4517-B6DF-CB4F8401A0DA}' from above posted repository. Is this correct?

Also i can just find this download link at Zoom (which theoretically should lead to the download link in above repository entry): https://zoom.us/download?os=windows Seems they have not some „classic“ site, showing the download links, used in above Zoom.Zoom repository yaml file.

mbodm avatar Jun 05 '22 03:06 mbodm

It seems that you used regular exe installer of zoom. In winget we only use msi installer of zoom. Due to the installer difference it is unable to perform upgrade.

May i ask where you find that download links at Zoom? To be honest, the Zoom.Zoom repository is the only location, i can even find that links to the MSI installer package. Everything else (i.e. Zoom website) comes up with a .exe installer.

What i wanna say: It seems WinGet compares stuff from a installed MSI package, that no „normal“ person can find in the interwebz. This leads to the fact, that you either install Zoom with WinGet, before you can update it. Or you install what Zoom website offers you and you get WinGet errors that prevent you from updating.

Both options sound a bit … mhhh. 😉

mbodm avatar Jun 05 '22 04:06 mbodm

Installers are from their website at https://zoom.us/download under Download for IT Admin image

We do try to add all installers if possible for example with Firefox and VLC we have both exe andmsi both of them support silent install. But with Zoom the exe version does not have silent install switch (Or that I'm not able to find). Although Zoom installer does not require any user interaction other that launching it (Which is how silent install behaves) It launches the application after installation is done. So every time you upgrade Zoom using winget the application will launch with it.

KaranKad avatar Jun 05 '22 08:06 KaranKad

Ah, now i understand.

I understand even 2 things:

  1. The last days i typed this on my Apple iPad tablet. Since iOS sends a user-agent of Mac, i don’t see, on that download center page, what you see. Self-pawned! 😄

  2. I can understand why you decided to support the MSI package instead of the Exe installer (silent install switch). Makes sense. Thx for that explanation! Sadly, most ppl, when installed Zoom their first time, had for sure not clicked on „for IT admins“ and therefore have the same problem like me. Maybe some comment in the repository could help, to inform that a typical default Zoom install from website uses Exe installer and therefore not works with WinGet.

But just for myself this is enough info. Thx for that! I already deinstalled Zoom (the ZoomUMX named version) and installed it via MSI installer again. And now the winget upgrade works. I don’t wanna know how many ppls out there already ran into the same issue. 😄

Thx a lot for all the help, the good and deep informations and for being that active in the community. Highly appreciated!

mbodm avatar Jun 05 '22 10:06 mbodm

I have added the exe installer to the manifest. Both types of installer should be upgradable now.

SpecterShell avatar Oct 30 '22 08:10 SpecterShell