Open an application after they close the window

Topics: Archive - General
Oct 20, 2014 at 5:29 PM
I was wondering if it is possible to do the opposite of the -closeapps switch.

I would like to have the user close lets say Outlook, install an app, then when they click finish it relaunches Outlook.

I currently just put a note to tell the user to relaunch the app, but it would be nice if Ican have it launch for them..

Could be useful for browser updates and other apps that are opened.

thanks
Coordinator
Oct 20, 2014 at 8:26 PM
Yes, just use Show-InstallationPrompt to provide the user interaction. Once the user clicks your "Launch Outlook" button, launch the relevant application.