We've gotten a custom action that runs command-line to work as such:
<CustomAction Id="OurAction" FileKey="OurInstalledExe.exe" ExeCommand="our command line args" Execute="deferred" Return="check" />
The problem is, the user sees a console popup when the command runs.
The command line requires UAC elevation, but should not require any user interaction. We also install the file with the setup, the custom action runs After="InstallFiles".
How do we prevent the user from seeing the console?