Please file a bug, we will have to re-think this. When we "execute" a file
we need to remember to later delete the temporary file created. To do this
we used our mechanism for completing partial installs, which blocks mozilla
execution until the install has completed. Since you have left notepad open
then we can't delete it, and mozilla won't start until we can.
If as part of an install you had launched a native install this behavior
would make sense, but since you launched a interactive program like notepad
it does not.
Meanwhile you could add the blocking argument to the execute()
command--execute('notepad.exe',true)--and then the install would not finish
until you closed it. This is strongly recommended if what you've launched
really is part of the install. But we'll need to figure out what to do in
this benign case.
-Dan Veditz
Pradeep wrote:
> Hi
>
> When I have a simple execute statement like
>
> execute("notepad.exe") in the install.js in theXPI file. Netscape 6.1 it
> always pops up the following messge on next startup. PS I have (notepad.exe
> packaged into the xpi). I can see notepad geeting launched. And everything
> seems to work fine. Except when I restart N6.1
>
> "The program must close to allow a previous installation attempt ot
> complete. Please restart."
>
> See attachment !!!!
>
> Why !!!
>
> Any workaround ! Are there any bugs filed on this ? I would like to file a
> bug if there is no solution.
>
> Pradeep
>
>
>