Installing FFox extension on Vista startup crashes

By Bluemouse
Feb 6, 2008
Topic Status:
Not open for further replies.
  1. Hi All,

    I have a little program written that is sitting in the registry under Run, and it is supposed to check to see if a certain Firefox extension was installed and then execute "firefox.exe -install-global-extension myxtension.xpi". However, it seems to hang on windows startup due to either UAC, or windows defender or both.

    Is there any way to get around this? I need to install the extension globally, so I could just copy it to the global extensions folder, but then UAC kicks in again and prompts/freezes my program.

    If I wait about 3 minutes after vista starts to do this, it works fine, so it seems that Vista just hasn't finished loading something, or else blocks certain programs from running until all the vital system processes are up (which takes forever). I could always sleep my program for a couple of minutes, but that's less than ideal and am looking for a better solution.

    Thanks!

    *please note that I am trying to install a global addon and not a user specific one*
  2. Bluemouse

    Bluemouse Newcomer, in training Topic Starter Posts: 405

    To clarify:

    Instead of doing the -install-global thing, I am copying the file over the the Program FIles\Firefox\Extensions directory and then running firefox as administrator.

    The problem is that the firefox.exe process is running in the background, but seems to hang if the copying/opening is done too close to login time.

    If I don't open firefox the first time with my program, the user would have to run as administrator the first time or else the plug-in fails and doesn't prompt again.

    So I need firefox to open with my program, but not crash as it does.
  3. Bluemouse

    Bluemouse Newcomer, in training Topic Starter Posts: 405

    Anyone have any ideas?

    Thanks!
  4. Bluemouse

    Bluemouse Newcomer, in training Topic Starter Posts: 405

    Still looking for a solution or suggestions if anyone has?
Topic Status:
Not open for further replies.


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.