custom build - worried about Mozilla\Firefox hardcode

Discussion of third-party/unofficial Firefox/Thunderbird/SeaMonkey builds.
Post Reply
ccsb
Posts: 1
Joined: February 9th, 2016, 3:03 am

custom build - worried about Mozilla\Firefox hardcode

Post by ccsb »

Hi

I would like to build a custom distribution of firefox.
However, configuring both
ac_add_options --with-app-name=ABC
ac_add_options --with-basename=XYZ
And
ac_add_options --with-branding=browser/branding/unofficial
and then modify the files \locales\en-US
brand.dtd
brand.properties

none of these change the AppData folders "Mozilla" or "Firefox"
AppData\Local\Mozilla\Firefox

likewise the registry key HKLM\Software\Mozilla still contains Mozilla

From looking at the install scripts, this appears to be hard-coded.

If a user currently has firefox installed and I then distribution a
custom version of firefox, changing the install location
as per the /INI= configuration switch InstallDirectoryName=

The profile folder create by default will collide, is there any way to do this?
also with the registry? I would like to keep the entire application separate if possible.

My major worry is that an uninstall of my "custom" version could impact a real version of firefox.

Thank You
User avatar
LIMPET235
Moderator
Posts: 39936
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Re: custom build - worried about Mozilla\Firefox hardcode

Post by LIMPET235 »

Moving to 3rd Part Builds...
[Ancient Amateur Astronomer.]
Win-10-H/64 bit/500G SSD/16 Gig Ram/450Watt PSU/350WattUPS/Firefox-115.0.2/T-bird-115.3.2./SnagIt-v10.0.1/MWP-7.12.125.

(Always choose the "Custom" Install.)
xunxun1982
Posts: 311
Joined: June 20th, 2011, 10:37 am

Re: custom build - worried about Mozilla\Firefox hardcode

Post by xunxun1982 »

MOZ_APP_VENDOR controls Mozilla
MOZ_APP_BASENAME controls Firefox (Maybe, I forget it)

But there may be no config option, so you should modify browser/confvars.sh

Modify or add something in it:

MOZ_APP_NAME=aaa
MOZ_APP_BASENAME=bbb
MOZ_APP_DISPLAYNAME=ccc
MOZ_APP_VENDOR=ddd

You can try it.
Post Reply