Is there a way to deploy PSADT and only show prompts InstallationWelcome and other prompts if a certain process is running? I would like to deploy a new version of, let’s say Firefox, and if it’s running I want users to have a prompt to shut it down. If not, I would like the install to be silent and have the users not notice anything.
If you specify a process to be closed but don’t add a deferral option to the Show-InstallationWelcome function, then it will only display to the user if there is a process to close, otherwise the installation will continue without showing the welcome dialog.