Help - Search - Members - Calendar
Full Version: ICQ 5.1 and kill appl
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
embe
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?

CODE
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?
cyberloner
use normal icq
ICQ.exe /s
taskkill /F /IM icqlite.exe (i use nircmd.exe killprocess icqlite.exe)
regedit /s clear.reg

clear.reg
QUOTE
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
embe
QUOTE (cyberloner @ Sep 17 2006, 09:25 AM) *
use normal icq
ICQ.exe /s
taskkill /F /IM icqlite.exe (i use nircmd.exe killprocess icqlite.exe)
regedit /s clear.reg

clear.reg
QUOTE
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...
embe
@ 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.
cyberloner
QUOTE (embe @ Sep 18 2006, 07:59 AM) *
@ 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.. =.=
embe
QUOTE (cyberloner @ Sep 18 2006, 08:37 PM) *
QUOTE (embe @ Sep 18 2006, 07:59 AM) *

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




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.