We\'ve gotten a custom action that runs command-line to work as such:
Note that if you do require UAC elevation, then you need to ensure that it's a deferred execution CA. Here's the example from the manual with command line arguments added.
. . .