Share via

WindowsAppRuntimeInstall-x64.exe executing without errors but vs2022 still doesn't run

Anonymous
2025-03-19T15:45:36+00:00

Yesterday WindowsAppSDK updated ... again ...

Today when I tried to debug my apps, I got an error that the runtime needed to be updated. So I:

Downloaded the WindowsAppRuntimeInstall-x64.exe (note that the 'button' doesn't work)

Ran EXE and got the message it completed successfully (see below).

Cleaned and rebuilt app. same error.

restarted computer, same error.

reran EXE, same error

Microsoft Windows [Version 10.0.26100.3476]

INFO: Provisioning of WindowsAppSDK packages will be skipped as it requires elevation.

Installing license: MSIX_MAINPACKAGE_LICENSE

Install License result : 0x0

Installing license: MSIX_SINGLETONPACKAGE_LICENSE

Install License result : 0x0

All install operations successful.

Windows for home | Windows 11 | Install and upgrade

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Siva Shankar 10,970 Reputation points
2025-03-19T19:51:26+00:00

Okay , Once Download and install the latest version of the Windows App SDK from the official Microsoft page:

https://learn.microsoft.com/en-us/windows/apps/...

Corrupted Visual Studio cache can lead to issues like this. Try clearing the cache:

1: Close Visual Studio and navigate to the following folder:

%userprofile%\AppData\Local\Microsoft\VisualStudio{version}

2: Delete all files in the folder related to cache and temporary files.

3: Restart your PC and reopen Visual Studio.

Ensure all required dependencies are installed, especially if you are developing a UWP or WinUI app. Run the following in an elevated PowerShell prompt to ensure all required components are properly installed:

Get-WindowsCapability -Online | Where-Object { $_.Name -like 'Microsoft.WindowsAppRuntime*' } | Add-WindowsCapability -Online

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Anonymous
    2025-03-19T19:08:17+00:00

    I tried the Run as Administrator earlier. There is no WindowsAppRuntime.msix file on my pc. But there are many like this:

    Microsoft.WindowsAppRuntime.1.7.msix

    Microsoft.WindowsAppRuntime.DDLM.1.7.msix

    Microsoft.WindowsAppRuntime.Main.1.7.msix

    Microsoft.WindowsAppRuntime.Singleton.1.7.msix

    I could (and may) try your method to force register it ... using the first on the list because it is closest to your instruction; but, one of the others may be better.

    Was this answer helpful?

    0 comments No comments
  2. Siva Shankar 10,970 Reputation points
    2025-03-19T19:04:51+00:00

    Could you please let me know if you have tried to install with admin rights ?

    Was this answer helpful?

    0 comments No comments
  3. Siva Shankar 10,970 Reputation points
    2025-03-19T16:19:08+00:00

    Hello ,

    I’m here to help you in resolving your issue

    It looks like Windows App SDK isn't properly installed or registered, even though the installer claims success.

    1: Right-click WindowsAppRuntimeInstall-x64.exe(application installation file) > "Run as administrator"

    2: Restart and check if VS2022 works.

    If the runtime is installed but VS2022 doesn’t see it, force register it:

    1: Press Win +S > search for Powershell > Right click on it > click on Run as administrator > Run below commands

    Add-AppxPackage -Path "C:\Path\To\WindowsAppRuntime.msix"

    2: Replace "C:\Path\To\WindowsAppRuntime.msix" with the correct downloaded file path.


    After trying above steps, please reach out to me if you have any doubts or issues

    Help others by sharing your experience! Click “Yes” if this solution worked for you or “No” if it didn’t.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2025-03-19T16:10:45+00:00

    I'm still waiting for his reply,我还在等他的答复。哈哈全利用键盘都是好的。更新系统后键盘就没反应了,用鼠标打字。一

    Was this answer helpful?

    0 comments No comments