Page 1 of 2
Add homepage in Firefox
Published: July 21, 2016 - 5:08 PM
by Dylan
Hello everyone,
I have recently started using Wapt in our company (approximately 120 workstations).
So far, I only deploy apps available on the WAPT store.
I have already deployed Firefox ESR on the workstations, now I would like to change the browser's home page.
In my private repository, I edited the relevant Firefox ESR package and added the following line to the "mozilla.cfg" file
Code: Select all
// Modifie la page d'accueil
defaultPref("browser.startup.homepage", "128.128.76.22");
When I redeploy Firefox I don't get any installation errors but Firefox still doesn't have the desired homepage.
I have the same problem with TightVNC, which I edited to change the default password and I can't manage it.
Any ideas?
Thanks in advance.
Dylan
Re: Adding a homepage in Firefox
Published: July 29, 2016 - 10:11 AM
by 117DewTa
Hi,
did you find a solution?
Re: Adding a homepage in Firefox
Published: August 3, 2016 - 10:39
by Dylan
Hi,
No, unfortunately not...
Re: Adding a homepage in Firefox
Published: August 17, 2016 - 5:49 PM
by Aguay
Do you have a single mozilla.cfg file, or do you have other files that are deployed with Firefox?
You need at least two files:
- The first mozilla.cfg file with your settings
- The second file calls mozilla.cfg; I often call it local-setting.js and it's located at: %programfiles%\Mozilla Firefox\defaults\pref (adjust this according to your installation)
It contains:
Code: Select all
pref("general.config.obscure_value", 0);
pref("general.config.filename", "mozilla.cfg");
Next, to set a page to start with Firefox, the parameter in mozilla.cfg is:
Code: Select all
// Modifie la page d'accueil
defaultPref("browser.startup.homepage", "http://home.example.com");
If you still have any problems, don't hesitate.
Re: Adding a homepage in Firefox
Published: September 1, 2016 - 11:05 AM
by Dylan
Hello Aguay,
Thanks for your reply, I just got back from vacation and I just found your message.
Unfortunately, I do have these two files which I had modified to put my parameters in, but nothing works: when I deploy the package on the machines these two files are present but as in the original.
I'm writing down here what I did to check because I must have made a mistake somewhere.
1 - I downloaded Firefox from the TIS repository on my private repository
2 - I went to the directory \waptdev\xxxxxxxx-firefox-esr-xapt
3 - Here I modified the mozilla.cfg file by adding
Code: Select all
// Modifie la page d'accueil
defaultPref("browser.startup.homepage", "128.128.76.22");
4 - I checked the local-settins.js file
Code: Select all
/ Process mozilla.cfg in FireFox root directory.
pref("general.config.obscure_value", 0);
pref("general.config.filename","mozilla.cfg");
5 - then I deployed Firefox on several machines... the installation goes well but the mozilla.cfg file ends up as it was originally.
I don't see where the problem lies (for your information, I have the same issue with VNC; I think I'm doing something wrong, but I can't figure out where)
Thank you for your help.
Re: Adding a homepage in Firefox
Published: September 12, 2016 - 3:03 PM
by Dylan
Is there anyone who can help me? Could those who have modified Firefox settings point me in the right direction?
Thanks in advance.

Re: Adding a homepage in Firefox
Published: September 19, 2016 - 11:53 AM
by Omahaddict
Hi,
you say you download and modify the package, but how do you re-upload it?
When you manually download the package from your repository and unzip it, is the mozilla.cfg file the same one you modified?
Re: Adding a homepage in Firefox
Published: September 21, 2016 - 1:16 PM
by Dylan
Hello Omahaddict and thank you for your reply.
So, I've never tried downloading from a computer from the private repository, and now I realize I can't because it's asking for an account and password (I did try the WAPT console login, of course, without success).
On the WAPT server side, I duplicated the c:\waptdev\xxxx-firefox-xxx directory, then modified the files I needed and ran the following command: "wapt-get build-upload c:\waptdev\xxx-firefox-xxx".
I'm sure I'm missing something, but I can't figure out what.
Dylan
Re: Adding a homepage in Firefox
Published: September 21, 2016 - 2:01 PM
by Aedenth
Hello,
before running the command "wapt-get build-upload c:\waptdev\xxx-firefox-xxx", did you increment the version number (the value after the "-") in the package control file (located in the folder c:\waptdev\xxx-firefox-xxx/WAPT/)?
To install a package directly from a machine, you need to use an account with administrator privileges on that machine, I believe.
Re: Adding a homepage in Firefox
Published: September 21, 2016 - 3:24 PM
by Dylan
Thank you, you've already pointed out my first mistake: no, I wasn't incrementing the version number, that's now been done.
Unfortunately, I have the impression that it's no better on the user side: I'm doing some more tests and I'll come back and tell you the result.