There's actually an easier way of doing this than editing the changes in with the Gecko SDK (which I don't think would work properly in this case, because the SDK is used to create XPCOM components). It's still one hell of a doozy, but it's possible.
First of all, download the full package of Netscape 7.2 -- that is,
this one (be prepared, it's 25MB in size). Double-click on the resulting NSSetup-Full.exe, but do not go through any of the dialogs. Instead, while Setup is still running, go to your Temp folder in Windows Explorer. You can access this by typing [tt]%temp%[/tt] into a Run dialog. There will be a directory called [tt]ns_temp[/tt] -- make a copy of that directory, and put it somewhere else -- not in the temp directory. Now you can close the setup progam.
In the copy of ns_setup you made, there will be a file called [tt]CONFIG.INI[/tt] -- open this up with Notepad. Search for a line reading [tt]GRE Type=Shared[/tt], and change it to [tt]GRE Type=Local[/tt]. Save config.ini (file -> save), and run setup.exe. Select only the Netscape components you want -- if you only want the browser, deselect everything else. If you want Mail and Newsgroups, then since you don't want AIM the directions become a bit more complicated than they already are, as AOL has 'fused' the two components. Make sure not to install the "Developer Tools" package, as that also installs more chat software.
Once that's installed, go to the directory that you installed Netscape 7.2 in. Most commonly, it's [tt]c:\Program Files\Netscape\Netscape[/tt]. Within this directory, there will be a few more directories -- go to [tt]defaults[/tt] and then [tt]profile[/tt]. Create a new text file, for the time call it prefs.txt, and open it up with Notepad. Copy and paste the following text into it:
- Code: Select all
user_pref("browser.startup.homepage", "homepage URL");
user_pref("network.proxy.ftp", "proxy");
user_pref("network.proxy.ftp_port", "proxy port");
user_pref("network.proxy.gopher", "proxy");
user_pref("network.proxy.gopher", "proxy port");
user_pref("network.proxy.http", "proxy");
user_pref("network.proxy.http", "proxy port");
user_pref("network.proxy.share_proxy_settings", true);
user_pref("network.proxy.ssl", "proxy");
user_pref("network.proxy.ssl_port", "proxy port");
user_pref("network.proxy.type", 1);
Replace [tt]homepage URL[/tt] with the default homepage. Replace [tt]proxy[/tt] with the proxy server address, and replace [tt]proxy port[/tt] with the port of the proxy server. DO NOT, and I repeat, DO NOT get rid of the quotation marks: they must be left in.
Save the file, and rename it from prefs.txt to prefs.js. There is a folder within [tt]profile[/tt] called [tt]US[/tt] -- copy prefs.js into that directory so that there's one in profile and one in US.
Next, go back to the root Netscape directory, that is, c:\Program Files\Netscape (and do not confuse this with c:\Program Files\Netscape\Netscape). From here, send the lone [tt]Netscape[/tt] directory to your archive of choice -- personally I recommend you grab a copy of
WinRAR and make a self-extracting archive of the Netscape directory with it.
Now that you have your archive, just load it onto a CD or somehow put it on the other computers, extract it, and create a shortcut to Netscp.exe (contained within the Netscape directory) on the user's desktop.
If you run into any problems, or if (as I said above) you need to install Mail and Newsgroups but not AIM, then post back here and I can answer any further questions.
As beanboy89 mentioned above, Netscape 7.2 is extremely outdated. If you decide you want to use Mozilla Suite or Seamonkey instead (and I recommend you do), post back here and I will update the directions for you. Basically, the process is exactly the same, but the directories and a few file names will change.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060130 Donzilla/1.1PR1 (WML/1.3)
Laptop: HP Compaq nx6325 - Turion 64 X2 @ 2GHz, 2GB DDR2, 100GB HD, ATI Radeon X300, 15" LCD, Seven Pro
Handheld: Palm Treo 650 - Intel PXA270 @ 312MHz, 10MB RAM, 32MB flash, 2.7" LCD, Palm OS 5.4