We have been working on a project written in C++ for about half a year, and recently tried to run the finished product on a set of fresh systems. Some of the systems complained about missing the MSVCP140.dll libraries and likes and worked fine once those libraries were added onto those PCs, but most of them simply open and immediately closed our .exe file without any error messages.
We suspected those systems were also missing the libraries, but to our surprise they were already installed. We also tried installing the VC_redist64 packages on those PCs, but that didn't fix the problem either, leaving us with no idea what we're missing.
Sadly I cannot provide any more details, as we aren't given any errors to work from and lack the experience in actually providing programs for the end user, having only really done projects for college projects before now.
Edit: We have, via a new version of the set up/installer project, managed to get an output on a PC claiming that CreateDeviceAndSwapChain in DirectX11 failed an assert. We'll look into that and see if we manage to add DirectX to the installer and if that fixed the problem.
We have now resolved the issue. The installer had a couple of files missing, which would have caused issues and were found when running a debug version of the game via the installer.
This in turn led us to try sending a debug version of the game to the testers, which finally led us to the somewhat embarrassing revelation that we had missed removing the "D3D11_CREATE_DEVICE_DEBUG" flag from the release version of the game, causing the program to crash (without output in release mode) on non-developer PCs.
Removing this flag has resolved the issue and enables us to redistribute the game seemingly without issue.