pallab sarkar
21st November 2007 05:58 UTC
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
jimpark
21st November 2007 13:18 UTC
Look for the FindProc plugin.
Fightin_Foo
23rd November 2007 22:53 UTC
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