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

Microsoft Edge: install technology is different from the current version installed

Open emversch opened this issue 1 year ago • 8 comments

Brief description of your issue

A newer version was found, but the install technology is different from the current version installed. Please uninstall the package and install the newer version.

however I cannot uninstall Microsoft Edge to circumvent this error

Steps to reproduce

update Microsoft.Edge

Expected behavior

update Microsoft Edge to the latest version

Actual behavior

Microsoft Edge cannot update

Environment

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

Windows: Windows.Desktop v10.0.22631.3007
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.3482.0

Microsoft.Edge installed version: 121.0.2277.112

emversch avatar Feb 11 '24 11:02 emversch

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

github-actions[bot] avatar Feb 11 '24 11:02 github-actions[bot]

This issue is common when upgrading a package for the first time, if the installer type in the manifest isn't the same as what's installed. The root is that it's a bad idea to install with one technology (such as MSI) and then uninstall through another (such as Inno).

The solution here is to manually uninstall the software, then reinstall using the WinGet package manager. I thought there was an Issue to automate the manual uninstall, but I can't find it now.

stephengillie avatar Feb 12 '24 16:02 stephengillie

I understand that, but windows does not let me uninstall Edge

emversch avatar Feb 12 '24 18:02 emversch

I understand that, but windows does not let me uninstall Edge

It did let me uninstall it in my case - after I force-installed the winget source version of Edge side-by-side w/ the previous version: > winget install Microsoft.Edge --force

After that, I could uninstall the older msstore source version of Edge: > winget uninstall Microsoft.MicrosoftEdge.Stable_8wekyb3d8bbwe

This is what has worked for me. Now winget only lists one Edge version on my system - the newer one from the winget community repo.

My case is lil' bit different though because I was switching my Edge installation from msstore -> winget. Since you report your current Edge version is 121.x which hasn't landed in msstore yet, I guess you have rather a problem w/ updating Edge from one winget source version to another one and not from a msstore source version to a winget one.

But by the same analogy, since essentially force-installing the newer version side-by-side makes the older version uninstallation possible, could you try force-installing the newest version specifying the exact version w/ the -v,--version option instead of updating, and then uninstalling the older version, again specifying the exact version w/ the same option?

Callisos avatar Apr 05 '24 23:04 Callisos

I understand that, but windows does not let me uninstall Edge

It did let me uninstall it in my case - after I force-installed the winget source version of Edge side-by-side w/ the previous version: > winget install Microsoft.Edge --force

After that, I could uninstall the older msstore source version of Edge: > winget uninstall Microsoft.MicrosoftEdge.Stable_8wekyb3d8bbwe

This is what has worked for me. Now winget only lists one Edge version on my system - the newer one from the winget community repo.

My case is lil' bit different though because I was switching my Edge installation from msstore -> winget. Since you report your current Edge version is 121.x which hasn't landed in msstore yet, I guess you have rather a problem w/ updating Edge from one winget source version to another one and not from a msstore source version to a winget one.

But by the same analogy, since essentially force-installing the newer version side-by-side makes the older version uninstallation possible, could you try force-installing the newest version specifying the exact version w/ the -v,--version option instead of updating, and then uninstalling the older version, again specifying the exact version w/ the same option?

Similar situation here - I was unable to update Edge from an older Winget version to a newer Winget version. I force installed - and the older version just magically disappeared. Winget and Wingetui report that there are no updates to install, I have the latest versions. Thanks for the tip, I'm no longer banging my head on the desk.

Runaway1956 avatar May 04 '24 04:05 Runaway1956

i could never upate Microsoft.Edge with winget. i always open edge, click on three dots, help and feedback, info

hueldoeu avatar May 16 '24 12:05 hueldoeu