This should be simple, I need to stop any previous version of my program from running when the installer starts.
Most people suggested making an exe wh
If you're using InnoSetup, you could look into getting your InnoSetup installer to do a Windows SendBroadcastMessage, and get your application to listen for that message. When your application receives the message, it should shut itself down.
I've done this myself with an InnoSetup installer, and it works very well.