David,

Perhaps someone can correct me, but to the best of my knowledge the
execute() method is used to execute an application (or third party
installer) within your .jar file.

For example, we want our application to run immediately after it has been
installed, so we call execute().

The install.js script will be executed immediately (I believe) from your
trigger script. with something like:

function download()


xpi["myinstall.jar"] = "file:////My Computer/C
Drive/Inetpub/wwwroot/install/myinstall.jar";

numxpi ++;

InstallTrigger.install(xpi,statusCallback);

}

As I'm new to this some people may be able to improve upon this explanation.

Cheers,

Mark

"David McNamara" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I need to be able to execute a certain junk of JavaScript after the XPI
> has been install (by install.js).
> I've tried using the execute() function, but could not get it to work.
> Has anyone else been successfull with with this function.
> Specifically I need to create a Bookmark/Task Item after the installation.
>
> Thanks,
> David McNamara.
>





Reply via email to