2 Replies Latest reply on Apr 30, 2014 1:45 PM by Lawrence Garvin

    Package Boot Editor and Variables


      Does the Package Boot Editor in Patch Manager v2 support the use of variables? I'd like to terminate a process but it contains a version number.

      I'm trying to kill any processes related to Adobe Flash.


      Is FlashUtil%ActiveX.exe or FlashUtil*ActiveX.exe acceptable?

      Thanks, Peter

        • Re: Package Boot Editor and Variables
          Lawrence Garvin

          As far as I know, it does not. It requires an explicit process name.

          Which can be particularly problematic for the Adobe Flash scenario, since they've created this unique process naming scheme.

          • Re: Package Boot Editor and Variables
            Lawrence Garvin

            I just found this on the PatchManagement.org mailing list... you can achieve this via WMI.

            Create this as a script object, and then use the "Run a program" option to execute the script to terminate the Flash process.



            strProcessKill = "'FlashUtil%ActiveX.exe'"

            Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")

            Set colProcess = objWMIService.ExecQuery ("Select * from Win32_Process Where Name LIKE " & strProcessKill )

            For Each objProcess In colProcess