Ky sajt do të funksionojë me kufizime, teksa bëjmë mirëmbajtjen e tij për të përmirësuar punën tuaj. Nëse një artikull nuk e zgjidh problemin tuaj dhe dëshironi të bëni një pyetje, kemi bashkësinë tonë të asistencës, e gatshme për t’ju ndihmuar, te @FirefoxSupport në Twitter dhe/r/firefox në Reddit.

Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Mësoni Më Tepër

Can the policies.json file go into the installer?

  • 5 përgjigje
  • 1 e ka hasur këtë problem
  • 2 parje
  • Përgjigjja më e re nga Wesley Branton

more options

I have created a policies.json and I want to put it into the windows installer. I am using the documentation on how to repackage the windows installer https://support.mozilla.org/af/kb/repackaging-windows-installer But I do not know where the policies.json file should do. Can I create a distribution folder inside the installer with the policies.json so it will use this file to configure when installing? If so where should it go, at the root of the installer (where the setup.exe is) or somewhere else?

I have created a policies.json and I want to put it into the windows installer. I am using the documentation on how to repackage the windows installer https://support.mozilla.org/af/kb/repackaging-windows-installer But I do not know where the policies.json file should do. Can I create a distribution folder inside the installer with the policies.json so it will use this file to configure when installing? If so where should it go, at the root of the installer (where the setup.exe is) or somewhere else?

Krejt Përgjigjet (5)

more options

You are spot on.

Basically, you will unzip the installer using the Repackage the Windows installer documentation. This will give you a new folder called "Core". This is the Firefox installation that will be installed on a computer that will run the installer that you will be making.

You just need to set up your policies.json files in that "Core" folder, just as you would with a regular installation of Firefox.

Then you complete the remaining steps in the Repackage the Windows installer documentation to finish creating the installer that you can run on a computer.

Hope this helps.

more options

So I should create a distribution folder in the Core folder, put the policies.json file in it and then repackage the windows installer?

more options

That's correct.

Basically, the core folder is what will be installed when you run the new repackaged installer. So if you put the distribution folder in the core folder, it will be included in the new installer.

more options

Thanks. Noticing the link to 7zSD.sfx in the Repackaging the Windows Installer documentation https://support.mozilla.org/af/kb/repackaging-windows-installer

does not work. Do you know where i can get this 7zSD.sfx file?

more options

Oh! Sorry about that!

It appears that someone moved the file without changing that instruction page. You can download the sfx file from here. Also, the command in step 6 should be the following:

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

That should work for you now.