Detect user is running same setup from command line.
I have basic MSI setup. Let's say user has installed the setup on his PC and now he run the same setup again from command line in silent mode. How can I know what action is he trying to do, Meaning how can setup know if he run Repair, uninstall or most important trying to install it again as it is the first time he install it ? Is there a property I can use to get this info ? or a way to get the command user is trying to run from command line ?