The java program need to be display for it to work, so may not use sw_hide or any hide command, how do I offset the position of开发者_如何转开发 the console out of the screen? Is NSIS is able to do that?
Use nsExec::Exec instead of ExecWait. It will hide the console output. You can also use nsExec::ExecToLog to get the output printed directly into the NSIS log.
Other alternatives are the ExecCmd and ExecDos plug-ins. nsExec is bundled with NSIS.
精彩评论