Created a program using NetFramework 4.0. On another computer, at startup, it says that you need to install this very NetFramework. Is it possible to somehow insert the necessary libraries into my program so that the program runs on all computers?
Can. Just add the .NET installation package to the set of redistributable files. An even more correct approach is to add a requirement with a link to the download in the msi installer package.