Execution handle quickly moves to next command under Uninstall function

Using Start-ADTprocess to uninstall apps. And the execution handle goes onto the next command within 2 seconds and doesnt wait for the uninstallation process to get fully over.
Surprisingly , the exit code of the uninstall command shows as 0 eventho the actual uninstallation is still going on !!! so the script gets fully over with success whereas the Add/remove entry is still there bec the uninstallation is still going on in the background !!!

Observed this for few apps now already. the ones whose uninstall is done using setup exe (not the MSI ones)

You’ll need to wait for 4.1.0 as this long-standing issue is finally addressed there. Alternatively, please try a pre-release version from here: - Remove some residual old code left within `Show-ADTInstallationWelc… · PSAppDeployToolkit/PSAppDeployToolkit@d36c937 · GitHub. It’s pretty close to what we’ll be releasing for 4.1.0 and some feedback would be great.