Results 1 to 2 of 2

Thread: Solution for mozilla-* applications found

  1. #1
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159

    Solution for mozilla-* applications found

    Up to now, cmg creation for Mozilla-* applications such as Netscape, Firefox, Firebird, Sunbird and nvu failed because these applications need a writeable directory at first start (I continue to consider this bad design).

    After some investigation, I have now found the root cause:

    The file firefox/chrome/app-chrome.manifest gets written at first start. If (as in the case of a cmg) this is not writeable, then the launch fails. The workaround for klik is that it needs to create that file (with proper content) before the cmg gets created.

    As a proof of concept, I have set up
    klik://firefox-nightly - this installs the latest developer build of firefox, which is updated almost every day. The cmg is built "on the fly", using the following as firefox/chrome/app-chrome.manifest

    Code:
    content	necko	jar:comm.jar!/content/necko/
    content	xbl-marquee	jar:comm.jar!/content/xbl-marquee/
    content	cookie	jar:comm.jar!/content/cookie/
    content	passwordmgr	jar:toolkit.jar!/content/passwordmgr/
    content	global	jar:toolkit.jar!/content/global/
    content	global-platform	jar:toolkit.jar!/content/global-platform/	platform
    content	global-region	jar:toolkit.jar!/content/global-region/
    content	mozapps	jar:toolkit.jar!/content/mozapps/
    skin	communicator	classic/1.0	jar:classic.jar!/skin/classic/communicator/
    skin	global	classic/1.0	jar:classic.jar!/skin/classic/global/
    skin	mozapps	classic/1.0	jar:classic.jar!/skin/classic/mozapps/
    skin	help	classic/1.0	jar:classic.jar!/skin/classic/help/
    content	pipnss	jar:pipnss.jar!/content/pipnss/
    overlay	chrome://browser/content/pageInfo.xul	chrome://pippki/content/PageInfoOverlay.xul
    overlay	chrome://communicator/content/pref/preftree.xul	chrome://pippki/content/PrefOverlay.xul
    overlay	chrome://navigator/content/pageInfo.xul	chrome://pippki/content/PageInfoOverlay.xul
    content	pippki	jar:pippki.jar!/content/pippki/
    overlay	chrome://browser/content/browser.xul	chrome://inspector/content/tasksOverlay.xul
    overlay	chrome://browser/content/macBrowserOverlay.xul	chrome://inspector/content/tasksOverlay.xul
    overlay	chrome://inspector/content/commandOverlay.xul	chrome://inspector/content/viewers/dom/commandOverlay.xul
    overlay	chrome://inspector/content/commandOverlay.xul	chrome://inspector/content/viewers/styleRules/commandOverlay.xul
    overlay	chrome://inspector/content/commandOverlay.xul	chrome://inspector/content/search/modules/commandOverlay.xul
    overlay	chrome://inspector/content/keysetOverlay.xul	chrome://inspector/content/viewers/dom/keysetOverlay.xul
    overlay	chrome://inspector/content/popupOverlay.xul	chrome://inspector/content/viewers/dom/popupOverlay.xul
    overlay	chrome://inspector/content/popupOverlay.xul	chrome://inspector/content/viewers/styleRules/popupOverlay.xul
    overlay	chrome://inspector/content/popupOverlay.xul	chrome://inspector/content/search/modules/popupOverlay.xul
    content	inspector	jar:inspector.jar!/content/inspector/
    locale	inspector	en-US	jar:inspector.jar!/locale/en-US/inspector/
    skin	inspector	classic/1.0	jar:inspector.jar!/skin/classic/inspector/
    skin	inspector	modern/1.0	jar:inspector.jar!/skin/modern/inspector/
    content	branding	jar:browser.jar!/content/branding/
    content	browser	jar:browser.jar!/content/browser/
    content	browser-region	jar:browser.jar!/content/browser-region/
    overlay	chrome://communicator/content/contentAreaContextOverlay.xul	chrome://communicator/content/permissions/imageContextOverlay.xul
    overlay	chrome://communicator/content/pref/preftree.xul	chrome://communicator/content/pref/permissionsPrefsOverlay.xul
    overlay	chrome://navigator/content/navigatorOverlay.xul	chrome://communicator/content/permissions/permissionsNavigatorOverlay.xul
    overlay	chrome://navigator/content/navigatorOverlay.xul	chrome://communicator/content/permissions/cookieTasksOverlay.xul
    overlay	chrome://messenger/content/mailWindowOverlay.xul	chrome://communicator/content/permissions/imageContextOverlay.xul
    content	communicator	jar:comm.jar!/content/communicator/
    skin	browser	classic/1.0	jar:classic.jar!/skin/classic/browser/
    Greetings,
    probono

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159
    Now, can anynoe tell me how to extract the contents of this "magic" file automatically without having to launch mozilla-*?

    Why isn't the file simply part of the package? Why gets it created at first launch? Can this beahvior be changed?

Similar Threads

  1. Replies: 1
    Last Post: 02-21-2006, 08:10 AM
  2. Orinoco Gold Classic - found once - now not found.
    By GFBurke in forum Hardware & Booting
    Replies: 1
    Last Post: 02-04-2005, 02:37 AM
  3. Uninstall Mozilla and Mozilla components
    By turbines in forum General Support
    Replies: 2
    Last Post: 04-28-2004, 08:51 PM
  4. Clicking mailto links in Mozilla opens Mozilla Mail notKMail
    By lavaman094 in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 11-03-2003, 06:32 AM
  5. Replies: 3
    Last Post: 03-12-2003, 01:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Intel Core i7-7800x CPU processor sr3nh 3.50ghz 6-Core 8.25mb lga-2066 X series picture

Intel Core i7-7800x CPU processor sr3nh 3.50ghz 6-Core 8.25mb lga-2066 X series

$57.31



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$419.99



Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1 picture

Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1

$39.99



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



Intel Quad Core i3-12100 3.3GHz 12MB LGA1700 12th Gen. CPU Processor SRL62 picture

Intel Quad Core i3-12100 3.3GHz 12MB LGA1700 12th Gen. CPU Processor SRL62

$46.03



AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor picture

AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor

$79.00



Intel Core i7-2600 SR00B 3.40GHz Quad Core LGA1155 8MB Processor CPU picture

Intel Core i7-2600 SR00B 3.40GHz Quad Core LGA1155 8MB Processor CPU

$24.99



Intel Core i7-3770 3.40GHz Quad-Core CPU Processor QC1W LGA1155 Socket picture

Intel Core i7-3770 3.40GHz Quad-Core CPU Processor QC1W LGA1155 Socket

$33.49



AMD Ryzen 7 7700 Processor (5.3 GHz, 8 Cores, Socket AM5) Boxed -... picture

AMD Ryzen 7 7700 Processor (5.3 GHz, 8 Cores, Socket AM5) Boxed -...

$259.99



Intel Core i7-3770 3.40GHz 8MB Quad Core Socket LGA1155 CPU Processor SR0PK picture

Intel Core i7-3770 3.40GHz 8MB Quad Core Socket LGA1155 CPU Processor SR0PK

$35.00