microsoft / winget-pkgs

The Microsoft community Windows Package Manager manifest repository
MIT License
8.45k stars 4.34k forks source link

[Package Issue]: Microsoft.Edge #99536

Open Silther opened 1 year ago

Silther commented 1 year ago

Please confirm these before moving forward

Category of the issue

Different install technology.

Brief description of your issue

The current Microsoft.Edge package downloads the MicrosoftEdgeEnterpriseX64.msi version, which is the enterprise version not used by most people. So it would make sense if you would change the name to Microsoft.Edge.Enterprise or install the normal not enterprise version with the Microsoft.Edge package.

Steps to reproduce

PS C:\Users\USER> winget show Microsoft.Edge
Found Microsoft Edge [Microsoft.Edge]
Version: 110.0.1587.69
Publisher: Microsoft Corporation
Publisher Url: https://www.microsoft.com/en-US/
Publisher Support Url: https://support.microsoft.com/en-us/microsoft-edge
Author: Microsoft Corporation
Moniker: microsoft-edge
Description: World-class performance with more privacy, more productivity, and more value while you browse.
Homepage: https://www.microsoft.com/en-us/edge
License: MIT License
License Url: https://www.microsoft.com/en-us/servicesagreement/
Privacy Url: https://privacy.microsoft.com/en-US/privacystatement
Copyright: Copyright (C) Microsoft Corporation
Copyright Url: https://www.microsoft.com/en-us/servicesagreement/
Tags:
  blink
  browser
  chromium
  edge
  web
  web-browser
Installer:
  Installer Type: wix
  Installer Url: https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/ec39329e-4889-4526-bee3-76706652f0b8/MicrosoftEdgeEnterpriseX64.msi
  Installer SHA256: dcb6413b96338e9dee5ae28385a11bd968076550c42f05e2c5264e4d7f86f695

Actual behavior

installs MicrosoftEdgeEnterpriseX64.msi

Expected behavior

installs the not enterprise version

Environment

Windows Package Manager v1.4.10173
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.1413
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.10173.0

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

User Settings: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json

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

Screenshots and Logs

No response

BrandonWanHuanSheng commented 1 year ago

I think there is no offline installer of MicrosoftEdgeOfflineSetup.exe but your PC must need to be connected to the internet to run MicrosoftEdgeSetup.exe. Offline Installer is only available for MSI but you must run as administrator to install MSI update

lychichem commented 1 year ago

I think there is no offline installer of MicrosoftEdgeOfflineSetup.exe but your PC must need to be connected to the internet to run MicrosoftEdgeSetup.exe. Offline Installer is only available for MSI but you must run as administrator to install MSI update

Offline installer do exist. However, it is generated as a temp file when using an msi installer, or fully upgrade edge from a very low version number. So the problem is how to get the temp file.

lychichem commented 1 year ago

I got a way to directly download Edge offline installer: https://bbs.kafan.cn/thread-2211296-1-1.html, maybe it will help solve the issue.

Silther commented 1 year ago

I got a way to directly download Edge offline installer: https://bbs.kafan.cn/thread-2211296-1-1.html, maybe it will help solve the issue.

Is Microsoft associated to kafan.cn?

lychichem commented 1 year ago

I got a way to directly download Edge offline installer: https://bbs.kafan.cn/thread-2211296-1-1.html, maybe it will help solve the issue.

Is Microsoft associated to kafan.cn?

No. kafan.cn is a Chinese technical BBS. this post discuss how to directly download edge offline installer.

stephengillie commented 1 year ago

image

This forum requires registration. Can you copy the instructions from there and paste here? Even untranslated, as we could use Internet translation software to understand.

lychichem commented 1 year ago

image

This forum requires registration. Can you copy the instructions from there and paste here? Even untranslated, as we could use Internet translation software to understand.

It's in vedantmgoyal2009/vedantmgoyal2009/#1203.

BrandonWanHuanSheng commented 10 months ago

But I found a cab file in https://catalog.s.download.windowsupdate.com/d/msdownload/update/software/updt/2023/10/microsoftedgeenterprisex64_acb5103fbb7bf253b1f7f51e25a6c4755a784c60.cab This one is a permanent link but the installer file will not remove until when the life was end of support after 10 Months. But this link change from time to time during upgrade but will not cause hash mismatch. I found this link on https://www.catalog.update.microsoft.com/Search.aspx?q=Microsoft%20Edge%20Stable But Windows Package Manager does not support cab file and msu file.

lychichem commented 10 months ago

But I found a cab file in https://catalog.s.download.windowsupdate.com/d/msdownload/update/software/updt/2023/10/microsoftedgeenterprisex64_acb5103fbb7bf253b1f7f51e25a6c4755a784c60.cab This one is a permanent link but the installer file will not remove until when the life was end of support after 10 Months. But this link change from time to time during upgrade but will not cause hash mismatch. I found this link on https://www.catalog.update.microsoft.com/Search.aspx?q=Microsoft%20Edge%20Stable But Windows Package Manager does not support cab file and msu file.

And this is a msi file inside. I want exe installer to install consumer version.

BrandonWanHuanSheng commented 10 months ago

Suppose need to extract MSI to find the name of binary.installers which is need to rename the extension to become exe file.