christopher taylor | 8 Dec 13:18 2005
Picon

Help with XPInstall

Hello,

I've installed Firefox 1.5 on two machines. One of them is my
development platform. I worked on a C++ XPCOM component on the
development machine and it's working flawlessly. I got all my work
moved to another machine and now I'm getting errors from firefox
saying XPCOM can't find my component.

I looked in both user profiles and they look the same. The XPI that
I'm storing my information was made like this:

file.xpi contains:

 + chrome.manifest
 + install.rdf
 + /platform/WINNT_x86-msvc/components/xpcomp.dll
 + /components/Ixpcomp.xpt
 + file.jar

file.jar contains a directory named /chrome/ and that directory holds
a bunch of xul files

 any idea of the problem? I'm cleaning out the paths on my development
machine to ensure that firefox isn't dynamically linking to a location
that has any DLLs. After clearing out the paths, I'm now getting the
same problem on my development machine.

should I be using an install.js script to handle this installation? or
should an install.rdf do the trick? in any case, i just don't think my
XPCOM dll (in this example, xpcomp.dll) is registering with XPCOM.
(Continue reading)

a_28 (sent by Nabble.com | 8 Dec 13:44 2005

Xpi install from server

I need to download an XPI which contains plug in of our application

the HTML for downloading the XPI contains the following code:
<embed  type="application/my-plugin" param1="param1" param2="2" width=600 height=40 " PLUGINURL="http://localhost:8080/myapp/myAppPlugin.xpi">

But the download is not taking place..Am I missing something here?

Sent from the Mozilla - XPInstall forum at Nabble.com:
Xpi install from server
Daniel "DaCheetah" | 11 Dec 00:53 2005

Re: Extensions do not install on Win-2000

Hans Wolf wrote:
> When I try to install a Firefox extension under Win-2000, after 
> clicking  on the XPI file nothing happens.
> 
> Now I cannot recall whether I ever managed to install extensions on ANY 
> of  my Win-2000 computers.
> J2SE Environment is installed on these computers.
> 
> What should be done to extend the XPI to the Win-2000 platform?
> 
> Hans

If I understand the problem correctly, just dragging the file from 
explorer into an open mozilla window should trigger the installtion.
(I'm using Win2K by the way.)

Daniel
Tomasz Pyra | 13 Dec 09:48 2005

How to mark extension to be removed next time when Firefox started?

I know that hand made uninstall of extension is hard thing to do.

But maybe there is possibility to mark extension as "to remove" (same as 
when I do it from menu tools->extensions->uninstall)?
Tomasz Pyra | 14 Dec 10:30 2005

Re: How to mark extension to be removed next time when Firefox started?

Tomasz Pyra napisał(a):
> I know that hand made uninstall of extension is hard thing to do.
> 
> But maybe there is possibility to mark extension as "to remove" (same as 
> when I do it from menu tools->extensions->uninstall)?

I found solution:

in Extensions.rdf file I need to add attribute:
em:toBeUninstalled="true" into RDF tag containing informations about 
plugin, and change "Components List Changed" attribute from 0 to 1 in 
file compatibility.ini in profile directory of current user.

Is this good solution? Plugin is removed next time when firefox is 
started in that profile, so for me it works.
Karsten Düsterloh | 16 Dec 23:33 2005
Picon

Re: How to mark extension to be removed next time when Firefox started?

Tomasz Pyra aber hob zu reden an und schrieb:
> in Extensions.rdf file I need to add attribute:
> em:toBeUninstalled="true" into RDF tag containing informations about 
> plugin, and change "Components List Changed" attribute from 0 to 1 in 
> file compatibility.ini in profile directory of current user.
> 
> Is this good solution? Plugin is removed next time when firefox is 
> started in that profile, so for me it works.

Sounds pretty hackish, given that you could just call the EM (eg. see
bottom of
<http://www.mozdev.org/source/browse/mnenhy/src/bin/chrome/mnenhy/content/mnenhy/mnenhy-pref-main.js?rev=1.9&content-type=text/x-cvsweb-markup>):

// remove Mnenhy from the Aviary's Extension Manager
try
{
  const ksEMClassID = " <at> mozilla.org/extensions/manager;1";
  const ksEMIID     = "nsIExtensionManager";
  if (ksEMClassID in Components.classes
      && ksEMIID in Components.interfaces)
  {
    const koEMService = Components.classes[ksEMClassID]
                        .getService(Components.interfaces[ksEMIID]);
    if ("uninstallExtension" in koEMService)
      // up to nsIExtensionManager.idl 1.25
      koEMService.uninstallExtension(goMnenhy.ksMnenhyUUID);
    else if ("uninstallItem" in koEMService)
      // since nsIExtensionManager.idl 1.26
      koEMService.uninstallItem(goMnenhy.ksMnenhyUUID);
  }
  goMnenhy.Log("UninstallMnenhy: successfully removed from EM");
}
catch(oErr)
{
  goMnenhy.Log("UninstallMnenhy: removing from EM failed:" + oErr);
}

Karsten
--

-- 
       Freiheit stirbt        |       Fsayannes SF&F-Bibliothek:
            Mit Sicherheit    |       http://fsayanne.tprac.de/
Deano | 20 Dec 14:00 2005
Picon

Make and XP Install Legit?

   What is the easiest way to make an existing install of Windows XP 
legit?  A friend inherited a computer with XP on it, but she knows it is 
not a legal copy. I want to get BUY her a legal install CD.  What would 
be the easiest way to do this to make the computer legit WITHOUT a full, 
reformat and scratch install?  There MUST be an easy way to do this.
         ;-Deano

Gmane