Netscape 7.1 streamline autoinstall questions....

A section for all development and testing programmes and customised browsers written by SillyDog701 community. Featured products including Donzilla, Firescape, DJGM Distro, and Netscape Streamline.

Moderator: Don_HH2K

Netscape 7.1 streamline autoinstall questions....

Postby _drk_ » Thu 24 Jun, 2004 4:15 pm

I managed to create my own autoinstaller package by hacking the browser.xpi and config.ini. It works great but there are just a few things that I want to do that I couldn't figure out.

1. How to I make the browser not start up after the initial install
2. How do I keep the registration dialog from popping up on the first start
3. How do I change the default theme to classic

I searched in vain through all the default profile xpis and stuff but I couldn't find anything that looked like what I wanted. Any help at all would be greatly appreciated.

Is there a guide for hacking the installer? The CCK kit is out of date and we really do need a 7.1 or maybe someday 7.2 distribution because of our enterprise information website database pos.
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
_drk_
junior member
junior member
 
Posts: 6
Joined: Thu 24 Jun, 2004 4:05 pm

Postby Don_HH2K » Thu 24 Jun, 2004 7:00 pm

To stop Netscape from launching after install you can always stop it using Ctrl-Alt-Delete. You can disable registration through your prefs.js file by setting the pref for activation to false, but please don't do this as netscape needs all the users it can get to stay in service. To change the default theme to Classic, go to View -> Apply Theme -> Classic and then restart Netscape. The closest you can get to a recent CCK is by building from the source code from Mozilla.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
User avatar
Don_HH2K
Moderator
Moderator
 
Posts: 5112
Joined: Sun 09 May, 2004 3:59 pm

Postby Antony » Thu 24 Jun, 2004 8:11 pm

Are you asking how to build your own customised Netscape?

moved to Customised Build section.
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/125.2 (KHTML, like Gecko) Safari/125.8
User avatar
Antony
diamond member
diamond member
 
Posts: 14953
Joined: Tue 18 Jun, 2002 11:36 pm
Location: Sydney, Australia

Postby _drk_ » Fri 25 Jun, 2004 1:08 pm

lol, sorry about posting in the wrong place. I would have posted in the customized build section but it didn't let me at first.

Thank you for the suggestions dluchini30, but I'm not sure if all of them help in my particular situation. When I finish the package it's going to be rolled out on a few thousand computers so everything has to happen as smoothly as I can make it.

I think I figured out how to keep netscape from starting up automatically. I just had to modify the RunAppX sections in the config.ini.

Is the prefs.js file stored somewhere or is it created on first launch? Also, where are the settings for the current theme located? I guess I can always modify them post-install with a winbatch script or create my own xpi.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
_drk_
junior member
junior member
 
Posts: 6
Joined: Thu 24 Jun, 2004 4:05 pm

Postby _drk_ » Tue 17 Aug, 2004 2:42 pm

Wow, I can't believe this thread is still at the top.

I've learned alot about modifying Netscape installers since I started this thread, maybe I can help someone else in here.



all.js
------
Located in: %installdir%\BROWSER.XPI\bin\defaults\pref

Purpose: This file loads default preferences The preferences I set are below:

Code: Select all
pref("autoupdate.enabled", false);
pref("accessibility.typeaheadfind.autostart", true);
pref("browser.activation.checkedNNFlag", true);
pref("browser.startup.homepage", "http://www.cas.unt.edu");
pref("browser.startup.homepage_override.mstone", "rv:1.4");
pref("browser.tabs.autoHide", true);
pref("browser.tabs.loadInBackground", true);
pref("browser.tabs.opentabfor.middleclick", true);
pref("browser.tabs.opentabfor.urlbar", true);
pref("browser.throbber.url", "http://www.unt.edu");
pref("dom.disable_open_during_load", true);
pref("privacy.popups.first_popup", false);
pref("privacy.popups.prefill_whitelist", false);
pref("privacy.popups.remove_blacklist", false);
pref("security.OCSP.URL", "");
pref("security.OCSP.signingCA", "");
pref("signon.rememberSignons", false);
pref("update_notifications.enabled", false);
pref("xpinstall.enabled", false);


References: http://www.mozilla.org/catalog/end-user ... prefs.html


install.js
----------
Located in: %installdir%\BROWSER.XPI\install.js

Purpose: This file is the actual install script for the browser. I edited it to prevent some icons from being created and to send the icons I did want to their proper places.

References: http://www.xulplanet.com


Reigon.properties
-----------------
Located in: %installdir%\REGUS.XPI\bin\chrome\US.jar\locale\US\navigator-region

Purpose: This file contains the default homepage, popup whitelist, and throbber url

References: http://mozdoc.burlco.org/bowels.html


prefs.js
--------
Located in: %installdir%\REGUS.XPI\bin\defaults\profile\us

Purpose: I added this file to the directory of files that are copied to the profile directory upon profile creation. It contains a line of code that changes the theme to classic, and is then deleted.

References: http://www.mozilla.org/catalog/end-user ... prefs.html


bookmarks.html
--------------
Located in: %installdir%\REGUS.XPI\bin\defaults\profile\us

Purpose: Default bookmarks if the user has none or if a new profile is being created.

References: none


config.ini
----------
Located in: %installdir%

Purpose: Install settings. I changed many parts of this file which include setting the install to auto, changing some of the icon properties, removing MAIL.XPI, and some other general streamlining.

References: http://mozdoc.burlco.org/



I applied all these changes to Netscape 7.2 and it is going pretty smoothly. What I want to know is if anyone else knows how to disable the sidebar on profile creation. Also, it appears that the prefs I set to disable the Netscape network registration have broken. Does anyone else have any insight on how to fix these bugs?
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040614 Firefox/0.9
_drk_
junior member
junior member
 
Posts: 6
Joined: Thu 24 Jun, 2004 4:05 pm

Postby _drk_ » Wed 18 Aug, 2004 2:06 pm

Heh, here I go again answering my own questions. :wink: The sidebar can be disabled and you can change the appearance of the buttons by editing them inside Netscape and using the localstore.rdf from the profile you changed and adding it to the REGUS.XPI inside the default profile directory.

Also, they added another js variable for the netscape network registration. Its called "browser.test_new_activation". I set it to false to redisable the activation.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040614 Firefox/0.9
_drk_
junior member
junior member
 
Posts: 6
Joined: Thu 24 Jun, 2004 4:05 pm

Postby _drk_ » Thu 02 Sep, 2004 7:43 pm

Holy sh#t... Netscape 7.2 sucks something awful at converting 7.0 profiles. All the buttons are broken and you can't really click anything.

Has anyone else had this problem?

The only thing I can think of right now is to run a script before creating the profile that would overwrite all the files except for the bookmarks.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040614 Firefox/0.9
_drk_
junior member
junior member
 
Posts: 6
Joined: Thu 24 Jun, 2004 4:05 pm

Postby Andrew T. » Thu 02 Sep, 2004 8:53 pm

If you simply used the old Netscape 7.0 profile with Netscape 7.2, carrying it over directly, it wouldn't surprise me if you had problems due to resultant incompatibilities. If this is the case, I would recommend you try creating a new profile within Netscape 7.2, manually importing your information from the old one using this procedure.
UserAgent: Mozilla/5.0 (Windows; U; Win95; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
User avatar
Andrew T.
diamond member
diamond member
 
Posts: 1228
Joined: Fri 14 Mar, 2003 11:37 pm
Location: Somewhere beyond the sea


Return to SD701 DevZone

Who is online

Registered users: Bing [Bot], Google [Bot]