Prev Previous Post   Next Post Next
Old 22nd July 2007, 09:01   #3
123mobile
Junior Member
 
Join Date: Jul 2007
Posts: 17
Lightbulb

Actually I should have search a little more on google before posting this question. The solution was easy. I am using this solution(for anyone who falls into the same trap!!)

pop $1 ;$1 contains the name of the service. ExecDos::exec /NOUNLOAD /ASYNC /DETAILED '"$vCOMSPEC" /C "net stop $1 /Y"' "" "$TEMP\output.log"

Prabhat.
123mobile is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump