My application will be launched by an installer during the installation process, probably using ShellExecute. I would like to get the name of the installer executable when it launches my application.
Can I from my application see a "parent process" somehow? Or can I scan the system for windows with a specific caption and get the name of the .exe owning that window?
This is for MS Windows, and my application is written in C++.