single instance XULRunner applications

single instance XULRunner applications

Hi All,

I'm developing a XULRunner application on Windows. My
Application should have only Single Instance running at a time i.e
like Single Document Applcation(SDI). But when i click my app's EXE ,
it launches new App everytime.

I've searched the mozilla site for this , found a link
containing the singletonWindowType preference. I tried the same with
my app , but it didn't work.(http://developer.mozilla.org/en/docs/toolkit.singletonWindowType)