MozillaZine

custom build - worried about Mozilla\Firefox hardcode

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

Post Posted February 9th, 2016, 3:06 am

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

LIMPET235
Moderator

User avatar
 
Posts: 37610
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Post Posted February 9th, 2016, 3:29 am

Moving to 3rd Part Builds...
Ancient Amateur Astronomer
Win-7-HP/Intel® DualCore-2.0GHz/500G HDD/4 Gig Ram/550Watt PSU/350WattUPS/Firefox-20.0-56.0.1/T-bird-2.0.0.24/SnagIt-v10.0.1/MWP-7.11.0.
RadioYachting.
(Always choose the "Custom" Install.)

xunxun1982
 
Posts: 311
Joined: June 20th, 2011, 10:37 am

Post Posted February 9th, 2016, 10:48 pm

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.

Return to Third Party/Unofficial Builds


Who is online

Users browsing this forum: No registered users and 1 guest