MSFN Forum: Yahoo Messenger 6? - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Yahoo Messenger 6? taskkill problem? Rate Topic: -----

#1 User is offline   wolfshade 

  • Member
  • PipPip
  • Group: Members
  • Posts: 163
  • Joined: 27-May 04

Posted 11 June 2004 - 02:39 PM

I install Yahoo Messenger from T-12 stage(cmdlines) and i use this code:
ECHO Installing Yahoo Messenger 6.0.0.1643
START /WAIT E:\PostInst\ymsgrie\ymsgrie.exe /s
taskkill /F /IM YPager.exe /T
START /WAIT regedit /s "E:\PostInst\ymsgrie\settings.reg"
ECHO.

While it works while i'm logged on this taskkill entry gives me an "Critical error" and obviously doesn't close YPager.exe but the yahoo messenger opens anyway
Is it posible that at the cmdlines stage the services aren't started or something?
Do i have to use a PID? How do i do that?


#2 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 11 June 2004 - 02:56 PM

u can get the PID # from taskmanager, u have 2 be in your OS already, then goto view, select columns, theirs an option for PID there

try pskill tho as an alternative

regards

#3 User is offline   Strat79 

  • Member
  • PipPip
  • Group: Members
  • Posts: 104
  • Joined: 16-April 04

Posted 11 June 2004 - 03:11 PM

I would use MCT's suggestion. Use pskill.
I am not too familiar with PID numbers but don't they change just about every time you open a given app? For example: I just opened yahoo messenger and the PID was 320, I closed it and reopened and it was 856. Or is there a way to specify a PID # for a app while starting it in the command line?

#4 User is offline   wolfshade 

  • Member
  • PipPip
  • Group: Members
  • Posts: 163
  • Joined: 27-May 04

Posted 11 June 2004 - 03:20 PM

Hmmm the problem is that i'm NOT in the OS while installing from cmdlines.txt so how do i fetch the YPager's PID???
If i can do that then i can close it by specifying PID to taskkill in the batch right after i pass the PID from the fetch(it would req a var).

In short i need an util that fetches the pid and a way to transmit it to taskkill.

BTW where can i get pskill?

#5 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 11 June 2004 - 03:35 PM

pskill can be downloaded from sysinternals.com

#6 User is offline   wolfshade 

  • Member
  • PipPip
  • Group: Members
  • Posts: 163
  • Joined: 27-May 04

Posted 11 June 2004 - 03:58 PM

10x mct

pskill:
http://www.sysintern...iles/pskill.zip
pstools:
http://www.sysintern...les/Pstools.zip

u might want to check :) http://www.beyondlogic.org/consulting/proc...processutil.htm

#7 User is offline   Devil_666 

  • Da MSFN Baby wiv gr8 knowledge!
  • PipPip
  • Group: Banned
  • Posts: 205
  • Joined: 18-August 01

  Posted 11 June 2004 - 04:08 PM

might sound a stupid comment here, but why the hell dont you just go in the OS and double click the .exe file fool if your wanting to install yahoo :rolleyes: :D

btw im stoned :)

#8 User is offline   wolfshade 

  • Member
  • PipPip
  • Group: Members
  • Posts: 163
  • Joined: 27-May 04

Posted 11 June 2004 - 06:53 PM

Devil_666 why not read the rest of the post and learn that this is about instaling from cmdlines.txt and killing the app right after it begins nagging like u :rolleyes:

P.S.:I will make a test using pskill but i'm too tired now to stand by and watch windows intall again so i'll post result later.

I'm not gonna test this but there might be a flaw too cuz i try to "taskkill" it right after i install it but yahoo opens after a second or so ... so it might not find it at the times taskkill attempts the kill(although it doesn't explain the "Critical error" it returns)

\/~\/ Oh yeah and 10x for the backup MCT :) \/~\/

This post has been edited by wolfshade: 12 June 2004 - 01:40 AM


#9 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 11 June 2004 - 08:29 PM

Quote

might sound a stupid comment here, but why the hell dont you just go in the OS and double click the .exe file fool if your wanting to install yahoo 
sometimes topics posted in a particular forum (unattended forum/application switches) are there for a particular reason, cuz he wants 2 do an unattended install, so hes not having 2 double click any .exe its already setup for him :)

Quote

btw im stoned


thanks for advertising, BTW, its not something 2 be proud of :rolleyes:

regards

#10 User is offline   wolfshade 

  • Member
  • PipPip
  • Group: Members
  • Posts: 163
  • Joined: 27-May 04

Posted 12 June 2004 - 08:48 PM

final word : pskill works taskkill doesn't :)

#11 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 13 June 2004 - 12:10 AM

taskkill works, if its done correctly, like i said above, for basic "killing" of a process, i just prefer pskill, but taskkill is better for if u have multi windows open of the same name, like IE, u can kill only 1 process of IE (as alanoll states in another thread)

regards

#12 User is offline   wolfshade 

  • Member
  • PipPip
  • Group: Members
  • Posts: 163
  • Joined: 27-May 04

Posted 13 June 2004 - 06:50 PM

nope i used taskkill /f /im ypager.exe /t (it also starts an yserver) and it didn't work for me (critical error)

when i replaced taskkill with pskill it just brutally slayed it :) (yserver too -- it must've been in tree / tested it while in windows works fine too)

sysinternals software isn't as friendly as win tools i also have ntfsdos who mounts ntfs partitions allthough it doesn't write well it reads 'em, also the whole lot of "console"tools(freeware) are a blessing.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy