In the time of installation is at client installed the correct XPI (thanx for idea of signing it).

My problem is that I want to check later (before each use) at client if it is installed exactly correct version which was downloaded from my site.

So, I need to test installed component, if it is like mine. I have done similar in Internet explorer by CRC32 check of the .dll file before usage of that component.

I don't know how to do it in Mozilla so far.


Bostjan



Doug Turner pravi:
Use signed installs:
http://www.mozilla.org/projects/xpinstall/signed/testcases/

Urge users to only use them.

Doug Turner


Bostjan wrote:


Users are downloading this component which is one od mozdev.org projects. I would like to check that their installed version is exactly the same as from my site (same version) and replaced it after install.

I don't want to have trojans in user's downloaded components. This is the reason.

Bostjan



Doug Turner pravi:

Bostjan wrote:

Hi!

I would like to check if some version of some special XPCOM component is installed. This component can be downloaded from my site.
How can I do this with Javascript?



Bostjan




Well, if xpinstall was used, you can check it your XPCOM component is installed via JS. See:

http://www.mozilla.org/projects/xpinstall/

Doug Turner




_______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to