Hello,

I'm trying to silently intall Kaspersky Antivirus v5. I asked the Kaspersky Support about it, but they say there is no unattended install.

Well, they said so for version 4, too, but there is one, sort of.

I'm running the standard MSI setup:
setup.exe /S /v/qb

That installs v5, de-installs previous versions if present, copies the license file, if present in the same directory. So far so good.
But I haven't found a way to adjust the configuration.


There are some files in Common Files\Kaspersky, e.g. SETTINGS\SS_SETTINGS.xml, although they are named .xml, they aren't; they start with <!--KLPARBIN> and have lots of embedded \0 characters (no Unicode32). To copy those files doesn't work.

So I setup an AutoIT script.
The problem (I guess) is that you can select register cards via keyboard, but the entries within the cards you cannot.
I complained about it and requested from the Kaspersky Support how to use the Anitvirus product without mouse - they said you cannot, but would work on it.


Well, I tried to AutoIT3 the problem. There is no problem, but to select the required spots, e.g. to invoke the Update configuration dialogue box. Autoit_spy calls it in the section "last control under mouse" "Class: KL_hyperlink4" and "Text: " (empty, none). The components of "normal" controls (dialogue box) are named, e.g. "Class: Button5" and "Text: Durchsuchen".

AutoIT3 offers some functions, e.g.:

ControlCommand("last", "", "Button6", "Check", "")
ControlCommand("last", "", "Button4", "Uncheck", "")
ControlSetText("last", "", "Edit2", "\\filesrv\avp")
ControlClick("last", "", "Button9", "left", 1)

They work very well with the "normal" controls, but when I try the KL_Hyperlink stuff, they do nothing.

So I tried to use

MouseClick("left", 199, 112)

this works on one particulsr system, but when I run the script on another machine, about half of the attempts fail, because the window layout differs (very slightly), it seems it adjusts itself differently; I guess, when the screen is larger or smaller the in-window position is not 199x112 anymore, but there are machines where this fails, even when the graphics card is the same fabricate and is running in the same video mode.

Does somebody know or can suggest another way to try?

Bye,

--
Steffen Kaiser
FB Informatik
Telefon: 203


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ unattended-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to