I need to do different actions in installer if user runs the MSI from CMD and from GUI. Does someone knows how I can distinguish in run-time whether MSI was launched from Windows Explorer or CMD (unattended installation)?
The reason why I need to know this is that I need to make installer that will be executed in Unattended mode only if some parameter is set or in UI mode if user agreed with what I'm enforcing.