BlockExecution Parameters

How to use BlockExecution without using Installation-Welcome?

I am trying to add the Wait-Process cmdlet to wait for a certain processes to stop before installing an application, and I wanted to use BlockExecution to prompt the user that there is application installing on the background when they attempting to launch the application.

I just want not to interrupt users with too many prompts to close this and that.

Can be it possible?

Block-AppExecution [-ProcessName] <String[]> []