I was afraid you were going to say that.
Without an error message it’s going to be hard to work out. I had a program that did that, and it did start once in maybe 100 starts, but I never got to the bottom of it. The program worked on another PC.
Other than removing it, reboot, and reload, I’m not going to be much help.
Did you load the runtime?
There are general “program close after opening Win7” on Google.