Modification needed in "Show-InstallationWelcome"

//Modification needed in "Show-InstallationWelcome"
Modification needed in "Show-InstallationWelcome"2016-01-25T14:52:46+00:00

The Toolkit Forums Deployment Scripts Modification needed in "Show-InstallationWelcome"

  • Author
  • baudejas
    Post count: 2

    Hello guys,

    I had been using the Show-InstallationWelcome function with great success, however the existing script is not good enough in following scenario:

    I need to kill only 1 particular instance of process that is run from 1 particular location, leaving the other processes with the same name but that are being run from other locations intact. No defer enabled.

    Show-InstallationWelcome -CloseApps “deploytoolkit” -PersistPrompt -CloseAppsCountdown 600

    Here is an example:

    2 processess named deploytoolkit.exe are running and Windows Task Manager shows “Image Path Name”:
    C:\Program Files (x86)\APP\deploytoolkit.exe
    C:\Program Files\Common Files\APP\deploytoolkit.exe

    I need to end only deploytoolkit.exe that is launched from path “C:\Program Files\Common Files\APP\deploytoolkit.exe” while leaving the other one intact.

    Is there any way to modify the Show-InstallationWelcome function to achieve this? I have tried several things, but could not get it to work properly. Any help is much appreciated!

  • baudejas
    Post count: 2

    Nevermind, I figured it out, please close/delete the thread 🙂

  • Christopher
    Post count: 4


    Could you share your answer?

    Thank You

You must be logged in to reply to this topic.