Skip to content
⌘ NSIS Forum Archive

command line output

2 posts

jbkielis#

command line output

Hello everyone, thank in advance for any help.

I am running the installer from the command line and I would like to output flag usage information if the user type something like "setup.exe /help". I can easily parse the command line options, but I can't seem to output information back to the command line in the form of text i.e.

dir>usage flags: /L /help /C

Any ideas? Would it be possible by using FindWindow and sending a command to the command line? If so, how?

Thanks.
Afrow UK#
You can't do this as the installer is a GUI application and not a CLI one.
You can just do what msiexec /? does which is to display a message box with usage details.

-Stu