Show-InstallationPrompt wont show with the '-nowait' param

//Show-InstallationPrompt wont show with the '-nowait' param
Show-InstallationPrompt wont show with the '-nowait' param2015-08-05T22:30:00+00:00

The Toolkit Forums General Show-InstallationPrompt wont show with the '-nowait' param

  • Author
  • Craig
    Post count: 2

    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:

    <code>[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)</code>

    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?

  • Seán Lillis
    Post count: 16

    Hi, this has been logged as an issue on GIT and a fix committed to source.

    Thanks for reporting.


    GIT issue #71: Show-InstallationPrompt not displaying asynchronously

The topic ‘Show-InstallationPrompt wont show with the '-nowait' param’ is closed to new replies.