Jump to content

Recommended Posts

Posted

I use the pskill utility to kill several processess during my install. However, it doesn't seem to work on internet explorer. Several programs open up html pages during install. One of my programs won't install if internet explorer windows or open so my install stops and I have to close all the windows myself for setup to continue. How can I automattically kill all the internet explorer windows. I tried using pskill on iexplorer.exe, but it didn't work.


Posted
I use the pskill utility to kill several processess during my install.  However, it doesn't seem to work on internet explorer.  Several programs open up html pages during install.  One of my programs won't install if internet explorer windows or open so my install stops and I have to close all the windows myself for setup to continue.  How can I automattically kill all the internet explorer windows.  I tried using pskill on iexplorer.exe, but it didn't work.

If there's no installation to supress the pages from opening, use AutoIt to write a script to close the window for you.

Posted (edited)

Maybe this would work, you'll have to execute it right afterward's

Kill_IE.vbs

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
   & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colProcessList = objWMIService.ExecQuery _
   ("Select * from Win32_Process Where Name = 'IEXPLORE.EXE'")
For Each objProcess in colProcessList
   objProcess.Terminate()
Next

EDIT: Unlike Greenmachine's exe he added this kill's all IE window's. Nice for those stupid site's also where they pop window after window.

Edited by maxXPsoft
Posted

you can add this command after the process which opens the IE window

or before the process which stop if the IE window is opened

taskkill.exe /F /IM iexplore.exe

I hope that helpful

:)

  • 1 month later...
Posted

so it would be like this then?

REG ADD %KEY%\020 /VE /D "Shockwave 10" /f
REG ADD %KEY%\020 /V 1 /D "%cdrom%\install\Updates\shockwave10 /s" /f
REG ADD %KEY%\020 /V 2 /D "taskkill.exe /F /IM iexplore.exe" /f

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...