Repackaging the Windows Installer

Firefox for Enterprise Firefox for Enterprise 최종 변경일: 03/20/2019 76% of users voted this helpful
아직 누구도 이 문서의 번역에 참여하지 않았습니다. SUMO 문서 변역에 참여하는 방법에 대해 이미 알고 계시다면, 번역을 시작해 보세요 . SUMO 문서를 번역하는 방법에 대해 알고 싶으시면, 여기서 시작하세요.

Sometimes you might need to include changes you've made to Firefox in a new installer. This might be a policies.json file, AutoConfig changes or extensions. This document shows how to do that on Windows operating systems.

Note: To see steps for the macOS, refer to Deploying Firefox Customizations on macOS.

Step 1: Download installer

Download the installer that you want to repackage. Make sure you download a full installer and not a stub installer. The stub installer is typically named "Firefox Installer.exe" whereas the full installer is named "Firefox Setup VERSION.exe." You can download full installer of Firefox Extended Support Release (ESR) from here and of rapid release from here.

Step 2: Unzip installer

Unzip the installer into a directory. You'll need to use 7-zip in order to unzip it.

7z x "Firefox Setup VERSION.exe"

Step 3: Make changes to Firefox

Make your changes to Firefox in the core subdirectory.

Step 4: Repackage files

Repackage Firefox by running this command in the directory where you unzipped Firefox.

7z a -r -t7z app.7z -mx -m0=BCJ2 -m1=LZMA:d24 -m2=LZMA:d19 -m3=LZMA:d19 -mb0:1 -mb0s1:2 -mb0s2:3

This will create a file called app.7z that contains the changes.

Step 5: Download utilities

Download the files 7zSD.Win32.sfx and app.tag and save them in the same directory where the app.7z is located.

Step 6: Create installer

Run this command:

copy /B 7zSD.Win32.sfx+app.tag+app.7z our_new_installer.exe

to concatenate the files and create the installer.

The “/B” is very important! It tells copy that these are binary files so it doesn’t add extra characters to the files.

이 문서가 도움이 되셨습니까?

잠시만 기다려 주십시오...

문서 작성 및 변경에 도움 주신 분들

Illustration of hands

도움 주기

전문 지식을 성장시키고 다른 사람들과 공유세요. 질문에 답하고 지식 기반을 개선할 수 있습니다.

자세히 살펴보기