|
|
|
|
#1 |
|
Junior Member
Join Date: Mar 2013
Posts: 23
|
execwait + silent
Hi,
I use ExecWait to execute a script.bat, it works withou any problem. Just I want having a silent execution, hide the windowµ. Can I have that please? Can you help me please. thx. |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
Quick sanity check: Why not just put the code from the .bat file into your installer? NSIS can do anything a batch file can.
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Mar 2013
Posts: 23
|
rew
I want doing that,
but in my .bat i have a condition if it depend of the valu return from executed command, in NSIS, can doing that ? my script is like : for /F %%i in ('perl.exe -Version') do set ver=%%i if "%ver%" EQU "perl not installed " goto install :install install perl |
|
|
|
|
|
#4 |
|
Major Dude
Join Date: Feb 2007
Posts: 672
|
You can get the printed text from a command with nsExec::ExecToStack (and skip batch file):
code: |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Jun 2013
Posts: 5
|
PHP Code:
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|