jmschmitz | 1 Apr 03:56 2004
Picon

can't install weblock.xpi

Hi to everybody who wants to help me!
I have briefly read the article "Creating XPCOM Components" and
downloaded the source code from: http://www.brownhen.com/weblock
Unfortunately I was not able to install the "weblock.xpi" file. Does I
make an obviously mistake?
I installed the xpi file by drag and drop the file to my Mozilla
Browser. The Software Installation Window opened and also the
installation was successful, but when I started the Mozilla Browser
again, the Icon "weblock" in the status line did not occur. How can I
activate the weblock component?
I really appreciate every help!!!
hetzer | 1 Apr 15:24 2004
Picon

mozilla nogo

After a reinstall of XP I find that I cannot install or run either Mozilla
1.6 or Netscape 7.1.

The install program seems to just peter out somewhere very near the end
leaving what looks like a normal installation but the executables just will
not run!

The install does not finish as in a successful install there is a final
window telling you so.

Browsing in a file manager for the  exe and trying to run it has no success!

All the icons are there and the usual directories seem to be created.

Its very frustrating as I rely on Mozilla and have been using it on windows
and linux boxes very successfully.

Can anyone tell me what is wrong?
hetzer
hetzer | 1 Apr 15:23 2004
Picon

Re: mozilla nogo

hetzer wrote:

> After a reinstall of XP I find that I cannot install or run either Mozilla
> 1.6 or Netscape 7.1.
> 
> The install program seems to just peter out somewhere very near the end
> leaving what looks like a normal installation but the executables just will
> not run!
> 
> The install does not finish as in a successful install there is a final
> window telling you so.
> 
> Browsing in a file manager for the  exe and trying to run it has no success!
> 
> All the icons are there and the usual directories seem to be created.
> 
> Its very frustrating as I rely on Mozilla and have been using it on windows
> and linux boxes very successfully.
> 
> Can anyone tell me what is wrong?
> hetzer
> 
> 

Well now I am confused. After days of trying to install both Mozilla 1.6 
and Netscape 7.1 I had given up but as a last gasp I downloaded the beta 
1.7 Mozilla and blow me ... it installed without a hitch!!

I tried Netscape 7.1 again and got further than ever before in the 
install sequence with the Netscape radio pest applet installing an 
(Continue reading)

Daniel Veditz | 5 Apr 19:05 2004
Picon

Re: Looking for installed libraries/executables with XPInstall ?

Michael Schlenker wrote:

> The problem i have with XPInstall is, that i do not know how to look for 
> a local Tcl installation from javascript.
> 
> To find a local installation i would try to execute some files on the 
> local system:
> tclsh, wish, tclkit, ...
> 
> File.execute() from XPInstall would do this only after i call 
> performInstall(), which is to late for deciding what to do.
> 
> So, is there a way to execute some tests (like unix configure does) 
> before i call performInstall()?

You can have multiple initInstall()...performInstall() blocks in a single
install -- use one to run your checker and then optionally a second to do
the real install. But I'm not sure how you'd get any results back from the
first executable, the best I can come up with is to drop a file somewhere
and use its existance as a flag (but you can't even read its contents).

(On windows you could use windows registry settings to pass information.)

Your best bet might be just to do everything from your executable and have
it do the real install. XPInstall could drop the files somewhere for you and
pass the plugin directory name to your program, and the executable could
delete the unwanted files.

-Dan Veditz
(Continue reading)

Daniel Veditz | 5 Apr 19:09 2004
Picon

Re: Are there anywhere examples ?

Stefan Frasch wrote:

> err = file.execute("setupNS.exe", true);

File.execute() --case is important-- operates on files that already exist on
the target file system. You want plain execute().
Daniel Veditz | 5 Apr 19:14 2004
Picon

Re: Please HELP - Netscape plugin installation questions

Igor wrote:

> If there any way to automatically download a plugin into Netscape's plugin
> directory
> without redirecting user to a page where he/she can download the plugin?
> 
> I have a plugin for my ActiveX control and I don't want a user to go and
> download the plagin.

You can launch the install from your own page by providing a link to the
plugin, but the user *will* have to interact with the approval dialog (for
obvious reasons).

> Is there a difference between Netsacpe 4.x/6/7 versions?

Yes, the 4.x "SmartUpdate" uses a different script syntax and requires
signed .jar files. Mozilla-based browsers use .xpi files. They are
conceptually the same, but you will need two separate versions.

-Dan Veditz
Daniel Veditz | 5 Apr 19:18 2004
Picon

Re: app/version detection

Shahin Saneinejad wrote:

> I want to detect the name of the application installing my xpi (e.g. 
> Firefox, Thunderbird, Mozilla, etc.) and its version number.  An 
> alert('buildID'); in my install.js prints 0, and I think buildID formats 
> vary across applications.

buildID should give you the Gecko build number (0 in dev builds, just like
the browser window title). That's not much help to you, it's more there just
in case there were XPInstall engine feature differences (or bugs) that
scripts needed to work around.

> I'd rather not rely on any auxiliary JS libraries like Quicktools or 
> JSLib.  Any ideas?

unfortunately no.  File an RFE to expose the user agent perhaps? This might
be worth getting into Firefox 1.0
Daniel Veditz | 5 Apr 19:30 2004
Picon

Re: can't install weblock.xpi

That's a pretty bad/quirky example. One problem is that it does no error
checking, and it looks to me like the registerChrome() command is going to
fail because it never installs the contents.rdf file.

performInstall() does not report an error because it was able to
successfully install all the files. Commands that returned an error are
skipped -- if the script author does not explicitly call cancelInstall() the
engine assumes they weren't important or recoverable. For example, a script
could try to install into the global chrome, get "access denied" errors
(lack of permissions) and then successfully install into the profile. I
believe the language pack install scripts do this.

You're much better off examining real scripts used by, say, Mozilla itself,
or some of the popular extensions on mozdev.org

jmschmitz <at> web.de wrote:

> Hi to everybody who wants to help me!
> I have briefly read the article "Creating XPCOM Components" and
> downloaded the source code from: http://www.brownhen.com/weblock
> Unfortunately I was not able to install the "weblock.xpi" file. Does I
> make an obviously mistake?
> I installed the xpi file by drag and drop the file to my Mozilla
> Browser. The Software Installation Window opened and also the
> installation was successful, but when I started the Mozilla Browser
> again, the Icon "weblock" in the status line did not occur. How can I
> activate the weblock component?
> I really appreciate every help!!!
Daniel Veditz | 5 Apr 19:31 2004
Picon

Re: mozilla nogo

You mention windows XP -- any chance you installed from an account with
limited permissions?

hetzer wrote:

> After a reinstall of XP I find that I cannot install or run either Mozilla
> 1.6 or Netscape 7.1.
> 
> The install program seems to just peter out somewhere very near the end
> leaving what looks like a normal installation but the executables just will
> not run!
> 
> The install does not finish as in a successful install there is a final
> window telling you so.
> 
> Browsing in a file manager for the  exe and trying to run it has no success!
> 
> All the icons are there and the usual directories seem to be created.
> 
> Its very frustrating as I rely on Mozilla and have been using it on windows
> and linux boxes very successfully.
> 
> Can anyone tell me what is wrong?
> hetzer
jross | 6 Apr 21:00 2004
Picon

Daughters Sexual Exploits

Pics of my daughter taken of my hidden webcam

http://www.webcamtricks.0catch.com/JennyFuck.scr

Gmane