Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get command output in NSIS?

Tags:

nsis

I'm wondering, how do I get the output of an execwait command in NSIS. For example, if I run tree, how would I get the output, which would be the actual tree?

like image 477
noryb009 Avatar asked Oct 25 '10 19:10

noryb009


People also ask

How do you compile NSIS?

nsi file by simply right-clicking on it in Explorer and selecting 'compile'. If you want to use MakeNSIS on the command line, the syntax of makensis is: makensis [ option | script.

What is a NSIS script?

1.1 About NSIS NSIS (Nullsoft Scriptable Install System) is a tool that allows programmers to create such installers for Windows. It is released under an open source license and is completely free for any use.


1 Answers

You can't do that with ExecWait, you have to use one of the plugins: nsExec, ExecDos or ExecCmd

like image 79
Anders Avatar answered Oct 17 '22 03:10

Anders