NSIS ExecWait返回值

ExecWait '"$INSTDIR\aa.exe"' $0 DetailPrint "程序返回了 $0"

ExecWait '"$INSTDIR\aa.exe"' $0

DetailPrint "程序返回了 $0"