Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Property ProductName does not exist at path #49

Open
hieuck opened this issue Apr 26, 2024 · 3 comments
Open

Bug: Property ProductName does not exist at path #49

hieuck opened this issue Apr 26, 2024 · 3 comments

Comments

@hieuck
Copy link

hieuck commented Apr 26, 2024

What should I do when I encounter this bug? Maybe the Mic has been fixed and we need to update.

Run the script again whenever you need to reinstall and update edge or webview..

C:\Program Files (x86)\Microsoft\EdgeWebView\Application\124.0.2478.51\Installer\setup.exe --uninstall --msedgewebview --system-level --verbose-logging --force-uninstall
C:\Program Files (x86)\Microsoft\Edge\Application\124.0.2478.51\Installer\setup.exe --uninstall --msedge --system-level --verbose-logging --force-uninstall
C:\Program Files (x86)\Microsoft\EdgeCore\124.0.2478.51\Installer\setup.exe --uninstall --msedge --system-level --verbose-logging --force-uninstall
gp : Property ProductName does not exist at path
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\99E80CA9B0328e74791254777B1F42AE.
At line:158 char:1

  • gp 'HKLM:\SOFTWARE\Classes\Installer\Products*' 'ProductName' |where ...
  •   + CategoryInfo          : InvalidArgument: (ProductName:String) [Get-ItemProperty], PSArgumentException
      + FullyQualifiedErrorId : System.Management.Automation.PSArgumentException,Microsoft.PowerShell.Commands.GetItemPr
     opertyCommand
    
    

C:\Program Files (x86)\Microsoft\EdgeUpdate\1.3.185.29\MicrosoftEdgeUpdate.exe /unregsvc
C:\Program Files (x86)\Microsoft\EdgeUpdate\1.3.185.29\MicrosoftEdgeUpdate.exe /uninstall

EDGE REMOVED! -GET-ANOTHER-BROWSER? ENTER: firefox -REINSTALL? ENTER: edge / webview / xsocial

@alias-lightheart
Copy link

By the looks of it yes, probably a patch will be required. That could potentially explain why my computer randomly had Microsoft Edge reinstall overnight, It was not even a Windows Update either, just straight up woke up and it was back, but hey man, I am just using this tool, I do not know how some of it works, may just be me.

@alias-lightheart
Copy link

The fact that its about a registry key in 'HKLM:\SOFTWARE\Classes\Installer\Products' and what-not. I will later tonight investigate where the registry key for the 'ProductName' thing matching Edge is located at and post it here.

@alias-lightheart
Copy link

Just so you know, after scanning I found that there is indeed no msedge based product under the known key 'HKLM:\SOFTWARE\Classes\Installer\Products' after running the Edge_Removal.bat script. It probably can just be removed entirely out of that script since what has resulted was unneeded by the looks of it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants