If an error occurred while executing ExecWait, then the contents of the user variable that passed through will be undefined.
To simply verify that the program is executed correctly, check the error flag. (btw, NSIS expects zero for success and non-zero for error)
ClearErrors ExecWait '"$INSTDIR\application.exe"' IfErrors 0 noError ; Handle error here noError:
source share