Step 1: Add the Firefox Installer in NTLite
Step 2: Extract the attached firefox.zip into your Windows ISO root folder
Here is the exact layout of the files relative to your Windows ISO root for your reference:
Step 3: Pin Firefox, Settings & File Explorer to the Start Menu
Look inside the files from the ZIP to see what they do before downloading:
- Download the official Firefox 64-bit Offline Installer.
- In NTLite, go to the Post-Setup tab.
- Add the Firefox installer executable and set the parameters to
/S(for a silent, hands-free installation).
Step 2: Extract the attached firefox.zip into your Windows ISO root folder
- Download the attached
firefox.zip. - Extract the contents of the ZIP directly inside the root of your extracted Windows ISO directory.
Here is the exact layout of the files relative to your Windows ISO root for your reference:
Code:
<Your ISO root>\
│ setup.exe
│ ...
└───sources/
└───$OEM$/
├───$$/
│ └───System32/
│ OEMDefaultAssociations.xml
└───$1/
├───Program Files/
│ └───Mozilla Firefox/
│ │ firefox.cfg
│ └───defaults/
│ └───pref/
│ autoconfig.js
└───Users/
└───Default/
└───AppData/
└───Local/
└───Microsoft/
└───Windows/
└───Shell/
LayoutModification.xml
Step 3: Pin Firefox, Settings & File Explorer to the Start Menu
- Download the attached
firefox.reg. - In NTLite, go to the Registry tab, click Add, and select the
firefox.regfile.
INI:
Windows Registry Editor Version 5.00
;Pin Firefox, Settings & File Explorer to Start Menu
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\current\device\Start]
"ConfigureStartPins"="{\"pinnedList\":[{\"desktopAppId\":\"308046B0AF4A39CB\"},{\"packagedAppId\":\"windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel\"},{\"desktopAppId\":\"Microsoft.Windows.Explorer\"}]}"
Look inside the files from the ZIP to see what they do before downloading:
- Default Browser Association
File Path:$OEM$\$$\System32\OEMDefaultAssociations.xml
Sets Firefox as default browser for all new users.
XML:<?xml version="1.0" encoding="UTF-8"?> <DefaultAssociations> <Association Identifier=".htm" ProgId="FirefoxHTML-308046B0AF4A39CB" ApplicationName="Firefox" /> <Association Identifier=".html" ProgId="FirefoxHTML-308046B0AF4A39CB" ApplicationName="Firefox" /> <Association Identifier="http" ProgId="FirefoxURL-308046B0AF4A39CB" ApplicationName="Firefox" /> <Association Identifier="https" ProgId="FirefoxURL-308046B0AF4A39CB" ApplicationName="Firefox" /> </DefaultAssociations> - Firefox AutoConfig Loader
File Path:$OEM$\$1\Program Files\Mozilla Firefox\defaults\pref\autoconfig.js
Loads the firefox.cfg file automatically.
JavaScript:// Customize Firefox using AutoConfig // https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig pref("general.config.filename", "firefox.cfg"); pref("general.config.obscure_value", 0); - Firefox Custom Preferences
File Path:$OEM$\$1\Program Files\Mozilla Firefox\firefox.cfg
Disables first-run/post-update screens, sponsored top sites, default bookmarks, and telemetry.
JavaScript:// Override the first run page. // https://firefox-admin-docs.mozilla.org/reference/policies/overridefirstrunpage/ defaultPref("startup.homepage_welcome_url", ""); // Customize the Firefox Home page. // https://firefox-admin-docs.mozilla.org/reference/policies/firefoxhome/ defaultPref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); // Don't display the Firefox Terms of Use and Privacy Notice upon startup. // https://firefox-admin-docs.mozilla.org/reference/policies/skiptermsofuse/ defaultPref("termsofuse.bypassNotification", true); // Prevent the upload of telemetry data. // https://firefox-admin-docs.mozilla.org/reference/policies/disabletelemetry/ defaultPref("datareporting.healthreport.uploadEnabled", false); defaultPref("datareporting.policy.dataSubmissionEnabled", false); defaultPref("toolkit.telemetry.archive.enabled", false); defaultPref("datareporting.usage.uploadEnabled", false); // Disable the creation of default bookmarks. // https://firefox-admin-docs.mozilla.org/reference/policies/nodefaultbookmarks/ defaultPref("browser.bookmarks.file", ""); - Taskbar Layout Modification
File Path:$OEM$\$1\Users\Default\AppData\Local\Microsoft\Windows\Shell\LayoutModification.xml
Pins only File Explorer and Firefox to the taskbar.
XML:<?xml version="1.0" encoding="utf-8"?> <LayoutModificationTemplate xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification" xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout" xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout" xmlns:taskbar="http://schemas.microsoft.com/Start/2014/TaskbarLayout" Version="1"> <CustomTaskbarLayoutCollection PinListPlacement="Replace"> <defaultlayout:TaskbarLayout> <taskbar:TaskbarPinList> <taskbar:DesktopApp DesktopApplicationID="Microsoft.Windows.Explorer" /> <taskbar:DesktopApp DesktopApplicationID="308046B0AF4A39CB" /> </taskbar:TaskbarPinList> </defaultlayout:TaskbarLayout> </CustomTaskbarLayoutCollection> </LayoutModificationTemplate>
Attachments
Last edited: