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?
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
Greetings,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/
probono
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?

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1
$99.99
Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$90.00
Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive -
$39.99
Samsung 860 EVO 250GB, SATA III, 2.5" Internal Solid State Drive - Black...
$30.00
Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot
$549.00
Fanxiang 256GB 512GB 1TB 2TB 4TB SSD Lot 2.5'' SATA Internal Solid State Drive
$42.99
Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD
$129.99
Samsung 256 GB Internal SATA SSD Fully Tested 50%-79% Health
$24.00
SSD 2.5" SATA Hard Drive for Laptop Desktop Windows 10 pro 64 Pro Pre-installed
$42.00
Micron MTFDDAK256TBN 256 GB, Internal ,2.5" SSD
$23.00