ExecWait and Firefox 1.5Bevan Collins - December 9, 2005 - 8:06pm
Hi, looks like using ExecWait for Firefox 1.5 no longer works. It was ok with 1.0.7. I guess it must be starting up a child process and then quiting or something. Not sure of a way around this. Bevan. ( categories: )
|

Restart it a couple times
You'll need to restart it a couple times to get it stable before using it in a burned CD Portable Firefox Live scenario. 1.5 seems to respawn processes more than 1.0.
Sometimes, the impossible can become possible, if you're awesome!
How about using FindProc?
How about using this code after EXECWAIT?
Sleep 2000
FindProcDLL::FindProc "firefox.exe"
Pop $R0
StrCmp $R0 "1" 0 -3
Debating that...
I've been debating adding in an option like that. I was trying to solidfy on a time period to wait between each check, since it is possible the user could launch a local copy while the wait is going on.
As long as you relaunch a couple times, the PID is stable. And, since you wouldn't use the updater or be installing extensions while using ExecWait, it's fine.
Sometimes, the impossible can become possible, if you're awesome!