creating a firefox esr package

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
viken
Messages: 2
Registration: August 29, 2017 - 11:07

August 29, 2017 - 11:11

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
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

August 29, 2017 - 11:36

Hello

, according to the Firefox documentation:

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

you can pass an .ini file during installation.

Simon
viken
Messages: 2
Registration: August 29, 2017 - 11:07

August 30, 2017 - 12:15

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
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

August 30, 2017 - 1:18 PM

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") )
Locked