Executing external executable to run and wait till it finishes and continue the setup using NSIS
Posted
by
Ramesh
on Stack Overflow
See other posts from Stack Overflow
or by Ramesh
Published on 2012-06-04T04:24:18Z
Indexed on
2012/06/04
4:40 UTC
Read the original article
Hit count: 255
nsis
I am new to NSIS install creator and I need to run an external executable because this is an prerequisite and once it if finished i will be continuing the setup. I tried the below code but it just copies the exe to the installation path.
Section "example" example
SetOutPath "$INSTDIR"
MessageBox MB_OK \
"The applications."
File "Prerequisites\setup.exe"
ExecWait '"exec" /i "$INSTDIR\setup.exe" /passive'
SetRebootFlag true
SectionEnd
© Stack Overflow or respective owner