We are starting to use your great toolkit to deploy software.
Since all packages must be “offline compatible” we are encapsulating everything in auto extractible exe (SFX), running “powershell.exe -executionPolicy unrestricted -WindowStyle Hidden -noprofile -file .\Deploy-Application.ps1” after the extraction.
So when the tech guy is running the package it show the install progress as intended.
When we deploy it with IVANTI it run under SYSTEM account and don’t show the install progress which is fine.
But when we use this same packages under OS deployment, we can see in the log that the process is runned under SYSTEM in the administrator session, and this leading to prompt an OK button at the end of the install.
" Current process is running with user account [AUTORITE NT\Système] under logged in user session for [INSTPCL\Admin"
I think i could add an arg -DeployMode NonInteractive but this will lead to the Creation of 2 different packages, one for the tech guy and one for the deployment/OSD.
Is there a way to run it in nonInteractive mode whenever the process is running under System ?