Quantcast
Channel: PowerShell App Deployment Toolkit
Viewing all articles
Browse latest Browse all 2341

Created Unassigned: 3.0.9 Show-InstallationWelcome cannot use AllowDefer and CloseAppsCountdown at the same time [48]

$
0
0
First, thanks for all you do!!!

Using 3.0.9 (from mostly working 3.0.8) -

I get error on client:
"You cannot use AllowDefer and CloseAppsCountdown at the same time (at Show-InstallationWelcome, <path>: line 2327 at <ScriptBlock>, <path>" Path's are jsut local to sccm cache...

I don't see this restriction in documentation or examples, and I've been using the same .ps1 script since 3.0.7 with no issues. Documentation says:

CloseAppsCountdown - Option to provide a countdown in seconds until the specified applications are automatically closed. This only takes effect if deferral is now allowed or has expired.

AllowDefer - Enables an optional defer button to allow the user to defer the installation.

-------------------------- EXAMPLE 7 --------------------------
C:\PS>Show-InstallationWelcome -CloseApps "winword,excel" -BlockExecution -AllowDefer -DeferTimes "10" -DeferDeadline "25/08/2013" -CloseAppsCountdown "600"
Close Word and Excel and prevent the user from launching the applications while the installation is in progress.
Allow the user to defer the installation a maximum of 10 times or until the deadline is reached, whichever happens first.
When deferral expires, prompt the user to close the applications and automatically close them after 10 minutes.


Viewing all articles
Browse latest Browse all 2341

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>