Show-InstallationWelcome deferral and countdown display

Hi everyone,

Just starting out using PSADT and going over the options for deferring an installation.
I have set the following to allow 5 deferrals, have a deadline of 10 days after first prompt and to autostart if no option is chosen after 10 minutes.

Show-InstallationWelcome -CloseApps 'SelfService,CDViewer' -BlockExecution -AllowDefer -DeferTimes 5 -DeferDays 10 -PersistPrompt -CloseAppsCountdown 600

The windows that I get only seems to show the deadline and not give the remaining deferral count or the countdown time.

Have I made a configuration error or it’s not supposed to show the other options?

The app is Citrix Workspace and I’d like to get the countdown and remaining deferrals showing if possible. I tried editing the xml to give a clearer message.

Thank you!

Hi,

Two things, first it looks like you have identified a (small) issue with the Show-InstallationWelcome function in the current version of PSADT (3.10.2) when using both -DeferTimes & -DeferDays at the same time. As you have seen only the deadline is shown but NOT the amount of remaining deferrals (however you can still press the Defer button and it works correctly decreasing the number of deferrals for the app in the registry)

In a previous version (3.9.3) when using both these switches at the same time you are presented with both the deadline AND the number of remaining deferrals.

Secondly, you want to be shown the countdown for the -closeappscountdown 600 you are using. The countdown will be show but only after all the deferrals are “spent” according to the documentation:

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

I would normally not combine these two switches myself since I find it better to keep things easy to understand for the end users. I suggest you stick with using only one of them at a time since they basically achieve the same thing but in different ways.

3 Likes

I see. Thank you very much for the explanation!