Show-InstallationWelcome not showing

Hi all,

I have an issue with Show-installation.

I need to copy an ifchier from an Outlook macro into the appropriate folder but Outlook has to be closed for the copy to work. (for the copy everything is fine).

I have a problem with Show-InstallationWelcome, it does not seem to run on the user’s machine.

Here is my command:
Show-InstallationWelcome -CloseApps ‘Outlook’ -AllowDefer -DeferTimes 3 -PersistPrompt

Here is the log:

[Pre-Installation] :: Get deferral history… Get-DeferHistory 22/02/2022 12:21:08 6060 (0x17AC)
[Pre-Installation] :: Registry key [Registry::HKEY_LOCAL_MACHINE\SOFTWARE\PSAppDeployToolkit\DeferHistory\MajOutlookMacro_22022022_x64_MUI_01] does not exist. Return $null. Get-RegistryKey 02/22/2022 12:21:08 6060 (0x17AC)
[Pre-Installation] :: User has [2] deferrals remaining. Show-InstallationWelcome 22/02/2022 12:21:08 6060 (0x17AC)
[Pre-Installation] :: Check for running applications: [OUTLOOK] Get-RunningProcesses 22/02/2022 12:21:08 6060 (0x17AC)
[Pre-Installation] :: The following processes are running: [OUTLOOK]. Get-RunningProcesses 22/02/2022 12:21:08 6060 (0x17AC)
[Pre-Installation] :: Force close application(s) [Microsoft Outlook] without prompting user. Show-InstallationWelcome 22/02/2022 12:21:08 6060 (0x17AC)

Any idea why?

Thanks

Hey there @Grokwick -

I can’t say with confidence without seeing your installation syntax, but that last log line is suspect -

[Pre-Installation] :: Force close application(s) [Microsoft Outlook] without prompting user. Show-InstallationWelcome 22/02/2022 12:21:08 6060 (0x17AC)

How are you running deploy-application.exe or deploy-application.ps1 in your deployment mechanism(SCCM, KACE, etc)? Might you be using the -DeployMode ‘Silent’ switch? If so, then that could be the issue since that will suppress any user interface prompts.

Again, I can’t say with confidence but I figured I’d throw that out there as a suggestion.

Hi

I use SCCM and the deploy-application.exe. Here is my command line Deploy-Application.exe Install NonInteractive.

while writing the command, I realize that the “Non Interactive” might be the cause.

Thanks

1 Like

Without the NONINTERACTIVE it’s OK

Thx

1 Like