Hi, 
        I am having problems getting my plugin to auto-update like
SmartUpdate does in Netscape 4.76.
I am running Netscape 6 [ Mozilla/5.0 (Windows; U; Windows NT 5.0;
en-US; m18) Gecko/20010131 Netscape 6/6.01 ]

I can install the plugin from the xpi file on a clean machine, but
when I change the version number and try to update the plugin, then I
run into three problems:

a) The call to InstallTrigger.getVersionInfo dies in the Javascript.

b) Calls to InstallTrigger.compareVersion ALWAYS return -4, even if
the versions are EXACTLY the same, and so the plugin is always
updating even when it does not need to.

c) Calls to InstallTrigger.compareVersion using a null version string
reult in ALWAYS updating as well, at least so far in my testing.

Anyone have these problems?  Anyone know of a workaround?? 

TIA.

Sheri.

  I have converted the code to use XPInstall instead of SmartUpdate
Trigger class.  Currently, with my version of Netscape 6 [ Mozilla/5.0
(Windows; U; Windows NT 5.0; en-US; m18) Gecko/20010131 Netscape
6/6.01 ] I can install the plugin using my .xpi file
Sheri Steeves
Macadamian Technologies
Visit us at http://www.macadamian.com

If you must choose between two evils, pick the one you've never tried before.

Reply via email to