Old 21st November 2007, 04:58   #1
pallab sarkar
Junior Member
 
Join Date: Nov 2007
Posts: 1
How to detect the firefox is running or not

Hi verybody
I am new in developing installer using this great nsis scripts
for my mozilla plugins,
Now the problem i stuck is at time of installation the installer must detect that the firefox browser is running or not if running it prompt to close it .and only proceed installation when it is closed by user

If anyone has any short and easy way out for this problem which require miimum end user input for this.
thanx in advance
pallab sarkar is offline   Reply With Quote
Old 21st November 2007, 12:18   #2
jimpark
Senior Member
 
Join Date: Sep 2007
Posts: 204
Look for the FindProc plugin.

Unicode NSIS advocate -- http://www.scratchpaper.com for latest build and source.
jimpark is offline   Reply With Quote
Old 23rd November 2007, 21:53   #3
Fightin_Foo
Junior Member
 
Join Date: Nov 2007
Location: Ohio
Posts: 49
Send a message via AIM to Fightin_Foo
There are numerous plugins for checking to see if a process is running, and a lot of them have functions that can kill the process. However if you want to just ask the user to close try placing the processes check and a message box in a while loop.

This will give you an idea, I don't remember the syntax off the top of my head.

while
check process

if running
break
else
MessageBox MB_OK "Please close firefox"
endif

endwhile

From there to here,
from here to there,
funny things
are everywhere.

Dr. Seuss
"One Fish Two Fish Red Fish Blue Fish"
Fightin_Foo is offline   Reply With Quote
Reply
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