Windows 10 build missing Visual C++

It has been a decade since I did something for Windows (then using Corona Cards), so a bit rusty.

I built an app for Windows 10, put it in the Windows app store (for desktop Windows 10), it was rejected saying it had a dependency: Visual C++ redistributable

Setup:

  • Windows 11
  • Solar2d 2024-3703

Build
Advanced Installer to make msi
MSIX Packaging Tool to make msix

Is there some switch or option I need in one of those steps to include the VC++ runtime?

Also, when I first built the exe on my new Windows machine, it gave an error that I was missing Visual C++. I installed Visual C++, and the exe worked.

I fixed it by adding a line in the description that it required Visual C++ redistributable. That made it accepted into the store.

3 Likes