[Request] latest Firefox ?

Discuss & post Update Pack addons here.
Post Reply
skrell
Posts: 137
Joined: Sat Jan 19, 2008 6:12 pm

[Request] latest Firefox ?

Post by skrell » Thu Dec 26, 2013 10:14 pm

I've noticed there are no threads for making and distributing firefox addons . Would someone be kind enough to make me one? I've tried using FFaM and it just crashes on me.

User avatar
ricktendo64
Posts: 3213
Joined: Mon May 22, 2006 12:27 am
Location: Honduras

Post by ricktendo64 » Fri Dec 27, 2013 12:14 am

I would do it for you, but cant because I am on Android...But its best if you learned how to extract and make one yourself because you can personalize some settings, add/remove search plugins and even use a INI file to turn off shortcuts and/or maintanence service

There are other settings you can add/change, I dont know many (I am sure others will reply with them.) But once you are done its very easy to rebuild the installer with a tool like 7zip sfx maker (if you cant make one manually)

Wait for more tips on personalizing your installer and stuff, I am sure you will get a few more

User avatar
mooms
Posts: 788
Joined: Wed Aug 27, 2008 1:29 pm
Location: France

Post by mooms » Fri Dec 27, 2013 11:18 am


skrell
Posts: 137
Joined: Sat Jan 19, 2008 6:12 pm

Post by skrell » Fri Dec 27, 2013 4:20 pm

I'm not really interested in making a custom install with all my settings and such, is there a simple install switch for the "Firefox Setup 25.0.exe" that I could use to build an addon with ?

User avatar
mooms
Posts: 788
Joined: Wed Aug 27, 2008 1:29 pm
Location: France

Post by mooms » Fri Dec 27, 2013 4:41 pm

-ms switch will install Firefox silently. It's mentioned in my guide. Packaging it in an addon for RVMi/nLite is trivial.



You can also use my maker: Firefox_maker.7z to automatically download and make silent the latest installer (no need to use any switch).


You have to edit the first line of the script (change the =lang value).

example:

Code: Select all

wget "http://download.mozilla.org/?product=firefox-latest&os=win&lang=en-US"
if you want Firefox in English United States.

All possible values:

Code: Select all

ach
af
ak
ar
as
ast
be
bg
bn-BD
bn-IN
br
bs
ca
cs
csb
cy
da
de
el
en-GB
en-US
en-ZA
eo
es-AR
es-CL
es-ES
es-MX
et
eu
fa
ff
fi
fr
fy-NL
ga-IE
gd
gl
gu-IN
he
hi-IN
hr
hu
hy-AM
id
is
it
ja
kk
km
kn
ko
ku
lg
lij
lt
lv
mai
mk
ml
mr
nb-NO
nl
nn-NO
nso
or
pa-IN
pl
pt-BR
pt-PT
rm
ro
ru
si
sk
sl
son
sq
sr
sv-SE
ta
ta-LK
te
th
tr
uk
vi
xpi
zh-CN
zh-TW
zu

skrell
Posts: 137
Joined: Sat Jan 19, 2008 6:12 pm

Post by skrell » Sat Dec 28, 2013 12:22 pm

mooms, i really like this little batch but how do i turn the SFX into an nlite addon?

User avatar
mooms
Posts: 788
Joined: Wed Aug 27, 2008 1:29 pm
Location: France

Post by mooms » Sat Dec 28, 2013 2:03 pm

This is just a matter of creating an "entries.ini" file and packing it with the installer (who must be in a "svcpack" subfolder) into a cab/zip/rar/7zip archive.
English is not my native language so it is little hard to explain it better. Open any nLite/RVMi AddOn and you will understand.


For your pleasure, I have made a new maker that will also create a nLite/RVMi AddOn.

Here it is:

Firefox_SFX_and_AddOn_Maker.zip
MD5: 83fc5020b7464eb86f35b1a1e9f5689e
Size: 682 KB

User avatar
ricktendo64
Posts: 3213
Joined: Mon May 22, 2006 12:27 am
Location: Honduras

Post by ricktendo64 » Sat Dec 28, 2013 2:53 pm

Take a Entries_whatever.ini file from another nlite addon and edit it for your installer
You put our installer in the svcpack sub folder and zip it

You can use the default firefox installer and add your switches to the entries.ini or you can add your silent sfx with no switches

skrell
Posts: 137
Joined: Sat Jan 19, 2008 6:12 pm

Post by skrell » Mon Dec 30, 2013 11:16 am

Thank you mooms!! i will save this one forever! :)

User avatar
vmanda
Posts: 1634
Joined: Wed Apr 18, 2007 12:25 pm
Location: TM.Romania

Post by vmanda » Mon Dec 30, 2013 6:17 pm

Mozilla_Firefox_maker_latest.zip size: 3,41 MB md5:456340F1531BF04CC0C0490BDCFA3711
one improved version for this maker
(wget automatic download, automatic version detection)
for non US version just edit this line in cmd script:

Code: Select all

SET language=en-US
with country codes provided by mooms in this post.

skrell
Posts: 137
Joined: Sat Jan 19, 2008 6:12 pm

Post by skrell » Tue Dec 31, 2013 6:04 pm

Vmanda, any idea why this batch names the self extracting firefox to MozFrFox.exe . Does the Fr stand for french?

User avatar
mooms
Posts: 788
Joined: Wed Aug 27, 2008 1:29 pm
Location: France

Post by mooms » Thu Jan 02, 2014 1:58 am

A Big thanks to you vmanda, with the help of your maker I was able to create a much better version of mine.

As before, it will not modify the installation routine, so it is not overlapping yours, but it will now add the version number, lang & date for the sfx and addon.

Here it is:

Firefox_SFX_and_AddOn_Maker_2.0.zip
MD5: 4ddff2bed7b4664e86ecd7171613a093
Size: 683 KB

User avatar
vmanda
Posts: 1634
Joined: Wed Apr 18, 2007 12:25 pm
Location: TM.Romania

Post by vmanda » Thu Jan 02, 2014 6:35 am

skrell wrote:Vmanda, any idea why this batch names the self extracting firefox to MozFrFox.exe . Does the Fr stand for french?
Not from french. Is just a short name (8.3) abreviation from Mozila Firefox for sfx executable compressed into svcpack addon.

User avatar
mooms
Posts: 788
Joined: Wed Aug 27, 2008 1:29 pm
Location: France

Post by mooms » Thu Jan 02, 2014 1:24 pm

@vmanda: you can use 7za instead of cabarc to pack the AddOn, in my test zip is smaller than cab compression and it's one less executable to carry in the Binary folder.
7za is also much faster than cabarc.

Image

skrell
Posts: 137
Joined: Sat Jan 19, 2008 6:12 pm

Post by skrell » Thu Jan 02, 2014 8:43 pm

Hi mooms what exactly did you change from your last version?

User avatar
mooms
Posts: 788
Joined: Wed Aug 27, 2008 1:29 pm
Location: France

Post by mooms » Thu Jan 02, 2014 10:50 pm

hi skrell, as I said earlier:
mooms wrote:it will now add the version number, lang & date for the sfx and addon.
Also better handling of errors, and the lang value is now set with a variable, like in vmanda's batch.

Just try and you'll see anyway.

skrell
Posts: 137
Joined: Sat Jan 19, 2008 6:12 pm

Post by skrell » Fri Jan 03, 2014 12:27 pm

wicked! thanks man! i did try it! very nice!!

User avatar
mooms
Posts: 788
Joined: Wed Aug 27, 2008 1:29 pm
Location: France

Post by mooms » Sun Jan 05, 2014 8:36 pm

skrell wrote:wicked! thanks man! i did try it! very nice!!
8)

@vmanda:

instead of using

Code: Select all

FOR /F "tokens=*" %%G IN ('dir /b %~dp0Download\*.exe') DO SET file=%%G
SET exevers=%file:.exe=%
SET version=%exevers:Firefox Setup =%
you can use

Code: Select all

FOR /F "tokens=*" %%G IN ('dir /b %~dp0Download\*.exe') DO SET exevers=%%~nG
SET version=%exevers:Firefox Setup =%
~n is used to exclude the extension in the file name.


New version with this optimization:

Firefox_SFX_and_AddOn_Maker_2.1.zip
MD5: 2595cc8eb73c683f64f2be6e6540ffd3
Size: 683 KB

User avatar
mooms
Posts: 788
Joined: Wed Aug 27, 2008 1:29 pm
Location: France

Post by mooms » Sun Mar 20, 2016 1:21 pm

Alteration of the world
Want to thank me ? If you buy something on Banggood with this link, I will earn a little %.

Post Reply