Jump to content

Norton Antivirus & Auto-IT


TiC01
 Share

Recommended Posts

Hi,

I'm trying to make an auto-it script for configuring the norton antivirus (2005) config wizard. It seems to have an embedded internet explorer in there, but for some reason I can't figure out how to use that. Added to this post is a screenshot of my vm with scite opened (tried to use an IE script, but failed). Also the AU3 Windows Info is on there with some info.

Sorry for the big pic, but for some reason I couldn't attach it......

Do any of you have any suggestions on how to do this ??!!

Posted Image

Link to comment
Share on other sites

Hi,

I'm trying to make an auto-it script for configuring the norton antivirus (2005) config wizard. It seems to have an embedded internet explorer in there, but for some reason I can't figure out how to use that. Added to this post is a screenshot of my vm with scite opened (tried to use an IE script, but failed). Also the AU3 Windows Info is on there with some info.

Sorry for the big pic, but for some reason I couldn't attach it......

Do any of you have any suggestions on how to do this ??!!

well... the first problem is you're using NAV (NOD32 is better), but other than that...

$windowtitle = "Norton AntiVirus"
$b = WinGetHandle($windowtitle)
WinActivate($B)
$c = _IEAttach($b, "HWND")

;then use _IEBodyReadHTML to get the html of the page and the name form and button to control
Link to comment
Share on other sites

Ok, I tried it, but it doesn't seem to work (for some odd reason)..

#include <IE.au3>
$windowtitle = "Norton AntiVirus"
$b = WinGetHandle($windowtitle)
WinActivate($B)
$c = _IEAttach($b, "hwnd")
$sHTML = _IEDocReadHTML ($c)
MsgBox(0, "Document Source", $sHTML)

The script above gives me a result 0 and scite says the following >>

>"C:\Program Files\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Documents and Settings\Don\Desktop\test.au3"  
--> IE.au3 Warning from function _IEAttach, $_IEStatus_NoMatch
--> IE.au3 Error from function _IEDocReadHTML, $_IEStatus_InvalidDataType
>Exit code: 0   Time: 6.923

What did I do wrong here ??

Link to comment
Share on other sites

Sorry, didn't change anything. AU3 gave me thesame result. I don't understand why I can't 'connect' to Norton AntiVirus. I just read a piece in the IE3.au3 that if a program has an Internet Explorer_Server1 object in there, that it SHOULD be able to communicate with it. But for some reason I can't.

AU3 result:

>"C:\Program Files\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Documents and Settings\Don\Desktop\test.au3"  
--> IE.au3 Warning from function _IEAttach, $_IEStatus_NoMatch
--> IE.au3 Error from function _IEDocReadHTML, $_IEStatus_InvalidDataType
>Exit code: 0   Time: 3.849

Don't even know what it means exactly......

Link to comment
Share on other sites

I think I've found something in the IE.au3 that might have something to do with it >>

$h_control = ControlGetHandle($s_string, "", "Internet Explorer_Server1")
$oResult = __IEControlGetObjFromHWND($h_control)

I guess this should return the ControlID in the AU3 Window Info, BUT !!!!! Norton Antivirus ConfigWizard has NO controlID attached to it >>>>

>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<
Size:       X: 0    Y: 0    W: 620  H: 410
Control ID: 
ClassNameNN:    Internet Explorer_Server1

So....... is this the problem why I can't 'communicate' with it ??

Link to comment
Share on other sites

  • 6 months later...

I think I've found something in the IE.au3 that might have something to do with it >>

$h_control = ControlGetHandle($s_string, "", "Internet Explorer_Server1")
$oResult = __IEControlGetObjFromHWND($h_control)

I guess this should return the ControlID in the AU3 Window Info, BUT !!!!! Norton Antivirus ConfigWizard has NO controlID attached to it >>>>

>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<
Size:       X: 0    Y: 0    W: 620  H: 410
Control ID: 
ClassNameNN:    Internet Explorer_Server1

So....... is this the problem why I can't 'communicate' with it ??

has somebody found out how to even send click to the first window of Norton activation?
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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