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