Jump to content

ICQ 5.1 and kill appl


embe

Recommended Posts

Hi,

here is an end of my RunOnceEx (last application installed-latest ICQ5.1 which also supports silent install but I don`t want ICQ toolbar etc and I need some settings to be added via reg file). I created AutoIt script for ICQ5.1, it works nice and correct. After ICQ installation finish as I mnetioned I need to add some ICQ settings via registry tweaks but the problem is that ICQ must be turned off otherwise it ignores these settings. So I choosed taskkill.exe but it somehow doesn`t work.

ICQ setup also aborts previous AutoIt operation for one application (Alcohol120%) so i need to perform requsted operation manualy on behalf of AutoIt. RunOnceEx without ICQ works prefect. Does it have (Alcohol120%) not enough time to perform requested operation? What can I do to solve these 2 issues? Do I have to add some start/wait or? If so can you please give some example?

REG ADD %KEY%\080 /VE /D "ICQ 5.1" /f
REG ADD %KEY%\080 /V 1 /D "%systemdrive%\install\Applications\ICQ5_1\icq.exe" /f
REG ADD %KEY%\080 /V 2 /D "taskkill.exe /F /IM ICQLite.exe" /f
REG ADD %KEY%\080 /V 3 /D "REGEDIT /S %systemdrive%\install\Applications\ICQ5_1\ICQ.reg" /f

I`ll summarize what I`m looking for:

- how to kill ICQ so I can correctly apply reg tweaks for it?

- how to solve issue with AutoIt not completed beacuse installation of ICQ starts?

Edited by embe
Link to comment
Share on other sites


use normal icq

ICQ.exe /s

taskkill /F /IM icqlite.exe (i use nircmd.exe killprocess icqlite.exe)

regedit /s clear.reg

clear.reg

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]"ICQ Lite"=-

[-HKEY_CURRENT_USER\SOFTWARE\ICQToolbar]

[-HKEY_USERS\S-1-5-21-1844237615-484061587-839522115-500\Software\ICQToolbar]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ToolbarICQToolbar.ICQToolbarObjectIEToolbar]

at the end of runoncex.... clean with a batch

rem REMOVE ICQ TOOLBAR

regsvr32 /u /s "%PROGRAMFILES%\ICQToolbar\toolbaru.dll" >nul

RD /S /Q "%ProgramFiles%\\ICQToolbar" >NUL

Link to comment
Share on other sites

use normal icq

ICQ.exe /s

taskkill /F /IM icqlite.exe (i use nircmd.exe killprocess icqlite.exe)

regedit /s clear.reg

clear.reg

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]

"ICQ Lite"=-

[-HKEY_CURRENT_USER\SOFTWARE\ICQToolbar]

[-HKEY_USERS\S-1-5-21-1844237615-484061587-839522115-500\Software\ICQToolbar]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ToolbarICQToolbar.ICQToolbarObjectIEToolbar]

at the end of runoncex.... clean with a batch

rem REMOVE ICQ TOOLBAR

regsvr32 /u /s "%PROGRAMFILES%\ICQToolbar\toolbaru.dll" >nul

RD /S /Q "%ProgramFiles%\\ICQToolbar" >NUL

Many thanks! I`ll do do...

Link to comment
Share on other sites

@ cyberloner

Works perfect, thanks. Also registry tweaks. Except [-HKEY_USERS\S-1-5-21-1844237615-484061587-839522115-500\Software\ICQToolbar] so I didn`t use this tweak.

The only thing I can`t solve is my pasword to ICQ. I don`t know how to register my pasword into registry. When extracting from an existing installation and using this in virtual machine it doesn`t work. As soon as I start ICQ it shows login+my icq number but pasword column is empty...

Any idea how to solve this/what to add to reg tweaks?

Thanks.

Link to comment
Share on other sites

@ cyberloner

Works perfect, thanks. Also registry tweaks. Except [-HKEY_USERS\S-1-5-21-1844237615-484061587-839522115-500\Software\ICQToolbar] so I didn`t use this tweak.

The only thing I can`t solve is my pasword to ICQ. I don`t know how to register my pasword into registry. When extracting from an existing installation and using this in virtual machine it doesn`t work. As soon as I start ICQ it shows login+my icq number but pasword column is empty...

Any idea how to solve this/what to add to reg tweaks?

Thanks.

no idea about the saved login... what i remember icq 98 or icq 99 they use dat files in the icq folder.. =.=

Link to comment
Share on other sites

@ cyberloner

Works perfect, thanks. Also registry tweaks. Except [-HKEY_USERS\S-1-5-21-1844237615-484061587-839522115-500\Software\ICQToolbar] so I didn`t use this tweak.

The only thing I can`t solve is my pasword to ICQ. I don`t know how to register my pasword into registry. When extracting from an existing installation and using this in virtual machine it doesn`t work. As soon as I start ICQ it shows login+my icq number but pasword column is empty...

Any idea how to solve this/what to add to reg tweaks?

Thanks.

no idea about the saved login... what i remember icq 98 or icq 99 they use dat files in the icq folder.. =.=

Hm...oki, I`ll try to solve this with Autoit script even if your solution works perfect - except pasword...

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...