Hey Guys,
Have modified Invoke-AppDeployToolkit.ps1 as follows.
##================================================
## MARK: Pre-Install
##================================================
$adtSession.InstallPhase = “Pre-$($adtSession.DeploymentType)”
## Show Welcome Message, close Internet Explorer if required, allow up to 3 deferrals, verify there is enough disk space to complete the install, and persist the prompt.
Show-ADTInstallationWelcome -CloseProcesses iexplore -AllowDefer -DeferTimes 3 -CheckDiskSpace -PersistPrompt
## Show Progress Message (with the default message).
Show-ADTInstallationProgress
Have modified PSAppDeployToolkit.psm1 as follows.
process
{
$adtConfig = & $Script:CommandTable.'Get-ADTConfig'
$adtConfig.UI.DialogStyle = "Classic"
try
{
try
{
# If running in NonInteractive mode, force the processes to close silently.
if (!$PSBoundParameters.ContainsKey('Silent') -and $adtSession -and ($adtSession.IsNonInteractive() -or $adtSession.IsSilent()))
{
$Silent = $true
Install dialog uses the Classic UI without any issues, throughout the install process. (Auto MSI Deployment)
However, when I disable the defer prompt as such, the install then changes back to the Fluent UI ?
## Show Welcome Message, close Internet Explorer if required, allow up to 3 deferrals, verify there is enough disk space to complete the install, and persist the prompt.
## Show-ADTInstallationWelcome -CloseProcesses iexplore -AllowDefer -DeferTimes 3 -CheckDiskSpace -PersistPrompt
## Show Progress Message (with the default message).
Show-ADTInstallationProgress
Not the end of the world, however company like the classic interface at the moment, and would be good to get this issue fixed for our non defer deployments. Is there something we can add to the PSAppDeployToolkit.psm1 to address this behaviour. Thanks in Advance, I am really looking forward to engaging more and supporting the wider deployment community. (Sorry no images im a new user and it was blocking my post.)
