We used ExecWait to run the uninstaller, that should already wait for the process to finish.
By default the NSIS uninstaller copies itself to a temp directory and runs itself again from inside that dir.
This caused the ExecWait to return early.
This PR disabled this default behavior and replicates it so that we ExecWait the correct uninstaller process.
We used ExecWait to run the uninstaller, that should already wait for the process to finish. By default the NSIS uninstaller copies itself to a temp directory and runs itself again from inside that dir. This caused the ExecWait to return early. This PR disabled this default behavior and replicates it so that we ExecWait the correct uninstaller process.