Pretty new to the Toolkit. I built a script to uninstall old versions of Microsoft Office and then install Office 365. It works great when I deploy as an application in SCCM 2012. Users get prompted to close any open Office applications before the install continues, so no one loses any work in progress.
However, when I make it part of a task sequence, there are no prompts and applications simply close without prompting to save, so users lose their work in progress.
I’m running the installation as “Deploy-Application.exe” -DeployMode “Interactive”. The application is set to install whether or not a user is logged on. I’ve also tried commenting out parts of AppDeployToolkitMain.ps1 that appear to detect whether the program is running as part of a task sequence.
No luck so far. Based on the documentation that comes with the toolkit, my understanding is that if I’m running an application as part of a task sequence, any dialogs I’ve written into my PowerShell script will be disabled.
Is that a correct understanding, or is there a way to still let users see intended messages?
Thank you.