Yahoo Shutdown
#1
Posted 31 May 2004 - 09:50 AM
i have one question
how i can make switch to shutdown yahoo messenger after installation complete?
thanks
#2
Posted 31 May 2004 - 10:05 AM
download pskill
put it in the same directory as yahoo messenger
then your command will go something like this
start /wait %systemdrive%\Install\Yahoo\Ymsgr.exe /silent
cd %systemdrive%\Install\Yahoo
pskill ypager
thats it
#3
Posted 31 May 2004 - 03:22 PM
I know this command but when the installation finished
the yahoo messenger will be run
#4
Posted 01 June 2004 - 08:41 AM
#5
Posted 01 June 2004 - 11:10 AM
do u use wait commands in your batch file? if not thats the problem
pskill works fine here
#6
Posted 01 June 2004 - 02:08 PM
#7
Posted 01 June 2004 - 02:16 PM
The reason i think this is because on my computer it will not shut down the ypager.exe until i tell it twice or make it wait a few seconds with a .vbs. But on my friends computer it will work with just one pskill and no .vbs. My friends computer is alot faster than mine so I am assuiming that ypager.exe is loading up almost instantly whereas on mine it takes a few seconds. Could be totally wrong though.
#8
Posted 01 June 2004 - 03:58 PM
Quote
thats possible, my computer is an AMD 1600+ and it loads fast, but i spose if your on a p2 or something similar it would have a little more lag
#9
Posted 01 June 2004 - 06:11 PM
Strat79, on Jun 1 2004, 02:08 PM, said:
you should look into running the installations from the cd - it will be a lot faster and it isn't too complicated.
Here is the first few lines of my runoneEX.cmd file for reference. Of course, if you already know the cdrom's drive letter - just use it and not the variable.
OH, I forgot - if you use the variable - add a zero byte file calling it CD.id to the cd.
Also - if you need more drive letters, add the lines.
Also - any new/separate/different batch files that you want to use off of the runonceex.cmd file, you'll also need to set the cdrom variable.
cmdow @ /HID @echo off IF EXIST D:\CD.id set CDROM=D: IF EXIST E:\CD.id set CDROM=E: IF EXIST F:\CD.id set CDROM=F: IF EXIST G:\CD.id set CDROM=G: IF EXIST H:\CD.id set CDROM=H: IF EXIST I:\CD.id set CDROM=I: IF EXIST J:\CD.id set CDROM=J: SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Installing Applications" /f REG ADD %KEY%\001 /VE /D "Applying Microsoft Patches" /f REG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\mdac\Q832483.EXE /C:\"dahotfix.exe /q /n \" /q" /f
#10
Posted 02 June 2004 - 01:09 AM
#11
Posted 02 June 2004 - 01:53 AM
REG ADD %KEY%\015 /V 02 /D "taskkill.exe /F /IM YPager.exe" /f
After yahoo messenger install to kill it
And I use it for many other programs that works automatically after installation and also for programs that open IE window and works fine ……
BTW what the difference between PSKILL and TASKKILL??
#12
Posted 02 June 2004 - 03:25 AM
i think the problem is that after a reboot, ym keeps opening automatically. the only workaround i did was to manually login and modify ym's preferences...
#13
Posted 02 June 2004 - 06:19 AM
Quote
i think the problem is that after a reboot, ym keeps opening automatically. the only workaround i did was to manually login and modify ym's preferences...
pskill is indeed a 3rd party app
just create a reg file 2 remove the run command for yahoo IM
regards



Help

Back to top








