rcmaehl / MSEdgeRedirect

A Tool to Redirect News, Search, Widgets, Weather and More to Your Default Browser
https://MSEdgeRedirect.com
GNU Lesser General Public License v3.0
4.11k stars 94 forks source link

Messenger Windows App errors #94

Closed shanekelly55 closed 2 years ago

shanekelly55 commented 2 years ago

Check List

Install Type

Installed Mode

Describe the bug

If you had facebook and messenger apps installed then ran MSEdgeDirect whenever you get a new facebook message, even after uninstalling the apps, Chrome gets called and theres a URL for what looks to be an Edge link.

This site can’t be reached. Check if there is a typo in

"--winrt-background-task-event%3D..........................................."

To Reproduce Steps to reproduce the behavior:

  1. Install Facebook and Facebook Messenger M$ apps.
  2. Install MSEdgeRedirect
  3. UnInstall Facebook and Facebook Messenger M$ apps.
  4. Get a Facebook Message
  5. Chrome tab should open with the above error.

⚠️ File Upload ⚠️

  1. Leave edge open
  2. Open Powershell
  3. Run gwmi Win32_Process | where { $_.name -like "msedge*.exe"} | Select-Object CommandLine | Format-Table -Wrap -AutoSize | Out-File $env:LOCALAPPDATA\MSEdgeRedirect\logs\edge.txt
  4. Open %localappdata%\MSEdgeRedirect\logs
  5. Attach the log files

edge.txt URIFailures.log AppGeneral.log AppSecurity.log

Desktop (please complete the following information):

Additional context

Add any other context about the problem here.

shanekelly55 commented 2 years ago

Windows 11 Home Windows Build - 22000.556 Version - 21H2

shanekelly55 commented 2 years ago

I know its Facebook triggered since as soon as i get Facebook message, phone dings and chrome pops up with a failed URL.

rcmaehl commented 2 years ago

I'll see what I can reproduce, For now:

Run:

https://raw.githubusercontent.com/rcmaehl/MSEdgeRedirect/main/Assets/Cleanup%20Tool.ps1

When reinstalling: Make sure that Windows Store 'Apps' is deselected

rcmaehl commented 2 years ago

I think I see the issue. Apps are getting caught in the safeguards. I'll improve this for the next build. Neither setting for Windows Store Apps will be a valid workaround

shanekelly55 commented 2 years ago

THe script didnt work. Various errors like incorrect Path etc.

rcmaehl commented 2 years ago

THe script didnt work. Various errors like incorrect Path etc.

Some errors are to be expected.

rcmaehl commented 2 years ago

Please try the latest test build:

https://nightly.link/rcmaehl/MSEdgeRedirect/workflows/MSER/main/mser.zip

shanekelly55 commented 2 years ago

I can close Edge now but now the Facebook/Messenger messages engage the chrome tab again.

rcmaehl commented 2 years ago

I can close Edge now but now the Facebook/Messenger messages engage the chrome tab again.

I'll use the apps myself for a few days to reproduce.

rcmaehl commented 2 years ago

I can close Edge now but now the Facebook/Messenger messages engage the chrome tab again.

Try the latest test build now. Apparently there was an issue with command line handling that I've fixed

https://nightly.link/rcmaehl/MSEdgeRedirect/workflows/MSER/main/mser.zip

vanyamlb commented 2 years ago

I got the same error with Instagram

rcmaehl commented 2 years ago

I got the same error with Instagram

Will look into it!

rcmaehl commented 2 years ago

Please try the latest test build:

https://nightly.link/rcmaehl/MSEdgeRedirect/workflows/MSER/main/mser.zip

rcmaehl commented 2 years ago

I've been unable to reproduce on my end after d5584a6de0bd932b474c1a1a73140fc463e05303. If this is still an issue after trying the latest test build, please reopen the issue.