Prompting user to close application(s) [Deploy Application Invoker]

Topics: Archive - Deployment Scripts
Jan 9, 2015 at 8:41 PM
Edited Jan 12, 2015 at 5:55 PM
Hi,

Need help for closing apps issue.
PSAppDeployToolkit_v3.2.0
Windows 7 64-bit

Whenever trying to close "outlook","lync" services its also trying to close "Deploy Application Invoker" I'm assuming "Deploy Application Invoker" is related to Deploy-Application.exe file. By this its not communicating to SCCM after installation completed.

copying error report from log file.

Thanks in advance.

[09-01-2015 15:20:45] [Pre-Uninstallation] Checking for running applications [communicator.exe,outlook,lync,nlnotes,nnotesmm,notes,notes2]...
[09-01-2015 15:20:45] [Pre-Uninstallation] The following processes are running: [Deploy-Application,lync,OUTLOOK]
[09-01-2015 15:20:45] [Pre-Uninstallation] Resolving process descriptions...
[09-01-2015 15:20:45] [Pre-Uninstallation] Finished checking running applications.
[09-01-2015 15:20:45] [Pre-Uninstallation] Prompting user to close application(s) [Deploy Application Invoker,Microsoft Lync,Microsoft Outlook]...
[09-01-2015 15:20:45] [Pre-Uninstallation] Displaying close applications countdown with [300] seconds.
[09-01-2015 15:21:20] [Pre-Uninstallation] User selected to force the applications to close...
[09-01-2015 15:21:20] [Pre-Uninstallation] Stopping Process Deploy-Application...
[09-01-2015 15:21:20] [Pre-Uninstallation] Stopping Process lync...
[09-01-2015 15:21:20] [Pre-Uninstallation] Stopping Process OUTLOOK...
[09-01-2015 15:21:22] [Pre-Uninstallation] Checking for running applications [communicator.exe,outlook,lync,nlnotes,nnotesmm,notes,notes2]...
[09-01-2015 15:21:22] [Pre-Uninstallation] Applications are not running.
[09-01-2015 15:21:22] [Pre-Uninstallation] Finished checking running applications.
Jan 23, 2015 at 6:46 PM
Can you paste the pre-uninstallation code? You may just have added something without knowing. It should look something like this:

Show-InstallationWelcome -CloseApps 'outlook,lync' -Whatever -Params -Here
Jan 27, 2015 at 3:16 PM
Thanks CHiland for your response..

Here is my code..

Show-InstallationWelcome -CloseApps "communicator,outlook,lync" -CloseAppsCountdown 300 -PersistPrompt

Thanks
Jan 27, 2015 at 11:01 PM
Does removing 'communicator' from the closeapps argument help? If you only want to close outlook and lync, it should just be those two.
Jan 28, 2015 at 3:32 PM
Communicator.exe service is used by lync 2010 version . lync.exe Service is used by 2013 version.
Jan 28, 2015 at 5:12 PM
Can you copy and paste the contents of the entire Deploy-Application.ps1?