Jump to content

Kaspersky antivirus 6.0 "2006"


svenby

Recommended Posts

  • 3 weeks later...

Hi...

thanks guys :hello: for mst files,

Now, what about uptaes, when i make a sfx file for kaspersky updates (Bases Folder) by winrar and use this comment

;The comment below contains SFX script commands

Path=%allusersprofile%\Application Data\Kaspersky Lab\AVP6
Silent=1
Overwrite=1

i get this error

kasperskyupdatesex5.th.png

does any one get rid of this limitation. ;)

Link to comment
Share on other sites

Hi...

thanks guys :hello: for mst files,

Now, what about uptaes, when i make a sfx file for kaspersky updates (Bases Folder) by winrar and use this comment

;The comment below contains SFX script commands

Path=%allusersprofile%\Application Data\Kaspersky Lab\AVP6
Silent=1
Overwrite=1

i get this error

kasperskyupdatesex5.th.png

does any one get rid of this limitation. ;)

:hello:

You have maybe not selected the "unpack in temp map" or in Dutch "Uitpakken in tijdelijke map" on the TAB MODI.

Sorry 4 my bad English.

Regards

:hello:

edit: sry you wanted only to unpack a folder to a destination. :blushing:

Edited by tresans
Link to comment
Share on other sites

has anyone tried the new 3.0.3 build to see if it doesnt need the modifications on the installer to prevent the autoreboot thing?

i will try it tomorrow and will post if it works or if it needs another mst file...

Link to comment
Share on other sites

  • 2 weeks later...

OK so this modded installer allows you to install silently, but how to automatically use your preferred settings?

With KAV5 you could simply set everything like you want and copy the profile.dat file from:

C:\Documents and Settings\All Users\Application Data\Kaspersky Anti-Virus Personal\5.0

I added the profile.dat file to my uACD, extracting it AFTER Kav installer to the same folder. Always worked. But KAV6 doesn't work with such a profile.dat file. You CAN however export your settings to a .cfg text file.

Link to comment
Share on other sites

my way to Silent/Unattended Installation of KAV and KIS is

frist i Installed it manually and get the reg file from this path

[HKEY_LOCAL_MACHINE\SOFTWARE\KasperskyLab\AVP6]

then i use this code

Setup=kis.msi /passive /norestart

TempMode

Silent=1

Overwrite=1

it work perfect :thumbup and no need to restart the pc :lol:

Link to comment
Share on other sites

  • 3 weeks later...

This regkey disable the auto-reboot when avp.exe is executed for the first time. KAV6/KIS6 is executed after setup but all components aren't actives, so reboot (by classic reboot process at the send of your runonceex batch ...) and it's okay.

reg add HKLM\SOFTWARE\KasperskyLab\AVP6\Data /v LastStart /t REG_DWORD /d 0x0 /f

Link to comment
Share on other sites

@sonic, I really don't need that, I simply install it with the /qb switch and /norestart and everything installs just fine + KAV works perfectly.

Just like KAV5.0!

Do you have any idea how to do the settings unattendedly? For example the annoying KAV logo+text on the Windows Loginscreen. You can disable this in the KAV settings. So I want to do it unattendedly :)

Edited by ZileXa
Link to comment
Share on other sites

ZileXa what version do you use ? I have tested with KAV and KIS 6.0.303, If I don't add the regkey in my past post, avp.exe reboot system. I have found the /norestart is not necessary (or perhaps not used directly) for the MSI because reboot is set to reallysuppress. I use just /qb , I have modify the .msi to don't run avp.exe at the end and works great (If I keep original .msi, avp.exe is executed directly after install running in system tray).

In fact the regkey allow to run avp.exe directly without a reboot (not all components are active for the first time but it can be run, for me I reboot at the end of installs)

Regtweak, disable kav/kis on logon screen :

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\KasperskyLab\AVP6\settings]
"EnableLoginShow"=dword:0

Link to comment
Share on other sites

Nothing works.

I used the KIS .mst file with the transforms command.

I used Orca to remove the line that makes KIS reboot on its own

(after installation when you run KIS for the first time)

If I do not remove the line in the MSI file with Orca, KIS will

silently install, but it reboots the PC without warning the first

time you run KIS.

If I do remove the line in the MSI with Orca, then the silent install

will not even work, but it will install manually so, its not like Orca

has corrupted the MSI or anything.

I tried making an AutoIt script, this also does not work but I think

I will go back to trying that way again and try to work out where it

is going wrong, I did have it working until I put the key file with the

MSI, then I had to rework the AutoIt script a little bit and messed it

up somehow, it ticks a box where it shouldn't, doesn't untick a box

where it should.

This Kaspersky is unbelievable - why can they make the best AV but

they cannot address this silent install issue? Beats me.

Link to comment
Share on other sites

This is only for Kaspersky Internet Suite 6.0.0.300

OK I got it to install fine using an AutoIt 2 script, posted below.

I still cannot work out why, I can copy the "Bases" (updates)

to the right folder after KIS installs and it does not work, I guess

these updates register with KIS? I am doing this to copy the Bases...

IF NOT EXIST "%ALLUSERSPROFILE%\Application Data\Kaspersky Lab\AVP6" MD "%ALLUSERSPROFILE%\Application Data\Kaspersky Lab\AVP6"
XCOPY "Bases" "%ALLUSERSPROFILE%\Application Data\Kaspersky Lab\AVP6\Bases" /i /s /e /r /v /k /f /c /h /y

Don't bother with that though, it does not work!

To install KIS - this AutoIt 2 script DOES work, however, AutoIt 2

will not run an MSI file so first you need a CMD command script

with this...

start Kaspersky.msi
start /wait install.exe

Where "install.exe" is your AutoIt 2 script - this is the script...

WinWait, Setup Wizard Kaspersky Internet Security 6.0, Welcome to the Kaspersky Internet
WinActivate, Setup Wizard Kaspersky Internet Security 6.0, Welcome to the Kaspersky Internet
Send, n
WinWait, Setup Wizard Kaspersky Internet Security 6.0, End User License Agreement
WinActivate, Setup Wizard Kaspersky Internet Security 6.0, End User License Agreement
Send, {TAB}
Send, {UP}
Send, {ENTER}
WinWait, Setup Wizard Kaspersky Internet Security 6.0, Select destination folder
WinActivate, Setup Wizard Kaspersky Internet Security 6.0, Select destination folder
Send, {TAB}
Send, n
WinWait, Setup Wizard Kaspersky Internet Security 6.0, Choose Setup Type
WinActivate, Setup Wizard Kaspersky Internet Security 6.0, Choose Setup Type
Send, {ENTER}
WinWait, Setup Wizard Kaspersky Internet Security 6.0, Windows Firewall
WinActivate, Setup Wizard Kaspersky Internet Security 6.0, Windows Firewall
Send, {TAB}
Send, {TAB}
Send, n
WinWait, Setup Wizard Kaspersky Internet Security 6.0, Ready to install
WinActivate, Setup Wizard Kaspersky Internet Security 6.0, Ready to install
Send, i
WinWait, Setup Wizard Kaspersky Internet Security 6.0, Installation complete
WinActivate, Setup Wizard Kaspersky Internet Security 6.0, Installation complete
Send, n

WinWait, Setup Wizard: Kaspersky Internet Security 6.0, License key info
WinActivate, Setup Wizard: Kaspersky Internet Security 6.0, License key info
Send, n
WinWait, Setup Wizard: Kaspersky Internet Security 6.0, Auto
WinActivate, Setup Wizard: Kaspersky Internet Security 6.0, Auto
Send, n
WinWait, Setup Wizard: Kaspersky Internet Security 6.0, Run on system start
WinActivate, Setup Wizard: Kaspersky Internet Security 6.0, Run on system start
Send, {TAB}
Send, {TAB}
Send, {TAB}
Send, {TAB}
Send, {SPACE}
Send, {TAB}
Send, {TAB}
Send, {TAB}
Send, {TAB}
Send, {TAB}
Send, {TAB}
Send, n
WinWait, Setup Wizard: Kaspersky Internet Security 6.0, Enable password protection
WinActivate, Setup Wizard: Kaspersky Internet Security 6.0, Enable password protection
Send, n
WinWait, Setup Wizard: Kaspersky Internet Security 6.0, Add
WinActivate, Setup Wizard: Kaspersky Internet Security 6.0, Add
Send, n
WinWait, Setup Wizard: Kaspersky Internet Security 6.0, Applications
WinActivate, Setup Wizard: Kaspersky Internet Security 6.0, Applications
Send, n
WinWait, Setup Wizard: Kaspersky Internet Security 6.0, Basic protection
WinActivate, Setup Wizard: Kaspersky Internet Security 6.0, Basic protection
Send, n
WinWait, Setup Wizard: Kaspersky Internet Security 6.0, Restart computer
WinActivate, Setup Wizard: Kaspersky Internet Security 6.0, Restart computer
Send, {TAB}
Send, {SPACE}
Send, {TAB}
Send, {TAB}
Send, {TAB}
Send, f

This assumes you have already put your .key file alongside your Kaspersky.msi installer.

The gap in the script there is between the two stages of install screens.

Try it - it worked for me!

Edited by LeveL
Link to comment
Share on other sites

You must understand the .msi itself doesn't reboot, you can check it with orca (I use InstallerDesignStudio)

But the .msi starts avp.exe at the end of install which reboot the system if the regkey [HKLM\SOFTWARE\KasperskyLab\AVP6\Data - LastStart] doesn't present.

If you add this regkey before launch the .msi , avp.exe will run normally without any reboot. I have checked with build 303 french version of KAV6 and KIS6 on Windows 98 SE and Windows XP SP2. That works.

Link to comment
Share on other sites

ZileXa what version do you use ? I have tested with KAV and KIS 6.0.303, If I don't add the regkey in my past post, avp.exe reboot system. I have found the /norestart is not necessary (or perhaps not used directly) for the MSI because reboot is set to reallysuppress. I use just /qb , I have modify the .msi to don't run avp.exe at the end and works great (If I keep original .msi, avp.exe is executed directly after install running in system tray).

In fact the regkey allow to run avp.exe directly without a reboot (not all components are active for the first time but it can be run, for me I reboot at the end of installs)

Regtweak, disable kav/kis on logon screen :

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\KasperskyLab\AVP6\settings]
"EnableLoginShow"=dword:0

huuuh I really do not understand why it doesn't work for you guys!

I download Kaspersky AV from the Kaspersky site, NOT the demo(!):

http://www.kaspersky.com/productupdates?chapter=186435857

I download from the Updates section. It is the FULL version, needs the key to work.

I use the DUTCH version wich is only available as Version 6.0.0.300.

this is my command in RunOnceEx:

REG ADD %KEY%\004 /V 2 /D "%CDDRIVE%InstallApps\SysteemOnderhoud\antivirus.msi /qb /norestart" /f

and the regtweak a few posts earlier takes care of my key (so I do not need a .key file anywhere!).

it is possible /norestart isnt necessary, but at the moment I am EXTREMELY frustrated about 2 strange Windows errors on my cd so I want to fix those before I test things like this.

My RunOnceEx is started at T13, that might be the difference with you guys?

I find this more efficient and a lot faster. I run RunOnceEx at T13 by adding a line to cmdlines.txt:

this is my complete cmdlines: (actually now I see nLite has even added a line):

[COMMANDS]
"RunOnceEx.cmd" (this will add RunOnceEx lines to the registry)
"REGEDIT /S regtweaks.reg"
"gebruikers.cmd"
"CHKNTFS /T:0"
"rundll32 advpack.dll,LaunchINFSection nLite.inf,nLiteReg"
"rundll32.exe iernonce.dll,RunOnceExProcess" (this wil initiate the RunOnceEx part from the registry)

The last line makes RunOnceEx run after cmdlines. I always did it like this.

BTW, after KAV, my RunOnceEx installs other stuff, then Windows Setup continues for a while, and then Windows setup will reboot, now the first Gui boot will start, and the nice thing is I see the KAV logo on the logon window, so it is active already :)

Edited by ZileXa
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
  • Recently Browsing   0 members

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