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