I’m finding with 3.6.5 that I cannot get any Show-InstallationPrompt statement to work unless I take off the -nowait param.
It points to the asynch call from the main script (line 1396) which logs the following in the separate log:
[Initialization] :: ******************************************************************************* PSAppDeployToolkit 8/5/2015 5:24:58 PM 1140 (0x0474)
[Asynchronous] :: [App Deploy Toolkit Main] called with switch [-ShowInstallationPrompt]. PSAppDeployToolkit 8/5/2015 5:24:58 PM 3476 (0x0D94)
[Asynchronous] :: Bypassing Installation Prompt [Mode: ]... Install completed. Please test your application at your convenience. Show-InstallationPrompt 8/5/2015 5:24:58 PM 3476 (0x0D94)
so when it comes round to line 1146 it thinks its running silent (a recent issue fix I think) and bypasses the prompt. Note that $deploymode var is not set, and the recent change from 3.6.4 was to replace $deployModeNonInteractive with $deployModeSilent.
Can anyone confirm?