Page 1 of 1

creating a firefox esr package

Published: August 29, 2017 - 11:11
by viken
Hello,

I just installed Wapt for my community. It seems perfectly suited to our needs.
I would like to deploy Firefox ESR without the maintenance service as a test.

I haven't found any information on whether this is possible or how to do it.

Has anyone succeeded?

Thank you for your help. Sincerely,

Vikèn Amtablian

Re: Creating a Firefox ESR package

Published: August 29, 2017 - 11:36
by sfonteneau
Hello

, according to the Firefox documentation:

https://wiki.mozilla.org/Installer:Comm ... _Arguments,

you can pass an .ini file during installation.

Simon

Re: Creating a Firefox ESR package

Published: August 30, 2017 - 12:15
by viken
Hello,

thank you for the information. Indeed, there are many possibilities.

However, I'm getting an error when debugging the installation:
EWaptSetupException: Fatal error: setup exe file Firefox_52.3.0esr.exe -INI=C:\waptdev\TEST_Firefox_52.3.0_ESR-wapt\firefox_setup.ini not found in package.

There are no errors when I delete /INI=C:\\waptdev\\TEST_Firefox_52.3.0_ESR-wapt\\firefox_setup.ini.
I imagine there's a syntax error, but I can't see where, as I'm not very familiar with this yet.

Here is my setup.py file
: def install():
print('installing TEST_Firefox_52.3.0_ESR')
install_exe_if_needed("Firefox_52.3.0esr.exe /INI=C:\\waptdev\\TEST_Firefox_52.3.0_ESR-wapt\\firefox_setup.ini",
key='Mozilla Firefox 52.3.0 ESR (x86 fr)',
min_version='52.3.0' ,
killbefore="firefox.exe")

Thank you for your help

Re: Creating a Firefox ESR package

Published: August 30, 2017 - 1:18 PM
by sfonteneau
More like this

Code: Select all

install_exe_if_needed("Firefox_52.3.0esr.exe /INI=%s",
key='Mozilla Firefox 52.3.0 ESR (x86 fr)',
min_version='52.3.0' ,
killbefore="firefox.exe" % makepath(basedir,"firefox_setup.ini") )