Silent installation with conditions?

Hi Guys,

Right now, i bundle the PSADT into another powershell file that checks to see if the application that I’m going to update is running. If the application is running, i go through PSADT and use the builtin welcome, program closing ability and so on. If the application is not running, I execute what i need to silently outside of PSADT to avoid any prompts or windows. Is there a way in PSADT to install completely silently if the process in Show-InstallationWelcome -CloseApps 'XXXX.exe" is not detected?