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

Unable to install Class not registered error #12278

Closed
1 of 2 tasks
ccovey opened this issue Nov 15, 2024 · 2 comments
Closed
1 of 2 tasks

Unable to install Class not registered error #12278

ccovey opened this issue Nov 15, 2024 · 2 comments
Labels
msix Installer issue.

Comments

@ccovey
Copy link

ccovey commented Nov 15, 2024

Windows Version

Microsoft Windows [Version 10.0.22631.4391]

WSL Version

0.0.0.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

No response

Distro Version

No response

Other Software

No response

Repro Steps

run wsl.exe --install

Expected Behavior

WSL2 installs successfully.

Actual Behavior

Class not registered
Error code: Wsl/CallMsi/REGDB_E_CLASSNOTREG

Diagnostic Logs

WslLogs-2024-11-15_12-33-03.zip

Copy link

Your WSL installation appears to be in a bad state. Can you try running the following command to reinstall WSL (elevated powershell) and see if that solves the issue?

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/triage/install-latest-wsl.ps1" -OutFile install-latest-wsl.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\install-latest-wsl.ps1

View similar issues

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!

Closed similar issues:

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

Diagnostic information
Detected appx version: 2.0.14.0
Detected user visible error: Wsl/CallMsi/REGDB_E_CLASSNOTREG

@github-actions github-actions bot added the msix Installer issue. label Nov 15, 2024
@ccovey
Copy link
Author

ccovey commented Nov 15, 2024

The bots suggestion worked. If that was in docs or somewhere I should've noticed, sorry :)

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

No branches or pull requests

1 participant