nsExec::Exec example
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4895 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
87d9c6d901
commit
196d1d0028
1 changed files with 8 additions and 0 deletions
|
@ -4,6 +4,14 @@ OutFile "nsExec Test.exe"
|
|||
|
||||
ShowInstDetails show
|
||||
|
||||
Section "Silent MakeNSIS"
|
||||
nsExec::Exec '"${NSISDIR}\makensis.exe"'
|
||||
Pop $0 # return value/error/timeout
|
||||
DetailPrint ""
|
||||
DetailPrint " Return value: $0"
|
||||
DetailPrint ""
|
||||
SectionEnd
|
||||
|
||||
Section "MakeNSIS commands help"
|
||||
nsExec::ExecToLog '"${NSISDIR}\makensis.exe" /CMDHELP'
|
||||
Pop $0 # return value/error/timeout
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue