Compare commits

..

4 Commits

Author SHA1 Message Date
smeredith%netscape.com
588d967ba0 *** empty log message ***
git-svn-id: svn://10.0.0.236/branches/CCK_PREFEDIT@110719 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 17:40:15 +00:00
smeredith%netscape.com
1f058e189f Removed choose= attribute -- not needed. Removed IsModified() -- not used.
git-svn-id: svn://10.0.0.236/branches/CCK_PREFEDIT@110443 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 00:59:55 +00:00
smeredith%netscape.com
23b3d4afbe Prefs editor tree control initial checkin.
git-svn-id: svn://10.0.0.236/branches/CCK_PREFEDIT@110200 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 02:46:32 +00:00
(no author)
85d51a2a43 This commit was manufactured by cvs2svn to create branch 'CCK_PREFEDIT'.
git-svn-id: svn://10.0.0.236/branches/CCK_PREFEDIT@109120 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 06:14:17 +00:00
814 changed files with 55515 additions and 57318 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,282 +0,0 @@
#!/usr/bin/perl -w
#############################################################################
# $Id: BB_main.pl,v 1.1.1.1 2000-10-23 20:08:03 kevin%perldap.org Exp $
#
# BB_main.pl
#
# This is the main control program for the Burst Billing process
# It:
# 1) Checks the directory setup and permissions.
# 2) Archives the log file for the current project.
# 3) Launches the Burst Billing program
# 4) Runs the monitor program.
#
# I broke the burst billing and monitor programs out into seperate programs.
# This is to handle the event where the burst billing program die's, aborts,
# crashes, or whatever - so the main program can run the monitor program afterwards.
# Yeah yeah, the main program might crash too, but what can I do...
#
# History:
# Kevin J. McCarthy [10/17/2000] Original Coding
#
#############################################################################
use strict;
BEGIN {require '../inc/BB_include.pl';}
require "$INC_DIR/BB_lib.pl";
##############
# Begin Code #
##############
&init_program();
&run_burst_billing();
&run_monitor();
&cleanup_program();
###################
# Local Functions #
###################
########################################
# init_program
#
# Does program initializations, such as:
# - Checking directory permissions
# - Archiving the log file
# - Opening the new log file
########################################
sub init_program
{
&check_if_running();
&check_directories();
&check_files();
&archive_log_file();
&open_log_file();
&write_log_file($START_STAMP, "BB_main.pl started");
}
##########################################################################
# check_if_running
#
# Checks to see if another copy of the program is running. This is
# indicated by the presence of the $IN_PROGRESS_FILE
# If it is, the program aborts.
#
# If it isn't:
# 1) The $IN_PROGRESS_FILE is created.
# 2) An END routine which removes the $IN_PROGRESS_FILE is evaled. I need
# to eval this AFTER the check for the file, otherwise I will remove
# the $IN_PROGRESS_FILE for the other program!
# Note that this function is not used for contention issues - I'm
# fully of aware of the test-and-set race condition.
##########################################################################
sub check_if_running
{
my ($ip_fh);
if ( -f $IN_PROGRESS_FILE )
{
print STDERR "Another copy of BB_main.pl is currently running\n",
"If this is not the case, please remove the ",
"$IN_PROGRESS_FILE file and rerun the program.\n",
"Aboring program\n";
exit($ERROR_CRITICAL);
}
$ip_fh = new IO::File ">$IN_PROGRESS_FILE";
$ip_fh->close();
eval 'END { &remove_running_file(); }';
}
################################################################
# check_directories
#
# Basic sanity check, to make sure all the directories exist and
# are writable by this process
################################################################
sub check_directories
{
my ($directory);
foreach $directory ( $BILLING_HOME, $REPORT_HOME, $LOG_DIR, $LOG_ARCHIVE_DIR,
$RRD_DIR, $BIN_DIR, $INC_DIR )
{
if ( ! -d $directory )
{
print STDERR "ERROR: $directory is not a directory\n",
"Aborting program\n";
exit($ERROR_CRITICAL);
}
}
foreach $directory ( $BILLING_HOME, $REPORT_HOME, $LOG_DIR,
$LOG_ARCHIVE_DIR )
{
if ( ! -w $directory )
{
print STDERR "ERROR: $directory is not writable\n",
"Aborting program\n";
exit($ERROR_CRITICAL);
}
}
}
################################################################
# check_files
#
# Basic sanity check, to make sure all the programs and files exist
# before launching sub-process
################################################################
sub check_files
{
my ($file);
foreach $file ( $BURST_ACCOUNTS_FILE )
{
if ( ! -e $file )
{
print STDERR "ERROR: $file does not exist\n.",
"Aborting program\n";
exit($ERROR_CRITICAL);
}
elsif ( ! -r $file )
{
print STDERR "ERROR: $file is not readable.\n",
"Aborting program\n";
exit($ERROR_CRITICAL);
}
}
foreach $file ( $BILLING_MODULE, $MONITOR_MODULE )
{
if ( ! -e "$BIN_DIR/$file" )
{
print STDERR "ERROR: $BIN_DIR/$file does not exist.\n",
"Aborting program\n";
exit($ERROR_CRITICAL);
}
if ( (! -r "$BIN_DIR/$file") || (! -x "$BIN_DIR/$file") )
{
print STDERR "ERROR: $BIN_DIR/$file is not runnable.\n",
"Aborting program\n";
exit($ERROR_CRITICAL);
}
}
}
##############################################################
# archive_log_file
#
# This copies the previous log file into the archive directory
# and then cleans up the archive directory.
##############################################################
sub archive_log_file
{
if ( &archive_file($LOG_DIR, $LOG_FILE, $LOG_ARCHIVE_DIR, $LOG_FILE, 0) != $OKAY )
{
print STDERR "Error archiving log file\n";
}
&purge_old_archives($LOG_ARCHIVE_DIR, $MAX_LOG_ARCHIVE_FILES, $LOG_FILE);
}
#####################################################################
# run_boss_loader
#
# This function executes the burst_billing program
# programs, checks the return codes, and handles errors.
#####################################################################
sub run_burst_billing
{
my ($retcode);
&write_log_file($LOG_INFO, "BB_main.pl starting to run $BILLING_MODULE");
&close_log_file();
$retcode = system("$BIN_DIR/$BILLING_MODULE");
$retcode >>= 8;
&open_log_file();
&write_log_file($LOG_INFO, "$BILLING_MODULE returned exit code $retcode");
if ( ($retcode != $OKAY) &&
($retcode != $ERROR_WARNING) )
{
&write_log_file($LOG_ERROR, "$BILLING_MODULE had some sort of error");
}
return($retcode);
}
#########################################################################
# run_monitor
#
# Runs the monitor module.
#########################################################################
sub run_monitor
{
my ($retcode);
&write_log_file($LOG_INFO, "BB_main.pl starting to run $MONITOR_MODULE");
&close_log_file();
$retcode = system("$BIN_DIR/$MONITOR_MODULE");
$retcode >>= 8;
&open_log_file();
&write_log_file($LOG_INFO, "$MONITOR_MODULE returned exit code $retcode");
if ( ($retcode != $OKAY) &&
($retcode != $ERROR_WARNING) )
{
&write_log_file($LOG_ERROR, "$MONITOR_MODULE had some sort of error");
}
return($retcode);
}
#####################################################
# cleanup_program
#
# Perform final cleanup before the program terminates
#####################################################
sub cleanup_program
{
&write_log_file($END_STAMP, "BOSS_main.pl ended");
&close_log_file();
}
##########################################################################
# remove_running_file
#
# Removes the $IN_PROGRESS_FILE, just before the program exits. Note that
# this function is called by the END{} routine, which runs just as the
# perl interpreter exits. In this way, I don't have to worry about
# something die()ing and not cleaning up this file.
##########################################################################
sub remove_running_file
{
unlink $IN_PROGRESS_FILE;
}

View File

@@ -1,161 +0,0 @@
#!/usr/bin/perl
#############################################################################
# $Id: BB_monitor.pl,v 1.1.1.1 2000-10-23 20:08:03 kevin%perldap.org Exp $
#
# BB_monitor.pl
#
# History:
# Kevin J. McCarthy [10/17/2000] Original Coding
#
#############################################################################
#
# Not using strict so I can play namespace games
# Not using warnings because the Mail and Net modules suck.
#
use IO::File;
#
# I'm not using Mail::Send becuase the current implementation has a bug
# with multiple recipients - sent a patch to Graham.
#
use Mail::Mailer;
#
# Have to 'use' this here so I can overwrite the
# $Net::SMTP::NetConfig{'smtp_hosts'} = [$MAIL_HOST];
#
use Net::SMTP;
BEGIN {require '../inc/BB_include.pl';}
require "$INC_DIR/BB_lib.pl";
###########
# Globals #
###########
my $errors = 0;
my $warnings = 0;
##############
# Begin Code #
##############
&init_program();
&scan_log_file();
# if ( $errors || $warnings )
&send_email();
exit($OKAY);
###################
# Local Functions #
###################
#####################################################################
# init_program
#
# Sets the smtp server to use and the mail from address.
# Closes STDOUT and STDERR to prevent junk messages from STMP modules
#####################################################################
sub init_program
{
#
# Set the SMTP server to use.
# This is cheating, but it works.
#
$Net::SMTP::NetConfig{'smtp_hosts'} = $MAIL_HOSTS;
#
# Set the from address
#
$ENV{'MAILADDRESS'} = $MAIL_FROM;
#
# Unfortunately, the SMTP modules are noisy in the case of errors.
#
close(STDOUT);
close(STDERR);
}
###########################################################
# scan_log_file
#
# Records the number of errors and warnings in the log file
###########################################################
sub scan_log_file
{
my ($log_fh, $log_line);
$log_fh = new IO::File "<$LOG_DIR/$LOG_FILE";
return if ( ! $log_fh );
while ( defined($log_line = <$log_fh>) )
{
$errors++ if ( $log_line =~ /^\s*$LOG_ERROR/o );
$warnings++ if ( $log_line =~ /^\s*$LOG_WARNING/o );
}
$log_fh->close();
}
#############################
# send_email
#
# Sends out the summary email
#############################
sub send_email
{
my ($mailer, $timestamp);
my ($log_fh, $log_line);
$timestamp = &get_time_stamp();
$mailer = new Mail::Mailer('smtp');
if ( ! $mailer )
{
exit($ERROR_CRITICAL);
}
eval {$mailer->open({
'To' => $ERROR_MAIL_TO,
'Subject' => "Burst Billing summary for $timestamp",
});
};
if ( $@ )
{
exit($ERROR_CRITICAL);
}
print $mailer "Burst Billing summary for $timestamp\n\n";
print $mailer "ERRORS: $errors\n";
print $mailer "WARNINGS: $warnings\n";
print $mailer "Contents of log file:\n\n";
$log_fh = new IO::File "<$LOG_DIR/$LOG_FILE";
if ( $log_fh )
{
while ( defined($log_line = <$log_fh>) )
{
if ( ($log_line =~ /^\s*$START_STAMP/o) ||
($log_line =~ /^\s*$END_STAMP/o) ||
($log_line =~ /^\s*$LOG_INFO/o) ||
($log_line =~ /^\s*$LOG_WARNING/o) ||
($log_line =~ /^\s*$LOG_ERROR/o) ||
($log_line eq "\n") )
{
print $mailer $log_line;
}
}
$log_fh->close();
}
$mailer->close();
}

View File

@@ -1,188 +0,0 @@
#!/usr/bin/perl -w
###########################################################################
# $Id: BB_include.pl,v 1.1.1.1 2000-10-23 20:08:18 kevin%perldap.org Exp $
#
# BB_include.pl
#
# This include file contains global variables used across programs.
#
# History:
# Kevin J. McCarthy [10/17/2000] Original Coding
###########################################################################
use strict;
######################################################################
# Set this variable to 1 only if the failsafe triggers, to temporarily
# override it.
# TODO: command line switch to over-ride.
######################################################################
use vars qw{$FAILSAFE_OVERRIDE};
$FAILSAFE_OVERRIDE = 0;
# $FAILSAFE_OVERRIDE = 1;
#####################################################################
# This controls the maximum number of days we will attempt to recover
# data for.
#####################################################################
use vars qw($MAX_RECOVER_DAYS);
$MAX_RECOVER_DAYS = 500;
###############
# Directories #
###############
use vars qw{$BILLING_HOME $RRD_DIR $REPORT_HOME $LOG_DIR $LOG_ARCHIVE_DIR
$BIN_DIR $INC_DIR};
#$BILLING_HOME = "/usr/local/root/apache/cgi-bin/Burstable";
$BILLING_HOME = "/home/kevinmc/excite/burst_billing/code";
$RRD_DIR = "/usr/local/nme/polling/www";
$REPORT_HOME = "$BILLING_HOME/data";
$LOG_DIR = "$BILLING_HOME/log";
$LOG_ARCHIVE_DIR = "$LOG_DIR/archive";
$BIN_DIR = "$BILLING_HOME/bin";
$INC_DIR = "$BILLING_HOME/inc";
##############
# File Names #
##############
use vars qw{$BURST_ACCOUNTS_FILE $LOG_FILE $LAST_RUN_FILE $IN_DATA_FILE $OUT_DATA_FILE
$CIRCUIT_HEADER_FILE $IN_PROGRESS_FILE $REPORT_FILE};
$BURST_ACCOUNTS_FILE = "$INC_DIR/burst_accounts.txt";
$LOG_FILE = "log";
$LAST_RUN_FILE = "lastrun.txt";
#
# Network data is dumped to these files
#
$IN_DATA_FILE = "in.log";
$OUT_DATA_FILE = "out.log";
#
# This contains information about the circuit
#
$CIRCUIT_HEADER_FILE = "header.txt";
#
# This file is used to mark when this program is running. We don't
# want to allow to loads to take place at the same time
#
$IN_PROGRESS_FILE = "$BILLING_HOME/.running";
#
# The monthly 95/5 report
#
$REPORT_FILE = "95_5_report.xls";
############
# Programs #
############
use vars qw{$BILLING_MODULE $MONITOR_MODULE};
$BILLING_MODULE = "BB_billing.pl";
$MONITOR_MODULE = "BB_monitor.pl";
##################
# Log File Codes #
##################
use vars qw{$START_STAMP $END_STAMP $LOG_NOTE $LOG_INFO $LOG_WARNING
$LOG_ERROR};
$START_STAMP = "START_STAMP";
$END_STAMP = "END_STAMP";
$LOG_NOTE = "NOTE";
#
# Info error messages get included in the monitor email. Note messages don't
#
$LOG_INFO = "INFO";
$LOG_WARNING = "WARNING";
$LOG_ERROR = "ERROR";
#################################################
# Number of archives to keep for each directory #
#################################################
use vars qw{$MAX_LOG_ARCHIVE_FILES};
$MAX_LOG_ARCHIVE_FILES = 10000;
###############
# Error Codes #
###############
use vars qw{$OKAY $ERROR_WARNING $ERROR_CRITICAL};
$OKAY = 0;
$ERROR_WARNING = 1;
$ERROR_CRITICAL = 2;
#################
# Email Setting #
#################
use vars qw{$MAIL_HOSTS $MAIL_FROM $ERROR_MAIL_TO $REPORT_MAIL_TO};
$MAIL_HOSTS = ['localhost',
'mail.excitehome.net'];
$MAIL_FROM = 'burstbilling@excitehome.net';
$ERROR_MAIL_TO = ['mccarthy@excitehome.net',
'tunacat@yahoo.com',
# 'michael@excitehome.net',
];
# $REPORT_MAIL_TO = 'burstbilling@excitehome.net';
$REPORT_MAIL_TO = 'mccarthy@excitehome.net';
#####################
# Data Error Checking
#####################
use vars qw{$MAX_ZERO_DATA_PERCENT $MAX_NAN_DATA_PERCENT $MIN_RRD_STEP_SIZE};
#
# Maximum percentage of 0's to put up with in the data before I log an error
# Use values from 0 - 100
#
$MAX_ZERO_DATA_PERCENT = 50;
#
# Maximum percentage of NaN's to put up with in the data before I log an error
# Use values from 0 - 100
#
$MAX_NAN_DATA_PERCENT = 0;
#
# This is the smallest step size returned by the RRDs - equal to a 5 minute
# granularity.
#
$MIN_RRD_STEP_SIZE = 300;
###############################
# Monitor Time List Hash Keys #
###############################
use vars qw{$MTL_START_EPOCH $MTL_END_EPOCH $MTL_FIRST_OF_MONTH
$MTL_YEAR $MTL_MONTH $MTL_MDAY};
$MTL_START_EPOCH = 'MTL_START_EPOCH';
$MTL_END_EPOCH = 'MTL_END_EPOCH';
$MTL_FIRST_OF_MONTH = 'MTL_FIRST_OF_MONTH';
$MTL_YEAR = 'MTL_YEAR';
$MTL_MONTH = 'MTL_MONTH';
$MTL_MDAY = 'MTL_MDAY';
###########################
# Circuit Entry Hash Keys #
###########################
use vars qw{$CIRCUIT_COMPANY_NAME $CIRCUIT_IP_ADDRESS
$CIRCUIT_PORT_NAME $CIRCUIT_ID};
$CIRCUIT_COMPANY_NAME = 'CIRCUIT_COMPANY_NAME';
$CIRCUIT_IP_ADDRESS = 'CIRCUIT_IP_ADDRESS';
$CIRCUIT_PORT_NAME = 'CIRCUIT_PORT_NAME';
$CIRCUIT_ID = 'CIRCUIT_ID';

View File

@@ -1,213 +0,0 @@
#!/usr/bin/perl -w
#####################################################################
# $Id: BB_lib.pl,v 1.1.1.1 2000-10-23 20:08:17 kevin%perldap.org Exp $
#
# BB_lib.pl
#
# This file contains functions shared amongst the programs
#
# History:
# Kevin J. McCarthy [10/17/2000] Original Coding
#####################################################################
use strict;
use DirHandle;
use IO::File;
use File::Copy;
BEGIN {require '../inc/BB_include.pl';}
###########
# Globals #
###########
my $LOG_FH;
##################################################################
# get_time_stamp
#
# This returns the current timestamp, in the logfile format.
##################################################################
sub get_time_stamp
{
my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime();
$mon += 1;
$year += 1900;
$mon = "0" . $mon if ( $mon < 10 );
$mday = "0" . $mday if ( $mday < 10 );
$hour = "0" . $hour if ( $hour < 10 );
$min = "0" . $min if ( $min < 10 );
$sec = "0" . $sec if ( $sec < 10 );
return "$year$mon$mday-$hour$min$sec";
}
######################################################
# get_file_timestamp
#
# This returns the 'modification' timestamp of a file,
# used for file archving.
######################################################
sub get_file_timestamp
{
my ($filename) = @_;
my ($dev, $ino, $mode, $nlink, $uid, $gid, $rdev, $size);
my ($atime, $mtime, $ctime, $blksize, $blocks);
my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst);
($dev, $ino, $mode, $nlink, $uid, $gid, $rdev, $size,
$atime, $mtime, $ctime, $blksize, $blocks) = stat $filename;
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($mtime);
$mon += 1;
$year += 1900;
$mon = "0" . $mon if ( $mon < 10 );
$mday = "0" . $mday if ( $mday < 10 );
$hour = "0" . $hour if ( $hour < 10 );
$min = "0" . $min if ( $min < 10 );
$sec = "0" . $sec if ( $sec < 10 );
return "$year$mon$mday-$hour$min$sec";
}
###############################################################
# archive_file
#
# This routine moves a file into a backup directory.
#
# Arguments:
# $dir => source directory to archive from
# $filename => file to archive
# $archive_dir => destination directory to archive to
# $archive_filename => destination filename (wihout datestamp -
# that is appended automatically)
# $copy => optional parameter. If == 1 then the files
# are copied, not moved to $archive_dir.
# Returns: $OKAY on success
###############################################################
sub archive_file
{
my ($dir, $filename, $archive_dir, $archive_filename, $copy) = @_;
my ($full_filename, $timestamp, $full_archive_filename);
$full_filename = "$dir/$filename";
## $timestamp = &get_time_stamp();
$timestamp = &get_file_timestamp($full_filename);
$full_archive_filename = "$archive_dir/$archive_filename.$timestamp";
if ( -f $full_filename )
{
if ( defined($copy) && $copy )
{
if ( ! copy($full_filename, $full_archive_filename) )
{
return($ERROR_WARNING);
}
}
else
{
if ( ! move($full_filename, $full_archive_filename) )
{
return($ERROR_WARNING);
}
}
}
return($OKAY);
}
###########################################################################
# purge_old_archives
#
# This routine deletes old archive files - it sorts the files in the
# directory and deletes the oldest files until there are at most $max_files
# in the directory
###########################################################################
sub purge_old_archives
{
my ($archive_dir, $max_files, $prefix) = @_;
my ($dirhandle, @allfiles, @delfiles);
local($_);
$dirhandle = new DirHandle $archive_dir;
if ( ! $dirhandle )
{
return ($ERROR_WARNING);
}
@allfiles = grep /^\Q$prefix\E/,
reverse sort $dirhandle->read();
$dirhandle->close();
@delfiles = splice @allfiles, $max_files;
unlink map {"$archive_dir/$_"} @delfiles;
}
###############################
# open_log_file
#
# Opens the log file for append
###############################
sub open_log_file
{
$LOG_FH = new IO::File ">>$LOG_DIR/$LOG_FILE";
if ( ! $LOG_FH )
{
print STDERR "Error opening log file\n";
exit($ERROR_CRITICAL);
}
}
################
# close_log_file
################
sub close_log_file
{
$LOG_FH->close();
}
##################################
# write_log_file
#
# Writes a message to the log file
##################################
sub write_log_file
{
my ($code, $desc) = @_;
my ($timestamp);
$timestamp = &get_time_stamp();
if ( $code eq $START_STAMP )
{
print $LOG_FH "\n$code<$timestamp>: $desc\n";
}
elsif ( $code eq $END_STAMP )
{
print $LOG_FH "$code<$timestamp>: $desc\n\n";
}
else
{
print $LOG_FH "\t$code<$timestamp>: $desc\n";
}
}
1;

View File

@@ -1,71 +0,0 @@
Comcast_Online_Towson:209.19.8.1:r1.twsn1.md.home.net:45233
Cox_AV:209.218.23.21:w4.rdc2.occa.home.net:44204
Cox_AZ:10.252.40.193:w1.rdc1.az.home.net:43195
Cox_NE:10.252.136.17:w1.rdc1.ne.home.net:45621
Cox_SD:10.252.20.97:w2.rdc1.sdca.home.net:44118
Cox_VA:10.252.60.5:w1.rdc1.va.home.net:43711
Cox_Fibernet:10.252.64.5:w1.rdc1.ok.home.net:44119
Befirst:216.217.177.69:w1.pop1.fl.home.net:46820
Internap:216.217.218.129:wbb1.rdc1.wa.home.net:48891
Merril_Lynch:10.252.172.1:w1.pop1.nj.home.net:47549
Siebel:10.252.9.113:w4.rdc1.sfba.home.net:46653
Vertex:10.252.140.1:w1.pop1.ca.home.net:44176
COX_COMM:10.252.96.17:w1.pop1.la.home.net:42782
FUSION_NETWORKS:10.252.148.53:w1.pop1.fl.home.net:40378
ISP_ALLIANCE:10.252.168.17:w1.pop1.ga.home.net:42968
Akamai:64.232.139.5:wbb1.pop1.va.home.net:44435
MICROCAST:24.7.70.65:c1.cmbrma1.home.net:44698
MICROCAST:24.7.70.81:c1.sttlwa1.home.net:44699
MICROCAST:24.7.70.77:c1.snfcca1.home.net:44700
MICROCAST:24.7.70.69:c2.chcgil1.home.net:44704
MICROCAST:24.7.70.85:c2.washdc1.home.net:44702
MICROCAST:24.7.70.73:c1.dllstx1.home.net:44703
STREAMING_MEDIA:10.253.0.1:wbb1.pop1.va.home.net:45382
INTELLISPACE_INTELLIGENT_INTERNET:10.252.156.33:w1.pop1.ny.home.net:44449
Speedera:209.219.187.1:wbb1.pop2.ca.home.net:46034
Speedera:64.232.139.1:wbb1.pop1.va.home.net:46035
IBeam:10.253.64.49:wbb1.pop2.ca.home.net:43891
COX_COMM:10.252.168.21:w1.pop1.ga.home.net:44619
Apptus:10.253.0.33:wbb1.pop1.va.home.net:46080
SADDLEBACK_COLLEGE:10.252.25.109:w1.rdc2.occa.home.net:37266
Cox_VA:10.252.60.1:w1.rdc1.va.home.net:37085
Cox_AV:209.218.23.21:wbb1.rdc2.occa.home.net:36842
SEGASOFT:209.19.34.33:w4.rdc1.sfba.home.net:36658
AT&T_NCS_ITS:10.252.1.25:w5.rdc1.nj.home.net:35004
LUCENT_TECHNOLOGIES:10.252.0.117:w1.rdc1.nj.home.net:38002
BROADCOM:10.252.24.9:w1.rdc2.occa.home.net:38442
NETWORK_PLUS:10.252.49.73:w2.pop1.ma.home.net:38786
GLOBAL_MUSIC_OUTLET:10.252.27.9:w2.rdc2.occa.home.net:34780
SIMPLE_NETWORK_COMM:10.252.144.1:w1.sndgca1.home.net:35837
TELEBEAM:209.125.212.9:w1.pop1.pa.home.net:34908
INTERTAINER:10.252.24.209:w1.rdc2.occa.home.net:39622
INTEL_CORP:10.252.160.9:w1.pop1.or.home.net:38387
AT&T_MEDIA_SERVICES:10.252.84.161:w4.rdc1.sfba.home.net:39715
NET_CARRIER:209.125.212.13:w1.pop1.pa.home.net:36901
COMCAST_ONLINE:216.217.0.1:w3.rdc1.nj.home.net:40728
REAL_NETWORKS:216.216.93.5:wbb1.rdc1.wa.home.net:40961
INTEL_CORP:10.252.41.13:w2.pop1.az.home.net:38798
IDEAL:10.252.56.5:wbb1.pop1.mi.home.net:40235
IMALL:10.252.180.17:w1.pop2.ut.home.net:39762
PRIME:10.252.25.189:w2.rdc2.occa.home.net:41036
ETRACKS.COM:10.252.11.73:w4.rdc1.sfba.home.net:39479
NEW_JERSEY_LINKED:10.252.172.5:w1.pop1.nj.home.net:40679
AT&T_FIBER_WHOLESALE:10.252.84.245:w4.rdc1.sfba.home.net:39998
NORTHPOINT_PVC_IRVINE:10.252.32.165:w3.rdc2.occa.home.net:43108
NORTHPOINT_PVC_CHICAGO:10.252.14.149:w3.rdc1.il.home.net:43102
NORTHPOINT_PVC_WASHINGTON:10.252.88.21:w1.pop1.dc.home.net:43103
NORTHPOINT_PVC_ATLANTA:10.252.168.13:w1.pop1.ga.home.net:43097
NORTHPOINT_PVC_NEW_JERSEY:10.252.80.125:w4.rdc1.nj.home.net:43105
NORTHPOINT_PVC_FT_LAUD:10.252.148.33:w1.pop1.fl.home.net:43101
AIRPOWER_COMM:216.216.30.213:wbb1.rdc2.occa.home.net:42072
REAL_NETWORKS:10.252.116.53:w1.pop1.or.home.net:42946
AKAMAI:10.253.112.33:wbb1.pop1.il.home.net:44426
AKAMAI:10.253.132.33:wbb1.pop1.ny.home.net:44434
AKAMAI:10.253.80.33:wbb1.pop2.wa.home.net:44427
AKAMAI:10.253.96.33:wbb1.pop1.ca.home.net:44429
AKAMAI:10.253.64.37:wbb1.pop2.ca.home.net:44423
COX_COMM:10.252.168.9:w1.pop1.ga.home.net:41756
STREAMING_MEDIA:10.253.64.33:wbb1.pop2.ca.home.net:45381
INTUIT:216.216.48.141:w1.sndgca1.home.net:46576
AT&T_UGN_KANSAS:10.252.152.33:w1.pop1.il.home.net:43861
WEBUSENET:10.253.64.45:wbb1.pop2.ca.home.net:45791

116
mozilla/cck/build/CCKBuild.bat Executable file
View File

@@ -0,0 +1,116 @@
echo off
REM Check out, build and deliever the CCK stuff
REM 3/16/99 Frank Petitta Netscape Communications Corp.
REM
REM Basic operation outline:
REM _MSC_VER and MOZ_DEBUG are the only System Vars used(currently)
REM IF _MSC_VER doesnt equal 1200 then VC+ is not version 6.0,
REM 6.0 is the standard so the build will not happen if _MSC_VER is
REM any value other than 1200!
REM System var MOZ_DEBUG is used to detemine Debug or Non-Debug builds
REM
REM * I hate this Batch CRAP, I going to use this as a temp and write this again in PERL!!!*
REM
REM echo on
:SetUp
REM Set all of environ vars for the build process
set BuildGood=0
call C:\"Program Files"\"Microsoft Visual Studio"\VC98\Bin\vcvars32.bat
REM Set/get Sys vars to make sure you are doing the right thing.
REM Make sure we are building with the right version of VC+ (6.0)
if not "%_MSC_VER%"=="1200" set ErrorType=1
if not "%_MSC_VER%"=="1200" goto Errors
REM Set the BuildType
if "%MOZ_DEBUG%"=="1" set BuildType=debug
if "%MOZ_DEBUG%"=="0" set BuildType=release
D:
cd\builds
REM remove the mozilla directory
echo y | rd /s mozilla
REM check out mozilla/cck
cvs co mozilla/cck
REM Copy the build files to the build directory
C:
cd\cckscripts
copy WizardMachine.dep D:\builds\mozilla\cck\driver
copy WizardMachine.mak D:\builds\mozilla\cck\driver
D:
cd\builds\mozilla\cck\driver
REM Send Pull completion notification
echo.CCK source pull complete. >> tempfile.txt
blat tempfile.txt -t page-petitta@netscape.com -s "CCK Pull Notification" -i Undertaker
if exist tempfile.txt del tempfile.txt
REM build the damn thing, then send notification if the exe is there.
if "%MOZ_DEBUG%"=="1" NMAKE /f "WizardMachine.mak" CFG="WizardMachine - Win32 Debug"
if "%MOZ_DEBUG%"=="0" NMAKE /f "WizardMachine.mak" CFG="WizardMachine - Win32 Release"
REM See if the target is there
if exist D:\builds\mozilla\cck\driver\"%BuildType%"\wizardmachine.exe set BuildGood=1
REM If the target is there then do the right thing, Mail notification then upload it.
echo.CCK build complete and verified. >> tempfile.txt
if "%BuildGood%"=="1" blat tempfile.txt -t page-petitta@netscape.com -s "CCK Build Notification" -i Undertaker
if exist tempfile.txt del tempfile.txt
REM Houston we have a problem, abort, abort!!!!!
if "%BuildGood%" =="0" echo.CCK build died, casualty assesment. >> tempfile.txt
if "%BuildGood%" =="0" blat tempfile.txt -t page-petitta@netscape.com -s "CCK Build Notification" -i Undertaker
if exist tempfile.txt del tempfile.txt
if "%BuildGood%" =="0" set ErrorType=2
if "%BuildGood%" =="0" goto Errors
:BuildNumber
REM Get the build date to label the folder we create on upload.
C:
Perl C:\CCKScripts\date.pl
call C:\CCKScripts\bdate.bat
if "%BuildID%" == "" goto set ErrorType = 3
if "%BuildID%" == "" goto EndOfScript
REM Make the Main repository Folder using the BuildID var
O:
md \products\client\cck\cck50\"%BuildType%"\"%BuildID%"
REM Put it where we all can get it.
:UpLoad
REM Make the folder for the INI's then copy/move all of them.
O:
md \products\client\cck\cck50\"%BuildType%"\"%BuildID%"\iniFiles
D:
cd\builds\mozilla\cck\cckwiz\inifiles
copy *.ini O:\products\client\cck\cck50\"%BuildType%"\"%BuildID%"\iniFiles
REM Copy the wizardmachine.exe to sweetlou
D:
cd\builds\mozilla\cck\driver\"%BuildType%"
copy *.exe O:\products\client\cck\cck50\"%BuildType%"\"%BuildID%"
goto EndOfScript
REM Capture the errors, do something smart with them.
:Errors
if "%ErrorType%"=="1" echo. Incorrect version of VC+, not 6.0! Script halted!!
if "%ErrorType%"=="2" echo. The build blew up in your face, get to work laughing boy!!
if "%ErrorType%"=="3" echo. BuildNumber Generation Failed
if "%ErrorType%"=="4" echo. Busted4
if "%ErrorType%"=="5" echo. Busted5
REM Like , duh. Oh my gosh and all that stuff!
:EndOfScript
echo. This is the end, my friend. My only friend, the end......

View File

@@ -0,0 +1,188 @@
# 4/7/99 Frank Petitta
# 1999 Netscape Communications Corp.
# All rights reserved, must be over 18 to play.
#
# What is it?
# Build, deliver the CCK parts and pieces.
#
printf("Begin CCK Setup.\n");
$BuildType = "";
$GoodBuild = 1;
$ErrorType = 0;
$SourceRoot = "";
$ContinousBuild = 0;
# Use the ContinousBuild Var for Tinderboxen
# I will also set the mailing to tinderbox, based off the value of
# ContinousBuild Var.
#while (ContinousBuild = 0){
# Must have VC+ 6.0 or it's a no go.
if ($ENV{'_MSC_VER'}!=1200) {
# go to some subroutine that will handle errors
$ErrorType = 1;
CFHandler($ErrorType);
}
# Lets see what the Source path is.
$SourceRoot = $ENV{'MOZ_SRC'};
$len = length($SourceRoot);
if ($len < 2) {
# Can't start if you dont know the Src Root.
$ErrorType = 2;
CFHandler($ErrorType);
}
# Make sure MOZ_DEBUG is either 1 or 0
if ($ENV{'MOZ_DEBUG'} > 1 or $ENV{'MOZ_DEBUG'} < 0) {
$ErrorType = 3;
CFHandler($ErrorType);
}
# Now that we know MOZ_DEBUG is a 1 or 0, lets do something with it.
if ($ENV{'MOZ_DEBUG'}==0 && $ErrorType < 1) {
$BuildType = "release";
}
elsif ($ENV{'MOZ_DEBUG'}==1 && $ErrorType < 1) {
$BuildType = "debug";
}
# Email notification.
# I tried to use this file open/write method but,
# I kept getting "error reading tempfile.txt, aborting"
# So until I figuer it out I must use the .bat method......
#open (SENDFILE, ">c:\\CCKScripts\\tempfile.txt") || die "cannot open c:\\CCKScripts\\tempfile.txt: $!";
#print SENDFILE "CCK Build Starting\n";
#system("echo.CCK Build Starting. >> tempfile.txt");
#system("blat tempfile.txt -t page-petitta\@netscape.com -s \"CCK Build Notification\" -i Undertaker");
#system("if exist tempfile.txt del tempfile.txt");
printf("Begin CCK pull-build.\n");
# Get the Source Drive letter. And the Source Path.
@pieces = split(/\\/, $SourceRoot);
$SourceDrive = ("$pieces[0]");
@pieces = split(/:/, $SourceRoot);
$SourcePath = ("$pieces[$#pieces]");
# Now change the path to the build source.
chdir ("$SourceDrive");
chdir ("$SourcePath");
# Remove the old source, pull the new.
system ("echo y | rd /s mozilla");
system ("cvs co mozilla/cck");
# Lets build it
$TestPath = $SourcePath."\\mozilla\\cck\\driver";
chdir ($TestPath);
# Gonna need a batch file to build. This is because
# of the fact that the PERL system command opens a new
# session, thereby making the vcvars32.bat delaration
# invalid(different session)
#
system ("call C:\\CCKScripts\\PERLBuild.bat");
if ($ENV{'BuildGood'}==1) {
print ("Your mama");
}
print "$BuildType \n";
print "$SourceRoot \n";
print "$ErrorType \n";
print "$SourceDrive \n";
print "$SourcePath \n";
print "$TestPath \n";
#SetBuildDate();
#}
# Compute and format the date string for the folder and build label.
sub SetBuildDate
{
($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = localtime(time);
#print "time... $sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst \n";
#$days = $yday + 1;
$mon = $mon + 1;
$len = length($mon);
if ($len < 2) {
$mon = 0 . $mon
}
$len = length($mday);
if ($len < 2) {
$mday = 0 . $mday
}
$len = length($hour);
if ($len < 2) {
$hour = 0 . $hour
}
$year = $year + 1900;
$Blddate = $year . "-" . $mon . "-" . $mday . "-" . $hour;
#open (BDATE, ">c:\\CCKScripts\\bdate.bat") || die "cannot open c:\\CCKScripts\\bdate.bat: $!");
#print BDATE "set BuildID=$Blddate\n";
printf($Blddate);
}
# Handles all the errors ((CharlieFoxtrotHandler) Charlie = cluster, Foxtrot = f$*k)
sub CFHandler
{
if ($ErrorType==1)
{
printf("Wrong ver. of Visual C+, must have Ver. 6.0 "|| die);
}
if ($ErrorType==2)
{
printf("Cannot get the path to the Source base "|| die);
}
if ($ErrorType==3)
{
printf("MOZ_DEBUG is not defined "|| die);
}
if ($ErrorType==4)
{
}
if ($ErrorType==5)
{
}
if ($ErrorType==6)
{
}
if ($ErrorType==7)
{
}
# END THIS THING!!!
quit;
die;
}

18
mozilla/cck/build/PERLBuild.bat Executable file
View File

@@ -0,0 +1,18 @@
@echo off
REM PERL issues 'system' calls to a different session with each 'system'
REM command, the commands below must happen within the same "session".
REM
REM Set the BuildType
if "%MOZ_DEBUG%"=="1" set BuildType=debug
if "%MOZ_DEBUG%"=="0" set BuildType=release
REM Set the environment vars.
@echo Setting System Vars.
call C:\"Program Files"\"Microsoft Visual Studio"\VC98\Bin\vcvars32.bat
REM build the damn thing, then send notification if the exe is there.
@echo Building Wizardmachine.
if "%MOZ_DEBUG%"=="1" NMAKE /f "WizardMachine.mak" CFG="WizardMachine - Win32 Debug"
if "%MOZ_DEBUG%"=="0" NMAKE /f "WizardMachine.mak" CFG="WizardMachine - Win32 Release"

View File

@@ -0,0 +1,18 @@
@echo off
REM Put it where we all can get it.
REM %1 = release 'or' debug %2 = builddate
REM Make the Main repository Folder using the BuildID var
P:
md \client\cck\new\win\5.0\domestic\"%1"\"%2"
REM Make the folder for the INI's then copy/move all of them.
md \client\cck\new\win\5.0\domestic\"%1"\"%2"\iniFiles
D:
cd\builds\mozilla\cck\cckwiz\inifiles
copy *.ini P:\client\cck\new\win\5.0\domestic\"%1"\"%2"\iniFiles
REM Copy the wizardmachine.exe to sweetlou
D:
cd\builds\mozilla\cck\driver\%1
copy *.exe P:\client\cck\new\win\5.0\domestic\%1\%2

View File

@@ -0,0 +1,111 @@
# Microsoft Developer Studio Generated Dependency File, included by WizardMachine.mak
.\ImageDialog.cpp : \
".\ImageDialog.h"\
".\ProgressDialog.h"\
".\PropSheet.h"\
".\StdAfx.h"\
".\WizardMachine.h"\
".\WizardMachineDlg.h"\
".\WizardUI.h"\
.\NavText.cpp : \
".\NavText.h"\
".\ProgressDialog.h"\
".\PropSheet.h"\
".\StdAfx.h"\
".\WizardMachine.h"\
".\WizardMachineDlg.h"\
".\WizardUI.h"\
.\NewConfigDialog.cpp : \
".\NewConfigDialog.h"\
".\ProgressDialog.h"\
".\PropSheet.h"\
".\StdAfx.h"\
".\WizardMachine.h"\
".\WizardMachineDlg.h"\
".\WizardUI.h"\
.\NewDialog.cpp : \
".\NewDialog.h"\
".\ProgressDialog.h"\
".\PropSheet.h"\
".\StdAfx.h"\
".\WizardMachine.h"\
".\WizardMachineDlg.h"\
".\WizardUI.h"\
.\ProgDlgThread.cpp : \
".\ProgDlgThread.h"\
".\ProgressDialog.h"\
".\PropSheet.h"\
".\StdAfx.h"\
".\WizardMachine.h"\
".\WizardMachineDlg.h"\
".\WizardUI.h"\
.\ProgressDialog.cpp : \
".\ProgressDialog.h"\
".\PropSheet.h"\
".\StdAfx.h"\
".\WizardMachine.h"\
".\WizardMachineDlg.h"\
".\WizardUI.h"\
.\PropSheet.cpp : \
".\ProgressDialog.h"\
".\PropSheet.h"\
".\StdAfx.h"\
".\WizardMachine.h"\
".\WizardMachineDlg.h"\
".\WizardUI.h"\
.\StdAfx.cpp : \
".\StdAfx.h"\
.\WizardMachine.cpp : \
".\ProgressDialog.h"\
".\PropSheet.h"\
".\StdAfx.h"\
".\WizardMachine.h"\
".\WizardMachineDlg.h"\
".\WizardUI.h"\
.\WizardMachine.rc : \
".\res\WizardMachine.ico"\
".\res\WizardMachine.rc2"\
.\WizardMachineDlg.cpp : \
".\ImageDialog.h"\
".\ProgressDialog.h"\
".\PropSheet.h"\
".\StdAfx.h"\
".\WizardMachine.h"\
".\WizardMachineDlg.h"\
".\WizardUI.h"\
.\WizardUI.cpp : \
".\ImageDialog.h"\
".\NavText.h"\
".\NewConfigDialog.h"\
".\NewDialog.h"\
".\ProgDlgThread.h"\
".\ProgressDialog.h"\
".\PropSheet.h"\
".\StdAfx.h"\
".\WizardMachine.h"\
".\WizardMachineDlg.h"\
".\WizardUI.h"\

View File

@@ -0,0 +1,415 @@
# Microsoft Developer Studio Generated NMAKE File, Based on WizardMachine.dsp
!IF "$(CFG)" == ""
CFG=WizardMachine - Win32 Release
!MESSAGE No configuration specified. Defaulting to WizardMachine - Win32 Release.
!ENDIF
!IF "$(CFG)" != "WizardMachine - Win32 Release" && "$(CFG)" != "WizardMachine - Win32 Debug"
!MESSAGE Invalid configuration "$(CFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "WizardMachine.mak" CFG="WizardMachine - Win32 Release"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "WizardMachine - Win32 Release" (based on "Win32 (x86) Application")
!MESSAGE "WizardMachine - Win32 Debug" (based on "Win32 (x86) Application")
!MESSAGE
!ERROR An invalid configuration is specified.
!ENDIF
!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE
NULL=nul
!ENDIF
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
!IF "$(CFG)" == "WizardMachine - Win32 Release"
OUTDIR=.\Release
INTDIR=.\Release
# Begin Custom Macros
OutDir=.\Release
# End Custom Macros
ALL : "$(OUTDIR)\WizardMachine.exe"
CLEAN :
-@erase "$(INTDIR)\ImageDialog.obj"
-@erase "$(INTDIR)\NavText.obj"
-@erase "$(INTDIR)\NewConfigDialog.obj"
-@erase "$(INTDIR)\NewDialog.obj"
-@erase "$(INTDIR)\ProgDlgThread.obj"
-@erase "$(INTDIR)\ProgressDialog.obj"
-@erase "$(INTDIR)\PropSheet.obj"
-@erase "$(INTDIR)\StdAfx.obj"
-@erase "$(INTDIR)\WizardMachine.obj"
-@erase "$(INTDIR)\WizardMachine.pch"
-@erase "$(INTDIR)\WizardMachine.res"
-@erase "$(INTDIR)\WizardMachineDlg.obj"
-@erase "$(INTDIR)\WizardUI.obj"
-@erase "$(OUTDIR)\WizardMachine.exe"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP_PROJ=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\WizardMachine.pch" /Yu"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32
RSC_PROJ=/l 0x409 /fo"$(INTDIR)\WizardMachine.res" /d "NDEBUG" /d "_AFXDLL"
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\WizardMachine.bsc"
BSC32_SBRS= \
LINK32=link.exe
LINK32_FLAGS=/nologo /subsystem:windows /incremental:no /pdb:"$(OUTDIR)\WizardMachine.pdb" /machine:I386 /out:"$(OUTDIR)\WizardMachine.exe"
LINK32_OBJS= \
"$(INTDIR)\WizardMachine.obj" \
"$(INTDIR)\StdAfx.obj" \
"$(INTDIR)\NavText.obj" \
"$(INTDIR)\ImageDialog.obj" \
"$(INTDIR)\PropSheet.obj" \
"$(INTDIR)\WizardMachineDlg.obj" \
"$(INTDIR)\ProgressDialog.obj" \
"$(INTDIR)\ProgDlgThread.obj" \
"$(INTDIR)\NewConfigDialog.obj" \
"$(INTDIR)\NewDialog.obj" \
"$(INTDIR)\WizardUI.obj" \
"$(INTDIR)\WizardMachine.res"
"$(OUTDIR)\WizardMachine.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
!ELSEIF "$(CFG)" == "WizardMachine - Win32 Debug"
OUTDIR=.\Debug
INTDIR=.\Debug
# Begin Custom Macros
OutDir=.\Debug
# End Custom Macros
ALL : "$(OUTDIR)\WizardMachine.exe" "$(OUTDIR)\WizardMachine.bsc"
CLEAN :
-@erase "$(INTDIR)\ImageDialog.obj"
-@erase "$(INTDIR)\ImageDialog.sbr"
-@erase "$(INTDIR)\NavText.obj"
-@erase "$(INTDIR)\NavText.sbr"
-@erase "$(INTDIR)\NewConfigDialog.obj"
-@erase "$(INTDIR)\NewConfigDialog.sbr"
-@erase "$(INTDIR)\NewDialog.obj"
-@erase "$(INTDIR)\NewDialog.sbr"
-@erase "$(INTDIR)\ProgDlgThread.obj"
-@erase "$(INTDIR)\ProgDlgThread.sbr"
-@erase "$(INTDIR)\ProgressDialog.obj"
-@erase "$(INTDIR)\ProgressDialog.sbr"
-@erase "$(INTDIR)\PropSheet.obj"
-@erase "$(INTDIR)\PropSheet.sbr"
-@erase "$(INTDIR)\StdAfx.obj"
-@erase "$(INTDIR)\StdAfx.sbr"
-@erase "$(INTDIR)\vc60.idb"
-@erase "$(INTDIR)\vc60.pdb"
-@erase "$(INTDIR)\WizardMachine.obj"
-@erase "$(INTDIR)\WizardMachine.pch"
-@erase "$(INTDIR)\WizardMachine.res"
-@erase "$(INTDIR)\WizardMachine.sbr"
-@erase "$(INTDIR)\WizardMachineDlg.obj"
-@erase "$(INTDIR)\WizardMachineDlg.sbr"
-@erase "$(INTDIR)\WizardUI.obj"
-@erase "$(INTDIR)\WizardUI.sbr"
-@erase "$(OUTDIR)\WizardMachine.bsc"
-@erase "$(OUTDIR)\WizardMachine.exe"
-@erase "$(OUTDIR)\WizardMachine.ilk"
-@erase "$(OUTDIR)\WizardMachine.pdb"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP_PROJ=/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\WizardMachine.pch" /Yu"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32
RSC_PROJ=/l 0x409 /fo"$(INTDIR)\WizardMachine.res" /d "_DEBUG" /d "_AFXDLL"
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\WizardMachine.bsc"
BSC32_SBRS= \
"$(INTDIR)\WizardMachine.sbr" \
"$(INTDIR)\StdAfx.sbr" \
"$(INTDIR)\NavText.sbr" \
"$(INTDIR)\ImageDialog.sbr" \
"$(INTDIR)\PropSheet.sbr" \
"$(INTDIR)\WizardMachineDlg.sbr" \
"$(INTDIR)\ProgressDialog.sbr" \
"$(INTDIR)\ProgDlgThread.sbr" \
"$(INTDIR)\NewConfigDialog.sbr" \
"$(INTDIR)\NewDialog.sbr" \
"$(INTDIR)\WizardUI.sbr"
"$(OUTDIR)\WizardMachine.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
$(BSC32) @<<
$(BSC32_FLAGS) $(BSC32_SBRS)
<<
LINK32=link.exe
LINK32_FLAGS=/nologo /subsystem:windows /incremental:yes /pdb:"$(OUTDIR)\WizardMachine.pdb" /debug /machine:I386 /out:"$(OUTDIR)\WizardMachine.exe"
LINK32_OBJS= \
"$(INTDIR)\WizardMachine.obj" \
"$(INTDIR)\StdAfx.obj" \
"$(INTDIR)\NavText.obj" \
"$(INTDIR)\ImageDialog.obj" \
"$(INTDIR)\PropSheet.obj" \
"$(INTDIR)\WizardMachineDlg.obj" \
"$(INTDIR)\ProgressDialog.obj" \
"$(INTDIR)\ProgDlgThread.obj" \
"$(INTDIR)\NewConfigDialog.obj" \
"$(INTDIR)\NewDialog.obj" \
"$(INTDIR)\WizardUI.obj" \
"$(INTDIR)\WizardMachine.res"
"$(OUTDIR)\WizardMachine.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
!ENDIF
.c{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
!IF "$(NO_EXTERNAL_DEPS)" != "1"
!IF EXISTS("WizardMachine.dep")
!INCLUDE "WizardMachine.dep"
!ELSE
!MESSAGE Warning: cannot find "WizardMachine.dep"
!ENDIF
!ENDIF
!IF "$(CFG)" == "WizardMachine - Win32 Release" || "$(CFG)" == "WizardMachine - Win32 Debug"
SOURCE=.\ImageDialog.cpp
!IF "$(CFG)" == "WizardMachine - Win32 Release"
"$(INTDIR)\ImageDialog.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
!ELSEIF "$(CFG)" == "WizardMachine - Win32 Debug"
"$(INTDIR)\ImageDialog.obj" "$(INTDIR)\ImageDialog.sbr" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
!ENDIF
SOURCE=.\NavText.cpp
!IF "$(CFG)" == "WizardMachine - Win32 Release"
"$(INTDIR)\NavText.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
!ELSEIF "$(CFG)" == "WizardMachine - Win32 Debug"
"$(INTDIR)\NavText.obj" "$(INTDIR)\NavText.sbr" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
!ENDIF
SOURCE=.\NewConfigDialog.cpp
!IF "$(CFG)" == "WizardMachine - Win32 Release"
"$(INTDIR)\NewConfigDialog.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
!ELSEIF "$(CFG)" == "WizardMachine - Win32 Debug"
"$(INTDIR)\NewConfigDialog.obj" "$(INTDIR)\NewConfigDialog.sbr" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
!ENDIF
SOURCE=.\NewDialog.cpp
!IF "$(CFG)" == "WizardMachine - Win32 Release"
"$(INTDIR)\NewDialog.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
!ELSEIF "$(CFG)" == "WizardMachine - Win32 Debug"
"$(INTDIR)\NewDialog.obj" "$(INTDIR)\NewDialog.sbr" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
!ENDIF
SOURCE=.\ProgDlgThread.cpp
!IF "$(CFG)" == "WizardMachine - Win32 Release"
"$(INTDIR)\ProgDlgThread.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
!ELSEIF "$(CFG)" == "WizardMachine - Win32 Debug"
"$(INTDIR)\ProgDlgThread.obj" "$(INTDIR)\ProgDlgThread.sbr" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
!ENDIF
SOURCE=.\ProgressDialog.cpp
!IF "$(CFG)" == "WizardMachine - Win32 Release"
"$(INTDIR)\ProgressDialog.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
!ELSEIF "$(CFG)" == "WizardMachine - Win32 Debug"
"$(INTDIR)\ProgressDialog.obj" "$(INTDIR)\ProgressDialog.sbr" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
!ENDIF
SOURCE=.\PropSheet.cpp
!IF "$(CFG)" == "WizardMachine - Win32 Release"
"$(INTDIR)\PropSheet.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
!ELSEIF "$(CFG)" == "WizardMachine - Win32 Debug"
"$(INTDIR)\PropSheet.obj" "$(INTDIR)\PropSheet.sbr" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
!ENDIF
SOURCE=.\StdAfx.cpp
!IF "$(CFG)" == "WizardMachine - Win32 Release"
CPP_SWITCHES=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\WizardMachine.pch" /Yc"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
"$(INTDIR)\StdAfx.obj" "$(INTDIR)\WizardMachine.pch" : $(SOURCE) "$(INTDIR)"
$(CPP) @<<
$(CPP_SWITCHES) $(SOURCE)
<<
!ELSEIF "$(CFG)" == "WizardMachine - Win32 Debug"
CPP_SWITCHES=/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\WizardMachine.pch" /Yc"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
"$(INTDIR)\StdAfx.obj" "$(INTDIR)\StdAfx.sbr" "$(INTDIR)\WizardMachine.pch" : $(SOURCE) "$(INTDIR)"
$(CPP) @<<
$(CPP_SWITCHES) $(SOURCE)
<<
!ENDIF
SOURCE=.\WizardMachine.cpp
!IF "$(CFG)" == "WizardMachine - Win32 Release"
"$(INTDIR)\WizardMachine.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
!ELSEIF "$(CFG)" == "WizardMachine - Win32 Debug"
"$(INTDIR)\WizardMachine.obj" "$(INTDIR)\WizardMachine.sbr" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
!ENDIF
SOURCE=.\WizardMachine.rc
"$(INTDIR)\WizardMachine.res" : $(SOURCE) "$(INTDIR)"
$(RSC) $(RSC_PROJ) $(SOURCE)
SOURCE=.\WizardMachineDlg.cpp
!IF "$(CFG)" == "WizardMachine - Win32 Release"
"$(INTDIR)\WizardMachineDlg.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
!ELSEIF "$(CFG)" == "WizardMachine - Win32 Debug"
"$(INTDIR)\WizardMachineDlg.obj" "$(INTDIR)\WizardMachineDlg.sbr" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
!ENDIF
SOURCE=.\WizardUI.cpp
!IF "$(CFG)" == "WizardMachine - Win32 Release"
"$(INTDIR)\WizardUI.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
!ELSEIF "$(CFG)" == "WizardMachine - Win32 Debug"
"$(INTDIR)\WizardUI.obj" "$(INTDIR)\WizardUI.sbr" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
!ENDIF
!ENDIF

1
mozilla/cck/build/bdate.bat Executable file
View File

@@ -0,0 +1 @@
set BuildID=99040215

25
mozilla/cck/build/date.pl Normal file
View File

@@ -0,0 +1,25 @@
($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = localtime(time);
print "time... $sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst \n";
#$days = $yday + 1;
$mon = $mon + 1;
$len = length($mon);
if ($len < 2) {
$mon = 0 . $mon
}
$len = length($mday);
if ($len < 2) {
$mday = 0 . $mday
}
$len = length($hour);
if ($len < 2) {
$hour = 0 . $hour
}
$year = $year + 1900;
$Blddate = $year . "-" . $mon . "-" . $mday . "-" . $hour;
open (BDATE, ">c:\\CCKScripts\\bdate.bat") || die "cannot open c:\\CCKScripts\\bdate.bat: $!";
print BDATE "set BuildID=$Blddate\n";

View File

@@ -0,0 +1,49 @@
CCK Read Me
What are all of these files?
-------------------------
bdate.bat - Sets the environment var, BuildID, to the value given it by the PERL script date.pl.
The BuildID var is used to name the repository folder.
CCKBuild.bat - Build automation file for this whole build processs. Paths, in the script will have
to updated to work on a machine other than mine. I plan to move this to PERL to better script the
build process for portability.
CCKBuild.pl - The PERL build script for CCK. This must also have PERLBuild.bat and PERLUpload.bat
in the same folder to work.
date.pl - PERL script that creates a the date that is used to name the repository folder. Called
by CCKBuild.bat.
PERLUpload.bat - Creates repoitory folders, moves the wizardmachine.exe and associated ini's to the
repository folders. Called by CCKBuild.pl.
PERLBuild.bat - Issues the commands to set the Env vars and start the build. Called by CCKBuild.pl.
ReadMe.txt - Um, uh, well.... DUH!
WizardMachine.mak - Make file for WizardMachine. Details below.....
WizardMachine.dep - The dependancy file for WizardMachine.mak. Put both WizardMachine.mak
and WizardMachine.dep in the mozilla/cck/driver folder to build the WizardMachine project(They
should already be there).
To build this project issue the commands:
NMAKE /f "WizardMachine.mak" CFG="WizardMachine - Win32 Debug"
or
NMAKE /f "WizardMachine.mak" CFG="WizardMachine - Win32 Release"
The commands above should be executed in the same folder as the WizardMachine.mak and .dep
files. When complete, you should end up with nice shiny new .exe, .obj's, .pch and .res files in a
"release" or "debug" folder, depending on the command issued from above.
Doc Owner:
Frank (petitta@netscape.com)
X6378

View File

@@ -0,0 +1,3 @@
[autorun]
open=setup.exe
icon=.\shell\bmps\ncomm.ico

View File

@@ -0,0 +1,36 @@
=================================================================
Mozilla Client Customization Kit 6.0
=================================================================
Welcome to the Mozilla Client Customization Kit (CCK) Preview Release!
The Mozilla Client Customization Kit is subject to the terms
detailed in the license agreement accompanying it.
Before you install CCK, be sure to read the Release Notes, which
describe known problems and work-arounds:
http://home.netscape.com/eng/mozilla/ns6/relnotes/cck.html
Before you install Mozilla, be sure to read the Release Notes, which
describe known problems and installation issues:
http://home.netscape.com/eng/mozilla/ns6/relnotes/pv6-1.html
==================================================================
System Requirements
==================================================================
To use CCK, you need the following:
*An IBM-compatible computer running Windows NT 4.0 or Windows 2000
*Pentium 133 MHz (or faster) processor
*48 MB of RAM (or greater)
*At least 60 MB hard disk space for installation

View File

@@ -0,0 +1,35 @@
; This file is used to configure a setup launcher.
; Each section represents an OS that can be detected.
; Each section can have either a
; command=foobar foobar gets appended to the path where
; this setup.exe exist. Do not lead with backslash.
; This command is then execute through WinExec()
; and this app terminates.
; postError=My error message saying OS not supported
; This message will be posted. Message caption will
; be the Caption item in Error Messages section
[Error Messages]
; This is the caption that will appear in any error message generated
Caption=Setup Launcher
[Windows 16]
PostError=This program requires Windows 95 or Windows NT 4.0!
command=shell\nsetup16\Nsetup16.exe
[Windows 95]
PostError=Detected Windows 95
command=shell\nsetup32\Nsetup32.exe
[Windows NT Original GUI]
PostError=This program requires Windows 95 or Windows NT 4.0
[Windows NT New GUI]
PostError=Detected Windows NT version 4.0 or newer
command=shell\nsetup32\Nsetup32.exe
[OS UNDEFINED]
PostError=Undefined Operating System detected. Unable to install application

View File

@@ -0,0 +1,34 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
DEPTH=..\..
DIRS=shell
include <$(DEPTH)\config\rules.mak>
include <$(DEPTH)\cck\InitDist.win>
export::
$(MAKE_INSTALL) *.exe $(CCKDIST)
$(MAKE_INSTALL) *.inf $(CCKDIST)
$(MAKE_INSTALL) *.ini $(CCKDIST)
$(MAKE_INSTALL) *.txt $(CCKDIST)

BIN
mozilla/cck/cckcd/setup.exe Executable file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 KiB

View File

@@ -0,0 +1,30 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
DEPTH=..\..\..\..
include <$(DEPTH)\config\rules.mak>
include <$(DEPTH)\cck\InitDist.win>
export::
$(MAKE_INSTALL) *.bmp $(CCKDIST)\Shell\bmps
$(MAKE_INSTALL) *.ico $(CCKDIST)\Shell\bmps

View File

@@ -0,0 +1,31 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
DEPTH=..\..\..
DIRS=bmps nsetup32
include <$(DEPTH)\config\rules.mak>
include <$(DEPTH)\cck\InitDist.win>
#export::
#$(MAKE_INSTALL) * $(CCKDIST)\CCKTool\Shell

View File

@@ -0,0 +1,4 @@
cd Core
setup.exe
echo off
cls

View File

@@ -0,0 +1,31 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
DEPTH=..\..\..\..
include <$(DEPTH)\config\rules.mak>
include <$(DEPTH)\cck\InitDist.win>
export::
$(MAKE_INSTALL) *.exe $(CCKDIST)\Shell\nsetup32
$(MAKE_INSTALL) *.ini $(CCKDIST)\Shell\nsetup32
$(MAKE_INSTALL) *.bat $(CCKDIST)\Shell\nsetup32

Binary file not shown.

View File

@@ -0,0 +1,757 @@
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; RSHELL.INI FOR NETSCAPE 6
;
;
; This rshell.ini specifies the configuration data used by the CD Shell
; program to dynamically create the CD install screens. To create custom
; versions of the shell, simply delete, fill-in or change the settings
; in this ini file. Make a copy of it first though!
;
; There are several sections in this rshell.ini file:
;
; [General] contains the data used by all the shell dialogs (screens).
; It specifies the settings for the browse, back and exit buttons.
;
; [Dialog*] contains the data used by each unique shell dialog (screen).
; Each [Dialog*] section is associated with one dialog. The sections are
; named [Dialog1] [Dialog2] [Dialog3], etc, one for each shell dialog.
;
; Notes:
;
; 1) Some of the file paths specified in this rshell.ini file need to be
; relative to the location of the exe file. Relative paths are specified
; with this format: ..\directory\filename. Each "..\" is one step back
; in the directory structure. So, if your CD has the following structure:
;
; \root
; \setup.exe
; \launch.ini
; \Netscape6\ [Netscape 6 software]
; \plugins\
; \extras\clipart\
; \shell\nsetup32\rshell.ini
; \shell\nsetup16\rshell.ini
;
; then ..\..\ would be required in the rshell.ini for the program to find
; the plugins directory or the Comm directory.
;
; Other file paths are absolute from the root level of the CD, and therefore
; will not need the "..\..\." For example, an absolute path for the clipart
; directory would just be: extras\clipart\.
;
; 2) To remove a section of settings, just delete it. For example, if you only
; want a single column on a dialog, delete all of the col2_ settings. If you
; only want 2 dialog (screens), delete all of the Dialog3 and greater
; sections. If you only want 2 buttons on a dialog, delete all of the
; settings for button3 and greater.
;
; 3) All widths and positions are in pixels.
;
; 4) All (x,y) positions are are relative to the top left corner of the dialog.
;
; 5) The background bitmaps included with the software are 640x480 pixels.
;
; 6) To prevent palette swapping problems when changing from one dialog screen
; to the next, it's best to put all 256 Windows palette colors into each
; background bitmap. Then if new buttons are introduced on a follow-on
; dialog, a palette swap won't occur (to accomodate the new colors).
;
; 7) When entering text for buttons and dialogs, leave extra space around the
; text to accomodate Windows "large fonts" mode.
;
; 8) For reference, here's a list of 16 common colors from the standard
; Windows palette:
;
; black: 0,0,0
; white: 255,255,255
; red: 255,0,0
; green: 0,255,0
; blue: 0,0,255
; yellow: 255,255,0
; magenta: 255,0,255
; cyan: 0,255,255
; dark red: 128,0,0
; dark green: 0,128,0
; dark yellow: 128,128,0
; dark blue: 0,0,128
; dark cyan: 0,128,128
; dark gray: 128,128,128
; dark magenta: 128,0,128
; gray: 192,192,192
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;======================= general configurations =========================
[General]
; This section specifies the attributes of the control buttons: browse,
; back and exit. Either text or bitmaps can be used for the buttons, when
; both are set, bitmaps take precedence.
;---------------------------------------
browse_button_text=Browse &CD
; default setting: browse_button_text=Browse
; the "&" sets the C as the keyboard shortcut for this button
;---------------------------------------
browse_button_pos=
; e.g.: browse_button_pos=x1,y1,x2,y2
; where (x1,y1) is the upper left corner of the button,
; (x2,y2) is the lower right corner of the button
; default setting: browse_button_pos=
; if left blank, the position calculation is based on the
; size of the dialogs; if bitmaps are used, (x2,y2) are not used.
;---------------------------------------
browse_button_bitmaps=
; defines button bitmap files
; e.g.: browse_button_bitmaps=brse_up.bmp,brse_dn.bmp,brse_sel.bmp,brse_dis.bmp
; 4 bitmaps specify the states of the buttons: up,down,selected,disabled.
; Selected and disabled are optional
; If the bitmaps are not specified, the dialog uses a standard
; Windows button with the text specified in browse_button_text
;---------------------------------------
back_button_text=&Back
; same as the settings of browse button
; the "&" sets the B as the keyboard shortcut for this button
;---------------------------------------
back_button_pos=
; same as the settings of browse button
;---------------------------------------
back_button_bitmaps=
; same as the settings of browse button
;---------------------------------------
exit_button_text=E&xit
; same as the settings of browse button
; the "&" sets the x as the keyboard shortcut for this button
;---------------------------------------
exit_button_pos=
; same as the settings of browse button
;---------------------------------------
exit_button_bitmaps=
; same as the settings of browse button
;---------------------------------------
; check_netscape_registry=default
; defines registry/ini path check for Netscape 6
; Used to check to be sure Netscape 6 is installed before installing
; plug-ins or applications. If set to default, uses a default method to check
; if Netscape 6 is installed that is version independant (any 4.x or later version).
; Check path for registry or ini can also be specified (for example, if you
; want to check for a different software program). Here's the formats:
; Win32 registry: registry_path,registry_key,registry_val
; Example: check__netscape_registry=HKEY_LOCAL_MACHINE\Software\netscape\netscape navigator\4.01 (en)\main,Install Directory,program\netscape.exe
; Win16 ini file: ini_file_name|ini_section,ini_entry,ini_val
; this determines if the ini_val is the value of ini_entry in the ini_section of
; the ini_file_name
; Example: check__netscape_registry=c:\windows\win.ini|netscape,ini,c:\netscape\netscape.ini
;--------------------------------------
; check_netscape_registry_error_msg=Please install Netscape 6 before installing Bonus Plug-ins or Applications.
; error message shown to user if the registry check doesn't find the
; Netscape 6 key
;===================== dialog configurations =======================
[Dialog1]
; There are 3 types of data in this section - dialog data, column
; data and button data.
; The dialog data configures the global settings of the specific dialog
; (screen); in this case dialog 1.
; The column and buttons settings configure the columns and buttons.
;---------------------------------------
caption=Netscape 6.2 Client Customization Kit
; defines dialog caption text (the text that goes in the top bar of
; the Windows window)
;---------------------------------------
dialog_position=
; e.g.: dialog_position=x1,y1,x2,y2
; defines dialog position on total screen (monitor)
; (x1,y1) is the upper-left corner and (x2,y2) is the lower-right corner
; of the dialog.
; If left blank, the dialog is placed at the center of the
; screen. if bitmaps are used, (x2,y2) are not used.
;---------------------------------------
bk_bitmap=..\bmps\cckit_bg.bmp
; defines background bitmap for the dialog.
; if the data is not present, the shell dialog is painted with
; the system background color.
;---------------------------------------
button_gap=25
; defines vertical gap (y) between the buttons in the dialog.
;---------------------------------------
;================= global text for dialog =======================
; this section allows you to add a paragraph or line of text that
; you want to apply to the whole dialog (screen). Using the position
; setting, you can have this text appear anywhere -- along the top or
; bottom of the dialog screen, for example.
;---------------------------------------
dialog_title_text=Welcome to the installer for Netscape 6.2 Client Customization Kit
; defines the dialog title text
;---------------------------------------
dialog_title_pos=80,90,630,420
; defines the dialog title text position (x1,y1,x2,y2)
; Text is written into a box where x1,y1 defines the position of
; the top left corner and x2,y2 is the bottom right corner
;---------------------------------------
dialog_title_text_color=0,0,0
; defines the dialog title text color
;---------------------------------------
dialog_title_shadow_color=
; defines the dialog title text shadow color
;---------------------------------------
dialog_title_shadow_depth=
; defines the dialog title text shadow depth
;---------------------------------------
dialog_title_text_font=arial,10
; defines the dialog title text font and font size
;---------------------------------------
dialog_title_font_bold=TRUE
; disable/enable dialog title bold text; TRUE or FALSE
; default for no entry is FALSE
;---------------------------------------
dialog_title_font_underline=
; disable/enable dialog title underline text; TRUE or FALSE
; default for no entry is FALSE
;---------------------------------------
dialog_title_font_italic=
; disable/enable dialog title italic text; TRUE or FALSE
; default for no entry is FALSE
;---------------------------------------
;====== global text settings for all button text in dialog 1 ======
;---------------------------------------
text_color_default=0,0,0
; defines the default text color for all text on the dialog.
; e.g.: text_color_default=red,green,blue
;---------------------------------------
text_color_highlight=4,137,161
; defines the color for mouse-over highlighting for all text
; on the dialog.
; e.g.: text_color_highlight=red,green,blue
;---------------------------------------
;==== settings for button titles and button body text in dialog =====
;--------------------------------------
button_title_text_font=arial,14
; defines button title font and font size
; if left blank, the system font and font size are used.
;---------------------------------------
button_title_text_font_bold=TRUE
; flag to enable/disable button title bold text; TRUE or FALSE
; e.g.: button_title_text_font_bold=FALSE
; if left blank, the bold is disabled.
;---------------------------------------
button_title_text_font_underline=
; flag to enable/disable underline of button title text; TRUE or FALSE
; e.g.: button_title_text_font_underline=FALSE
; if left blank, the underline is disabled.
;---------------------------------------
button_title_text_font_italic=
; flag to enable/disable button title italic text; TRUE or FALSE
; e.g.: button_title_text_font_italic=FALSE
; if left blank, the italic is disabled.
;---------------------------------------
body_text_font=arial,10
; defines the button body text font and font size.
; For each button desciptive text, there is body text and title text,
; and different fonts can be set for these two text areas.
; e.g.: body_text_font=roman,12
; if left blank, the system font and font size are used.
;---------------------------------------
body_text_font_bold=
; flag to enable/disable the button body text bold font; TRUE or FALSE
; e.g.: body_text_font_bold=FALSE
; if left blank, the bold font is disabled.
;---------------------------------------
body_text_font_underline=
; flag to enable/disable the button body text underline; TRUE or FALSE
; e.g.: body_text_font_underline=FALSE
; if left blank, the underline is disabled.
;---------------------------------------
body_text_font_italic=
; flag to enable/disable the button body text italic font; TRUE or FALSE
; e.g.: body_text_font_italic=FALSE
; if left blank, the italic is disabled.
;---------------------------------------
;==================== columns within dialogs ========================
; Each dialog can have single or multiple columns. Each column can be
; customized with the follow settings. For multiple columns, the setting names
; are differentiated by the last digit of the name. For example,
; col1_button_pos is the button position of the column 1; col2_button_pos is
; the button position of the column 2.
; If you only want 1 column, delete all of the col2 or greater settings, or
; leave them blank.
;---------------------------------------
;==================== column 1 for dialog 1 =========================
;---------------------------------------
col1_button_pos=70,150
; defines the button position of the first button in column 1.
; e.g.: col1_button_pos=x,y
; (x,y) is the upper-left corner of the first button of the column 1
; relative to the upper left corner of the dialog.
;---------------------------------------
col1_text_offset=10
; defines the offset between the button description text and the
; button position.
; there are two ways to specify the button descriptive text position, one is
; by the offset from the button, the other is by the absolute x position
; (see below).
; default setting if left blank: col1_text_offset=10
;or use the next setting:
;---------------------------------------
col1_text_posx=
; defines absolute x position of button descriptive text.
; if both col1_text_offset and col1_text_posx are set, col1_text_posx
; overwrites col1_text_offset.
;---------------------------------------
col1_text_width=275
; the x distance at which the button descriptive text word-wraps.
; default setting: if this setting is left blank, the text runs to 10 pixels
; away from the right edge of the dialog.
;---------------------------------------
;====================== column 2 for dialog 1 =========================
; If you don't want 2 columns, simply delete the settings in this section
; or leave them blank.
;---------------------------------------
col2_button_pos=
; see description for column 1
;---------------------------------------
col2_text_offset=
; see description for column 1
;---------------------------------------
col2_text_posx=
; see description for column 1
;---------------------------------------
col2_text_width=
; see description for column 1
;---------------------------------------
;======================= buttons for dialog 1 ========================
; Similiar to columns, each dialog (screen) can have one or multiple buttons.
; Each button can be customized with the follow settings. For multiple buttons,
; the setting names are differentiated by the last digit of the name. For
; example, button1_bitmaps specifies the button bitmaps of button 1,
; button2_bitmaps specifies the button bitmaps of button 2.
;---------------------------------------
button1_bitmaps=..\bmps\N6_up.bmp,..\bmps\N6_dn.bmp,..\bmps\N6_mo.bmp,..\bmps\N6_mo.bmp
; defines button bitmap files.
; e.g.: button1_bitmaps=btn_up.bmp, btn_dn.bmp, btn_sel.bmp, btn_dis.bmp
; 4 bitmaps specify the states of the button: up,down,selected,disabled.
; Selected and disabled are optional
;---------------------------------------
button1_cmdline=exe,ChangeDir.bat
; defines button action
; a button click can cause any of 6 actions:
; 1) launch a program: button1_cmdline=exe,program name
; e.g.: button1_cmdline=exe,setup.exe
; when the 1st argument is exe, it is a program and the 2nd argument
; is the relative program path
; 2) goto a different dialog screen: button1_cmdline=window,dialog#
; e.g.: button1_cmdline=window,dialog2
; when the 1st argument is window, it is a goto for another dialog and
; the 2nd argument is the section name of that dialog.
; 3) open a file: button1_cmdline=open,file name
; eg.: button1_cmdline=open,myfile.txt
; when the 1st argument is open, the 2nd argument is the file to be
; opened. That file will be opened with whatever program the OS has
; associated for that file type. Association is handled by the file
; extension, which, in this example is .txt. If an association doesn't
; exist, the OS will ask user to create an association to open the file.
; 4) print a file: button1_cmdline=print,file name
; e.g.: button1_cmdline=print,myfile.txt
; when the 1st argument is print, the 2nd argument is the file to be
; printed. That file will be printed with whatever program the OS has
; associated for that file type. Association is handled by the file
; extension, which, in this example is .txt. If an association doesn't
; exist, the OS will ask user to create an association to open the file.
; Please note that printing of html files does not work through Windows.
; 5) explore a directory: button1_cmdline=explore,path to directory
; e.g.: button1_cmdline=explore,extras\clipart\
; when the first argument is explore, the 2nd argument is the directory
; on the CD to browse to. The path to the directory must be specified as
; an absolute path from the root of the CD. In the example above, it would
; open the 'clipart' directory that is in the 'extras' directory, which is
; at the root level of the CD.
; 6) open file in Navigator: button1_cmdline=netscape,file name
; e.g.: button1_cmdline=netscape,myfile.html
; when the 1st argument is netscape, the 2nd argument is the file to be
; opened with the current installed version of Netscape Navigator. That file
; type may be an html file, or a .gif, or, if a plug-in is already installed,
; it could be an Adobe .pdf...
;---------------------------------------
button1_text_title=Client Customization Kit
; defines button descriptive title text.
;---------------------------------------
button1_text_body=Click here to install the Client Customization Kit -- Everything you need to customize Netscape 6.2.
; defines button descriptive body text.
;---------------------------------------
button1_offset=
; defines button x and y position offsets, which allows you to offset individual
; buttons from the column offset. This offset is in respect to the left side
; of the dialog. The button1 (x,y) position is calculated by:
; x = button1_offset + col1_button_pos(x)
; y = col1_button_pos(y);
; default setting if left blank: button1_offset=0;If you specify a y offset greater than 0 for button1, this y offset applies to ;all other buttons in the same column unless you also specify individual y offset ;values for the other buttons in the same column. If you do that, then each ;button uses the x,y offset values specified for it.
;---------------------------------------
button1_netscape_required=FALSE
; for apps which require a registry/ini check to make sure that Netscape 6
; (or some other software) is installed. TRUE or FALSE. If left blank, default
; is FALSE. See check_netscape_registry in the [General] section.
;---------------------------------------
;=================== buttons 2-6 for dialog 1 ===========================
; Note if you want fewer than 6 buttons, simply delete the button# groups
; higher than what you want or leave their settings blank. To add more than
; 6 buttons, just copy and paste a button group and increment the button#.
button2_bitmaps=..\bmps\help_up.bmp,..\bmps\help_dn.bmp,..\bmps\help_mo.bmp,..\bmps\help_mo.bmp
button2_cmdline=exe,..\..\Install.txt
button2_text_title=Installation Guide
button2_text_body=Click here to get all the information you need to install Netscape 6.2 Client Customization Kit. It is recommended that you read or print this information before installing.
button2_offset=
button2_netscape_required=FALSE
;button3_bitmaps=..\bmps\apps_up.bmp,..\bmps\apps_dn.bmp,..\bmps\apps_mo.bmp,..\bmps\apps_mo.bmp
;button3_cmdline=window,Dialog2
;button3_text_title=Bonus Applications and Plug-ins
;button3_text_body=Click here to see the Bonus Applications and Plug-ins included with this CD.
;button3_offset=
;button3_netscape_required=FALSE
;=========================== dialog 2 ===========================
[Dialog2]
;================ dialog config =================
caption=Bonus Applications and Plug-ins
dialog_position=
bk_bitmap=..\bmps\comm.bmp
button_gap=70
dialog_title_text=Be sure to install Netscape 6 before you install any Applications or Plug-ins.
dialog_title_pos=100,400,630,420
dialog_title_text_color=255,255,255
dialog_title_shadow_color=0,0,0
dialog_title_shadow_depth=
dialog_title_text_font=arial,10
dialog_title_font_bold=TRUE
dialog_title_font_underline=
dialog_title_font_italic=
text_color_default=0,0,0
text_color_highlight=255,255,255
button_title_text_font=arial,14
button_title_text_font_bold=TRUE
button_title_text_font_underline=
button_title_text_font_italic=
body_text_font=arial,10
body_text_font_bold=
body_text_font_underline=
body_text_font_italic=
;========== column 1 for dialog 2 ==========
col1_button_pos=80,130
col1_text_offset=15
col1_text_posx=
col1_text_width=200
;========== column 2 for dialog 2 ==========
col2_button_pos=350,130
col2_text_offset=15
col2_text_posx=
col2_text_width=200
;========== buttons for dialog 2 ==========
button1_bitmaps=..\bmps\32b_up.bmp,..\bmps\32b_dn.bmp,..\bmps\32b_mo.bmp,..\bmps\32b_mo.bmp
button1_cmdline=exe,..\..\apps\app1\app1.exe
button1_text_title=Application1
button1_text_body=descriptive text
button1_offset=
button1_netscape_required=
button2_bitmaps=..\bmps\32b_up.bmp,..\bmps\32b_dn.bmp,..\bmps\32b_mo.bmp,..\bmps\32b_mo.bmp
button2_cmdline=exe,..\..\apps\app2\app2.exe
button2_text_title=Application2
button2_text_body=descriptive text
button2_offset=
button2_netscape_required=
button3_bitmaps=..\bmps\32b_up.bmp,..\bmps\32b_dn.bmp,..\bmps\32b_mo.bmp,..\bmps\32b_mo.bmp
button3_cmdline=exe,..\..\apps\app3\app3.exe
button3_text_title=Plug-in1
button3_text_body=descriptive text
button3_offset=
button3_netscape_required=
button4_bitmaps=..\bmps\32b_up.bmp,..\bmps\32b_dn.bmp,..\bmps\32b_mo.bmp,..\bmps\32b_mo.bmp
button4_cmdline=exe,..\..\apps\app4\app4.exe
button4_text_title=Plug-in2
button4_text_body=descriptive text
button4_offset=
button4_netscape_required=
;============================== dialog 3 ==============================
[Dialog3]
;============= dialog config ===============
caption=Bonus Plug-ins
dialog_position=
bk_bitmap=..\bmps\comm.bmp
button_gap=50
dialog_title_text=Be sure to install Netscape 6 before you install any Plug-ins.
dialog_title_pos=120,400,630,420
dialog_title_text_color=255,255,255
dialog_title_shadow_color=
dialog_title_shadow_depth=
dialog_title_text_font=arial,10
dialog_title_font_bold=TRUE
dialog_title_font_underline=
dialog_title_font_italic=
text_color_default=0,0,0
text_color_highlight=255,255,255
button_title_text_font=arial,14
button_title_text_font_bold=TRUE
button_title_text_font_underline=
button_title_text_font_italic=
body_text_font=arial,10
body_text_font_bold=
body_text_font_underline=
body_text_font_italic=
;========== column 1 for dialog 3 ==========
col1_button_pos=80,110
col1_text_offset=15
col1_text_posx=
col1_text_width=200
;========== column 2 for dialog 3 ==========
col2_button_pos=350,110
col2_text_offset=15
col2_text_posx=
col2_text_width=200
;========== buttons for dialog 3 ==========
button1_bitmaps=..\bmps\16b_up.bmp,..\bmps\16b_dn.bmp,..\bmps\16b_mo.bmp,..\bmps\16b_mo.bmp
button1_cmdline=exe,..\..\plugins\plugin1\32plugin1.exe
button1_text_title=Plug-in1
button1_text_body=descriptive text
button1_offset=
button1_netscape_required=TRUE
button2_bitmaps=..\bmps\16b_up.bmp,..\bmps\16b_dn.bmp,..\bmps\16b_mo.bmp,..\bmps\16b_mo.bmp
button2_cmdline=exe,..\..\plugins\plugin2\32plug2.exe
button2_text_title=Plug-in2
button2_text_body=descriptive text
button2_offset=
button2_netscape_required=TRUE
button3_bitmaps=..\bmps\16b_up.bmp,..\bmps\16b_dn.bmp,..\bmps\16b_mo.bmp,..\bmps\16b_mo.bmp
button3_cmdline=exe,..\..\plugins\plugin3\32plug3.exe
button3_text_title=Plug-in3
button3_text_body=descriptive text
button3_offset=
button3_netscape_required=TRUE
button4_bitmaps=..\bmps\16b_up.bmp,..\bmps\16b_dn.bmp,..\bmps\16b_mo.bmp,..\bmps\16b_mo.bmp
button4_cmdline=exe,..\..\plugins\plugin4\32plug4.exe
button4_text_title=Plug-in4
button4_text_body=descriptive text
button4_offset=
button4_netscape_required=TRUE
button5_bitmaps=..\bmps\16b_up.bmp,..\bmps\16b_dn.bmp,..\bmps\16b_mo.bmp,..\bmps\16b_mo.bmp
button5_cmdline=exe,..\..\plugins\plugin5\32plug5.exe
button5_text_title=Plug-in5
button5_text_body=descriptive text
button5_offset=
button5_netscape_required=TRUE
button6_bitmaps=..\bmps\16b_up.bmp,..\bmps\16b_dn.bmp,..\bmps\16b_mo.bmp,..\bmps\16b_mo.bmp
button6_cmdline=exe,..\..\plugins\plugin6\32plug6.exe
button6_text_title=Plug-in6
button6_text_body=descriptive text
button6_offset=
button6_netscape_required=TRUE
;----------------------------------------------------------

View File

@@ -0,0 +1,165 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <iostream.h>
#include <fstream.h>
#include <windows.h>
#include <ctype.h>
//#include <globalheader.h>
typedef struct
{
int width;
int height;
} DIMENSION;
typedef struct
{
char name[50];
char value[50];
char type[20];
DIMENSION size;
POINT location;
char options[20];
} widget;
widget ptr_ga[1000];
int isnum(char valuestring[50]);
int isnum(char valuestring[50])
{
//cout << "this is the value string " << valuestring << "\n";
for (int i=0; i < (strlen(valuestring)); i++)
{ if(!isdigit(valuestring[i]))
{//cout << "this is the string char " <<valuestring[i] <<"\n";
return 0;
}
}
return 1;
}
char *GetGlobal (char *fname);
char *GetGlobal (char *fname)
{
for (int i=0;i<1000;i++)
{
if (strcmp (fname, ptr_ga[i].name) == 0)
return (ptr_ga[i].value);
}
cout << ("error:variable not found \n");
return NULL;
}
int main(int argc, char *argv[])
{
int i = 0;
ifstream myin("test.dat");
ifstream prefin("pref.dat");
ofstream myout("out.js");
if(!myin) {
cout << "cannot open the file \n";
return 1;
}
while (!myin.eof()) {
myin >> ptr_ga[i].name >> ptr_ga[i].value ;
// cout << ptr_ga[i].name <<","<< ptr_ga[i].value <<"\n";
i++;
}
myin.close();
if(!myout) {
cout << "cannot open the file \n";
return 1;
}
if (argc == 1)
{
char prefer [7];
char prefname[50];
char pref1[5];
char pref2[7];
char bool1[5];
char bool2[6];
if(!prefin) {
cout << "cannot open the file \n";
return 1;
}
while (!prefin.eof()) {
prefin >> prefer >> prefname ;
// cout <<"This is "<< prefer << " and " << prefname << "\n";
i++;
strcpy(pref1, "pref");
strcpy(pref2, "config");
strcpy(bool1, "true");
strcpy(bool2, "false");
if (strcmp(prefer,pref1) ==0)
{
// cout << "inside the def pref \n";
if (GetGlobal(prefname)!= NULL)
{ if (( strcmp (GetGlobal(prefname), bool1) == 0)|| ( strcmp (GetGlobal(prefname), bool2)== 0) || (isnum (GetGlobal(prefname))))
{ //cout << "the current value is " <<GetGlobal(prefname)<<"\n";
myout<< "defaultPref(\"" << prefname << "\", " <<GetGlobal(prefname) <<");\n";
}
else
myout<< "defaultPref(\"" << prefname << "\", \"" <<GetGlobal(prefname) <<"\");\n";
}
else
cout << prefname << " is not found \n";
}
else if (strcmp(prefer,pref2) ==0)
{
// cout << "inside the config \n";
if (GetGlobal(prefname)!= NULL)
{ if (( strcmp (GetGlobal(prefname), bool1) == 0)|| ( strcmp (GetGlobal(prefname), bool2) == 0) || (isnum (GetGlobal(prefname))))
{//cout << "the value of isnum is " << isnum <<"\n";
//cout << "the curretn value is "<<GetGlobal(prefname)<<"\n";
myout<< "config(\"" << prefname << "\", " <<GetGlobal(prefname) <<");\n";
}
else
myout<< "config(\"" << prefname << "\", \"" <<GetGlobal(prefname) <<"\");\n";
}
else
cout << prefname << " is not found \n";
}
}
}
myout.close();
prefin.close();
return 1;
}

View File

@@ -0,0 +1,24 @@
#include <stdio.h>
#include <stdlib.h>
#define MD5_WORD unsigned int
union {
char bytes[4];
MD5_WORD n;
} u;
void main()
{
u.n=0x03020100;
if (u.bytes[0] == 3)
printf("#define MD5_BIG_ENDIAN\n");
else if (u.bytes[0] == 0)
printf("#define MD5_LITTLE_ENDIAN\n");
else
{
printf("#error No endians!\n");
exit(1);
}
exit (0);
}

View File

@@ -0,0 +1 @@
#define IS_LITTLE_ENDIAN

View File

@@ -0,0 +1,249 @@
//#define MD 5
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <string.h>
#include <sys/types.h>
//#include "global.h"
//#include "md5.h"
//#include "md5c.c"
//#include "nsMsgMD5.h"
//#define MD5_LENGTH 16
#define OBSCURE_CODE 7
const void *nsMsgMD5Digest(const void *msg, unsigned int len);
static void MDString (unsigned char *, char *);
//static void MDFile (unsigned char *, char *);
static void MDPrint (char *, char *, unsigned char *, long);
void obscure (const char *, char *, int);
//#define MD_CTX MD5_CTX
//#define MDInit MD5Init
//#define MDUpdate MD5Update
//#define MDFinal MD5Final
// Main driver.
short bflag = 1; /* 1 == print sums in binary */
int main (argc, argv)
int argc;
char *argv[];
{
char outputfile[] = "netscape.cfg";
unsigned char* digest;//[MD5_LENGTH];
long f_size=0;
int index=0;
int num=0;
char *file_buffer;
char *hash_input;
char final_buf[50];
char final_hash[49];
char *magic_key = "VonGloda5652TX75235ISBN";
unsigned int key_len =(strlen (magic_key)+1);
FILE *outp;
FILE *input_file;
unsigned int len_buffer;
printf ("before opening the file \n");
if ((input_file = fopen (argv[1], "rb")) == NULL){
printf ("%s can't be opened for reading\n", argv[1]);
} else { printf ("after opening the file \n");
fseek(input_file, 0,2);
f_size = ftell(input_file);
fseek (input_file,0,0);
file_buffer = (char *) malloc (f_size);
hash_input = (char *) malloc (f_size +key_len);
fread (file_buffer,1,f_size,input_file);
file_buffer[f_size]=NULL;
printf ("%s is the statement \n", magic_key);
strcpy (hash_input , file_buffer);
printf ("%s is 2 hash input statement \n",hash_input);
// printf ("%s\n",file_buffer);
// strncat (hash_input,magic_key,key_len);
// printf ("%s is 1 hash input statement \n",hash_input);
// printf ("%d is the length \n", strlen(hash_input));
hash_input[strlen(hash_input)]=NULL;
}
if (argc > 1) {
// MDFile (digest,argv[1]);
// MDString (digest, file_buffer);
digest = (unsigned char *)nsMsgMD5Digest(hash_input, strlen(hash_input));
printf("%s is the digest \n", digest);
for (index =0; index <16;++index)
{
strcpy(&(final_hash[3*index])," ");
num=digest[index];
// printf("the num is %d and the dig is %s\n", num,&(digest[index]));
sprintf(&(final_hash[(3*index)+1]),"%0.2x",num);
// printf ("inside the for %s and the index %d \n", &(final_hash[3*index]), index);
}
final_hash[48]=NULL;
// printf("the hashed output is %s\n", final_hash);
strncpy (final_buf, "//",2);
final_buf[2]=NULL;
// printf ("the final hex %0.2x \n", "b");
strncat(final_buf,final_hash,48);
// printf ("the final buf %s\n",final_buf);
final_buf[50]=NULL;
printf ("%s is the final buffer \n",final_buf);
MDPrint (outputfile, file_buffer, final_buf,f_size);
} else {
printf("Usage: md5 <file> \n");
}
//free(file_buffer);
return (0);
}
// To convert to Hex String
/*void HexConvert(digest, final_hash)
{
char *tuple;
char *map ="000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff";
char *output = final_hash;
int index=0;
for (index =0; index <16;++index)
{
char *tuple =map[digest[index]];
*output++ = *tuple++;
*output++ = *tuple++;
}
*output ='\0';
}
*/
// Digests a file and prints the result.
/*static void MDFile (digest, filename)
unsigned char *digest;
char *filename;
{
FILE *file;
MD_CTX context;
int len;
unsigned char buffer[1024];
unsigned char magic_key[] = "VonGloda5652TX75235ISBN\0";
unsigned int key_len =strlen (magic_key);
if ((file = fopen (filename, "rb")) == NULL)
printf ("%s can't be opened\n", filename);
else {
MDInit (&context);
MDUpdate (&context, magic_key, key_len);
while (len = fread (buffer, 1, 1024, file))
MDUpdate (&context, buffer, len);
MDFinal (digest, &context);
fclose (file);
}
}
*/
// Digests a string and prints the result.
/*
static void MDString (digest, str)
unsigned char *digest;
char *str;
{
MD_CTX context;
unsigned int len = strlen (str);
unsigned char *magic_key = "VonGloda5652TX75235ISBN";
unsigned int key_len =(strlen (magic_key)+1);
MDInit (&context);
MDUpdate (&context, magic_key, key_len);
MDUpdate (&context, str, len);
MDFinal (digest, &context);
}
*/
void obscure (input, obscured, len)
const char *input;
char *obscured;
int len;
{
int i;
for (i = 0; i < len; i++) {
obscured[i] = (input[i] + OBSCURE_CODE) ;
}
obscured[len] = '\0';
}
/* Prints a message digest in hexadecimal or binary.
*/
static void MDPrint (outfile, file_buffer, final_buf, f_size)
char *outfile;
char *file_buffer;
unsigned char *final_buf;
//long file_size;
{
FILE *outp;
int len;
unsigned char buffer[1024];
char obscured[2000];
//printf("inside the mdprint \n");
if ((outp = fopen (outfile, "wb")) == NULL) {
printf ("%s can't be opened for writing\n", outfile);
} else {
if (bflag) {
// print in obscured digest
obscure(final_buf, obscured, 50);
printf ("finished first obscure\n");
fprintf(outp, "%s", obscured);
printf("%s is the 1 obscured \n",obscured);
// print in obscured end of file
obscure("\n", obscured, 1);
fprintf(outp, "%s", obscured);
printf("%s is the 2 obscured \n",obscured);
//print in obscured file
obscure(file_buffer, obscured, f_size);
fprintf(outp, "%s",obscured);
// printf ("the digest length is %ld now \n",strlen(file_buffer));
printf("%s is the 3 obscured \n",obscured);
} else {/*
// print in hex
obscure(digest, obscured, MD5_LENGTH);
fprintf(outp, "%s\n", obscured);
// for (i = 0; i < MD5_LENGTH; i++) {
// fprintf (outp, "%02x ", digest[i]);
// }
//
// print in obscured digest
obscure("\n", obscured, 1);
fprintf(outp, "%s\n", obscured);
while(len = fread (buffer, 1, 1024, inpp)) {
obscure(buffer, obscured, 1024);
fprintf(outp, "%s", obscured);
}*/
}
fclose (outp);
// fclose (inpp);
}
}

View File

@@ -0,0 +1,197 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <iostream.h>
#include <fstream.h>
#include <windows.h>
#include <ctype.h>
//#include <globalheader.h>
typedef struct
{
int width;
int height;
} DIMENSION;
typedef struct
{
char name[50];
char value[50];
char type[20];
DIMENSION size;
POINT location;
char options[20];
} widget;
widget ptr_ga[1000];
int isnum(char valuestring[50]);
int isnum(char valuestring[50])
{
//cout << "this is the value string " << valuestring << "\n";
for (int i=0; i < (strlen(valuestring)); i++)
{ if(!isdigit(valuestring[i]))
{//cout << "this is the string char " <<valuestring[i] <<"\n";
return 0;
}
}
return 1;
}
char *GetGlobal (char *fname);
char *GetGlobal (char *fname)
{
for (int i=0;i<1000;i++)
{
if (strcmp (fname, ptr_ga[i].name) == 0)
return (ptr_ga[i].value);
}
cout << ("error:variable not found \n");
return NULL;
}
int main(int argc, char *argv[])
{
int i = 0;
ifstream myin("test.dat");
ifstream prefin("pref.dat");
ifstream addition("addition.js");
ofstream myout("out.js");
if(!myin) {
cout << "cannot open the file \n";
return 1;
}
while (!myin.eof()) {
myin >> ptr_ga[i].name >> ptr_ga[i].value ;
// cout << ptr_ga[i].name <<","<< ptr_ga[i].value <<"\n";
i++;
}
myin.close();
if(!myout) {
cout << "cannot open the file \n";
return 1;
}
if (argc == 1)
{
char prefer [7];
char prefname[50];
char pref1[5];
char pref2[7];
char bool1[5];
char bool2[6];
if(!prefin) {
cout << "cannot open the file \n";
return 1;
}
while (!prefin.eof()) {
prefin >> prefer >> prefname ;
// cout <<"This is "<< prefer << "and " << prefname << "\n";
i++;
strcpy(pref1, "pref");
strcpy(pref2, "config");
strcpy(bool1, "true");
strcpy(bool2, "false");
if (strcmp(prefer,pref1) ==0)
{
// cout << "inside the def pref \n";
if (GetGlobal(prefname)!= NULL)
{ if (( strcmp (GetGlobal(prefname), bool1) == 0)|| ( strcmp (GetGlobal(prefname), bool2)== 0) || (isnum (GetGlobal(prefname))))
{ //cout << "the current value is " <<GetGlobal(prefname)<<"\n";
myout<< "defaultPref(\"" << prefname << "\", " <<GetGlobal(prefname) <<");\n";
}
else
myout<< "defaultPref(\"" << prefname << "\", \"" <<GetGlobal(prefname) <<"\");\n";
}
else
cout << prefname << " is not found\n";
}
else if (strcmp(prefer,pref2) ==0)
{
// cout << "inside the config \n";
if (GetGlobal(prefname)!= NULL)
{ if (( strcmp (GetGlobal(prefname), bool1) == 0)|| ( strcmp (GetGlobal(prefname), bool2) == 0) || (isnum (GetGlobal(prefname))))
{//cout << "the value of isnum is " << isnum <<"\n";
//cout << "the curretn value is "<<GetGlobal(prefname)<<"\n";
myout<< "config(\"" << prefname << "\", " <<GetGlobal(prefname) <<");\n";
}
else
myout<< "config(\"" << prefname << "\", \"" <<GetGlobal(prefname) <<"\");\n";
}
else
cout << prefname << " is not found\n";
}
}
}
if(!addition) {
cout << "cannot open the file \n";
return 1;
}
while (!addition.eof()) {
char jsprefname[150];
addition.getline(jsprefname,150);
char *quote_ptr1;
char *quote_ptr2;
quote_ptr1 = strchr(jsprefname, '"');
quote_ptr2 = strchr((quote_ptr1+1), '"');
char jspref[100];
strncpy(jspref, (quote_ptr1 +1),(quote_ptr2-quote_ptr1-1));
jspref[(quote_ptr2-quote_ptr1-1)] = NULL;
// printf("%s \n", jsprefname);
// printf("%s \n", jspref);
// printf("%s \n", (quote_ptr1 +1));
// printf("%s \n", (quote_ptr2 +1));
if (GetGlobal(jspref)!= NULL)
//cout << "The preference \"" << jspref << "\" already exists.\n";
{ printf("the preference ");
printf("%s", jspref);
printf("already exists.\n");}
myout << jsprefname <<"\n";
}
myout.close();
addition.close();
return 1;
}

View File

@@ -0,0 +1,260 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* MD5 digest implementation
*
* contributed by mrsam@geocities.com
*
*/
/* for endian-ness */
//#include "prtypes.h"
#include "string.h"
//#include "nsMsgMD5.h"
#define MD5_BYTE unsigned char
#define MD5_WORD unsigned int
extern "C" const void *nsMsgMD5Digest(const void *msg, unsigned int len);
typedef union md5_endian {
//#ifdef IS_LITTLE_ENDIAN
MD5_WORD m_word;
struct {
MD5_BYTE m_0, m_1, m_2, m_3;
} m_bytes;
//#endif
/*#ifdef IS_BIG_ENDIAN
MD5_WORD m_word;
struct {
MD5_BYTE m_3, m_2, m_1, m_0;
} m_bytes;
#endif
*/ } ;
static const MD5_BYTE *m_msg;
static MD5_WORD m_msglen;
static MD5_WORD m_msgpaddedlen;
static MD5_BYTE m_pad[72];
static MD5_BYTE m_digest[16];
#define MD5_MSGBYTE(n) ((MD5_BYTE)((n) < m_msglen?m_msg[n]:m_pad[n-m_msglen]))
inline void MD5_MSGWORD(MD5_WORD &n, MD5_WORD i)
{
union md5_endian e;
i *= 4;
e.m_bytes.m_0=MD5_MSGBYTE(i); ++i;
e.m_bytes.m_1=MD5_MSGBYTE(i); ++i;
e.m_bytes.m_2=MD5_MSGBYTE(i); ++i;
e.m_bytes.m_3=MD5_MSGBYTE(i);
n=e.m_word;
}
inline MD5_WORD MD5_ROL(MD5_WORD w, int n)
{
return ( w << n | ( (w) >> (32-n) ) );
}
static MD5_WORD T[64]={
0xd76aa478, 0xe8c7b756, 0x242070db, 0xc1bdceee,
0xf57c0faf, 0x4787c62a, 0xa8304613, 0xfd469501,
0x698098d8, 0x8b44f7af, 0xffff5bb1, 0x895cd7be,
0x6b901122, 0xfd987193, 0xa679438e, 0x49b40821,
0xf61e2562, 0xc040b340, 0x265e5a51, 0xe9b6c7aa,
0xd62f105d, 0x2441453, 0xd8a1e681, 0xe7d3fbc8,
0x21e1cde6, 0xc33707d6, 0xf4d50d87, 0x455a14ed,
0xa9e3e905, 0xfcefa3f8, 0x676f02d9, 0x8d2a4c8a,
0xfffa3942, 0x8771f681, 0x6d9d6122, 0xfde5380c,
0xa4beea44, 0x4bdecfa9, 0xf6bb4b60, 0xbebfbc70,
0x289b7ec6, 0xeaa127fa, 0xd4ef3085, 0x4881d05,
0xd9d4d039, 0xe6db99e5, 0x1fa27cf8, 0xc4ac5665,
0xf4292244, 0x432aff97, 0xab9423a7, 0xfc93a039,
0x655b59c3, 0x8f0ccc92, 0xffeff47d, 0x85845dd1,
0x6fa87e4f, 0xfe2ce6e0, 0xa3014314, 0x4e0811a1,
0xf7537e82, 0xbd3af235, 0x2ad7d2bb, 0xeb86d391};
const void *nsMsgMD5Digest(const void *msg, unsigned int len)
{
MD5_WORD i,j;
union md5_endian e;
MD5_WORD hilen, lolen;
MD5_BYTE padlen[8];
m_msg=(const MD5_BYTE *)msg;
m_msglen=len;
m_msgpaddedlen = len+72;
m_msgpaddedlen &= ~63;
for (i=0; i<72; i++) m_pad[i]=0;
m_pad[0]=0x80;
lolen=len << 3;
hilen=len >> 29;
e.m_word=lolen;
padlen[0]=e.m_bytes.m_0;
padlen[1]=e.m_bytes.m_1;
padlen[2]=e.m_bytes.m_2;
padlen[3]=e.m_bytes.m_3;
e.m_word=hilen;
padlen[4]=e.m_bytes.m_0;
padlen[5]=e.m_bytes.m_1;
padlen[6]=e.m_bytes.m_2;
padlen[7]=e.m_bytes.m_3;
memcpy( &m_pad[m_msgpaddedlen - m_msglen - 8], padlen, 8);
MD5_WORD A=0x67452301;
MD5_WORD B=0xefcdab89;
MD5_WORD C=0x98badcfe;
MD5_WORD D=0x10325476;
#define F(X,Y,Z) ( ((X) & (Y)) | ( (~(X)) & (Z)))
#define G(X,Y,Z) ( ((X) & (Z)) | ( (Y) & (~(Z))))
#define H(X,Y,Z) ( (X) ^ (Y) ^ (Z) )
#define I(X,Y,Z) ( (Y) ^ ( (X) | (~(Z))))
MD5_WORD nwords= m_msgpaddedlen / 4, k=0;
MD5_WORD x[16];
for (i=0; i<nwords; i += 16)
{
for (j=0; j<16; j++)
{
MD5_MSGWORD(x[j],k);
++k;
}
MD5_WORD AA=A, BB=B, CC=C, DD=D;
#define ROUND1(a,b,c,d,k,s,i) \
a = b + MD5_ROL((a + F(b,c,d) + x[k] + T[i]),s)
ROUND1(A,B,C,D,0,7,0);
ROUND1(D,A,B,C,1,12,1);
ROUND1(C,D,A,B,2,17,2);
ROUND1(B,C,D,A,3,22,3);
ROUND1(A,B,C,D,4,7,4);
ROUND1(D,A,B,C,5,12,5);
ROUND1(C,D,A,B,6,17,6);
ROUND1(B,C,D,A,7,22,7);
ROUND1(A,B,C,D,8,7,8);
ROUND1(D,A,B,C,9,12,9);
ROUND1(C,D,A,B,10,17,10);
ROUND1(B,C,D,A,11,22,11);
ROUND1(A,B,C,D,12,7,12);
ROUND1(D,A,B,C,13,12,13);
ROUND1(C,D,A,B,14,17,14);
ROUND1(B,C,D,A,15,22,15);
#define ROUND2(a,b,c,d,k,s,i) \
a = b + MD5_ROL((a + G(b,c,d) + x[k] + T[i]),s)
ROUND2(A,B,C,D,1,5,16);
ROUND2(D,A,B,C,6,9,17);
ROUND2(C,D,A,B,11,14,18);
ROUND2(B,C,D,A,0,20,19);
ROUND2(A,B,C,D,5,5,20);
ROUND2(D,A,B,C,10,9,21);
ROUND2(C,D,A,B,15,14,22);
ROUND2(B,C,D,A,4,20,23);
ROUND2(A,B,C,D,9,5,24);
ROUND2(D,A,B,C,14,9,25);
ROUND2(C,D,A,B,3,14,26);
ROUND2(B,C,D,A,8,20,27);
ROUND2(A,B,C,D,13,5,28);
ROUND2(D,A,B,C,2,9,29);
ROUND2(C,D,A,B,7,14,30);
ROUND2(B,C,D,A,12,20,31);
#define ROUND3(a,b,c,d,k,s,i) \
a = b + MD5_ROL((a + H(b,c,d) + x[k] + T[i]),s)
ROUND3(A,B,C,D,5,4,32);
ROUND3(D,A,B,C,8,11,33);
ROUND3(C,D,A,B,11,16,34);
ROUND3(B,C,D,A,14,23,35);
ROUND3(A,B,C,D,1,4,36);
ROUND3(D,A,B,C,4,11,37);
ROUND3(C,D,A,B,7,16,38);
ROUND3(B,C,D,A,10,23,39);
ROUND3(A,B,C,D,13,4,40);
ROUND3(D,A,B,C,0,11,41);
ROUND3(C,D,A,B,3,16,42);
ROUND3(B,C,D,A,6,23,43);
ROUND3(A,B,C,D,9,4,44);
ROUND3(D,A,B,C,12,11,45);
ROUND3(C,D,A,B,15,16,46);
ROUND3(B,C,D,A,2,23,47);
#define ROUND4(a,b,c,d,k,s,i) \
a = b + MD5_ROL((a + I(b,c,d) + x[k] + T[i]),s)
ROUND4(A,B,C,D,0,6,48);
ROUND4(D,A,B,C,7,10,49);
ROUND4(C,D,A,B,14,15,50);
ROUND4(B,C,D,A,5,21,51);
ROUND4(A,B,C,D,12,6,52);
ROUND4(D,A,B,C,3,10,53);
ROUND4(C,D,A,B,10,15,54);
ROUND4(B,C,D,A,1,21,55);
ROUND4(A,B,C,D,8,6,56);
ROUND4(D,A,B,C,15,10,57);
ROUND4(C,D,A,B,6,15,58);
ROUND4(B,C,D,A,13,21,59);
ROUND4(A,B,C,D,4,6,60);
ROUND4(D,A,B,C,11,10,61);
ROUND4(C,D,A,B,2,15,62);
ROUND4(B,C,D,A,9,21,63);
A += AA;
B += BB;
C += CC;
D += DD;
}
union md5_endian ea, eb, ec, ed;
ea.m_word=A;
eb.m_word=B;
ec.m_word=C;
ed.m_word=D;
m_digest[0]=ea.m_bytes.m_0;
m_digest[1]=ea.m_bytes.m_1;
m_digest[2]=ea.m_bytes.m_2;
m_digest[3]=ea.m_bytes.m_3;
m_digest[4]=eb.m_bytes.m_0;
m_digest[5]=eb.m_bytes.m_1;
m_digest[6]=eb.m_bytes.m_2;
m_digest[7]=eb.m_bytes.m_3;
m_digest[8]=ec.m_bytes.m_0;
m_digest[9]=ec.m_bytes.m_1;
m_digest[10]=ec.m_bytes.m_2;
m_digest[11]=ec.m_bytes.m_3;
m_digest[12]=ed.m_bytes.m_0;
m_digest[13]=ed.m_bytes.m_1;
m_digest[14]=ed.m_bytes.m_2;
m_digest[15]=ed.m_bytes.m_3;
return (m_digest);
}

View File

@@ -1,20 +1,45 @@
/*
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Mozilla Communicator client code.
*
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
*
* Contributor(s):
*/
/*
* MD5 digest implementation
*
* contributed by sam@email-scan.webcircle.com
*/
//#ifndef __nsMsgMD5_h
//#define __nsMsgMD5_h
//#include "nscore.h"
//NS_BEGIN_EXTERN_C
//
// RFC 1321 MD5 Message digest calculation.
//
// Returns a pointer to a sixteen-byte message digest.
//
const void *nsMsgMD5Digest(const void *msg, unsigned int len);
//NS_END_EXTERN_C
//#endif

View File

@@ -0,0 +1,58 @@
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
;
; The contents of this file are subject to the Netscape Public
; License Version 1.1 (the "License"); you may not use this file
; except in compliance with the License. You may obtain a copy of
; the License at http://www.mozilla.org/NPL/
;
; Software distributed under the License is distributed on an "AS
; IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
; implied. See the License for the specific language governing
; rights and limitations under the License.
;
; The Original Code is mozilla.org code.
;
; The Initial Developer of the Original Code is Netscape
; Communications Corporation. Portions created by Netscape are
; Copyright (C) 1998 Netscape Communications Corporation. All
; Rights Reserved.
;
; Contributor(s):
;
[Dial-In Configuration]
SiteName=<Your Site Name>
Description=<Description>
Phone=<Phone number to dial>
SupportPhone=<Support number in TAPI format>
[Services]
SMTP_Server=
POP_Server=
IMAP_Server=
Default_Mail_Protocol=
NNTP_Server=
LDAP_Server=
[IP]
IPAddress=
DomainName=
DNSAddress=
DNSAddress2=
[Proxy Settings]
ProxyEnabled=<Yes/No>
AutomaticProxyURL=
FTPProxy=
FTPProxyPort=
GopherProxy=
GopherProxyPort=
HTTPProxy=
HTTPProxyPort=
SecurityProxy=
SecurityProxyPort=
WAISProxy=
WAISProxyPort=
SOCKSHost=
SOCKSHostPort=
DirectAccessURLs=

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

View File

@@ -1,20 +1,21 @@
/*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
/*
* The contents of this directory are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use the files in this directory
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Mozilla Communicator client code.
*
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
*
* Contributor(s):
*/

View File

@@ -0,0 +1,29 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
DEPTH=..\..\..
include <$(DEPTH)\config\rules.mak>
include <$(DEPTH)\cck\InitDist.win>
export::
$(MAKE_INSTALL) *.bmp $(CCKDIST)\CCKTool\BitMaps

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 KiB

View File

@@ -0,0 +1,35 @@
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
;
; The contents of this file are subject to the Netscape Public
; License Version 1.1 (the "License"); you may not use this file
; except in compliance with the License. You may obtain a copy of
; the License at http://www.mozilla.org/NPL/
;
; Software distributed under the License is distributed on an "AS
; IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
; implied. See the License for the specific language governing
; rights and limitations under the License.
;
; The Original Code is mozilla.org code.
;
; The Initial Developer of the Original Code is Netscape
; Communications Corporation. Portions created by Netscape are
; Copyright (C) 1998 Netscape Communications Corporation. All
; Rights Reserved.
;
; Contributor(s):
;
[Local Variables]
Name=Branding
Title=Branding Cutomizations
Caption=1st level node
Help=Online;http://www.mozilla.org/projects/cck/
[Navigation Controls]
onNext=
Help=Branding.txt
[Sub Pages]
Branding_page2=show

View File

@@ -0,0 +1,234 @@
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
;
; The contents of this file are subject to the Netscape Public
; License Version 1.1 (the "License"); you may not use this file
; except in compliance with the License. You may obtain a copy of
; the License at http://www.mozilla.org/NPL/
;
; Software distributed under the License is distributed on an "AS
; IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
; implied. See the License for the specific language governing
; rights and limitations under the License.
;
; The Original Code is mozilla.org code.
;
; The Initial Developer of the Original Code is Netscape
; Communications Corporation. Portions created by Netscape are
; Copyright (C) 1998 Netscape Communications Corporation. All
; Rights Reserved.
;
; Contributor(s):
;
[Local Variables]
Name=Branding_page1
Title=<%CustomizationList%> - Customize the %DefaultName% Browser - Part One
Caption=2nd level node
;Help=Online;http://www.mozilla.org/projects/cck/
Help=Online;%Root%CCKHelp\brandingpage1.html
[Navigation Controls]
onNext=
Help=Branding1_Help.ini
[Image 1]
Type=Image
Name=banner3.bmp
Value=
Start_x=0
Start_y=0
Width=425
Height=56
[Widget 4]
Type=BoldGroup
Name=GroupBox7
Value=Animated Logo
Start_x=0
Start_y=32
Width=407
Height=115
[Widget 563]
Type=Text
Name=Text563
Value=Logo Button URL:
Start_x=11
Start_y=60
Width=65
Height=11
[Widget 554]
Type=Text
Name=Text542
Value=Enter the URL that users will go to when they click the animated logo button.
Start_x=11
Start_y=45
Width=250
Height=10
[Widget 6]
Type=EditBox
Name=AnimatedLogoURL
Value=
Start_x=80
Start_y=57
Width=230
Height=15
[Widget 7]
Type=DynamicText
Name=LargeAnimPath
Value=
Start_x=11
Start_y=93
Width=200
Height=15
[Widget 972]
Type=DynamicText
Name=LargeStillPath
Value=
Start_x=11
Start_y=125
Width=200
Height=15
[Widget 845]
Type=Button
Name=Button1975
Value=View File
Start_x=300
Start_y=93
Width=40
Height=14
onCommand=OpenURL(%LargeAnimPath%)
[Widget 970]
Type=Button
Name=Button1279
Value=Choose File...
Start_x=346
Start_y=93
Width=50
Height=14
onCommand=BrowseFile()
Target=LargeAnimPath
[Widget 19]
Type=Button
Name=Button122
Value=Show Example
Start_x=336
Start_y=57
Width=60
Height=14
onCommand=DisplayImage(button.ini)
[Widget 12]
Type=Text
Name=Text54
Value=Path to Your Animated GIF File (32 x 32 pixels):
Start_x=11
Start_y=80
Width=160
Height=12
[Widget 971]
Type=Text
Name=Text536
Value=Path to Your At Rest GIF File (32 x 32 pixels):
Start_x=11
Start_y=112
Width=160
Height=12
[Widget 892]
Type=Button
Name=Button198
Value=View File
Start_x=300
Start_y=125
Width=40
Height=14
onCommand=OpenURL(%LargeStillPath%)
[Widget 973]
Type=Button
Name=Button1239
Value=Choose File...
Start_x=346
Start_y=125
Width=50
Height=14
onCommand=BrowseFile()
Target=LargeStillPath
[Widget 5]
Type=Text
Name=Text81
Value=You can add an item to the Help Menu which provides a link to your online customer support page.
Start_x=11
Start_y=164
Width=350
Height=9
[Widget 796]
Type=Text
Name=Text825
Value=Menu Item Text:
Start_x=11
Start_y=175
Width=199
Height=10
[Widget 638]
Type=EditBox
Name=HelpMenuCommandName
Value=
Start_x=11
Start_y=185
Width=258
Height=14
[Widget 20]
Type=Button
Name=Button119
Value=Show Example
Start_x=336
Start_y=212
Width=60
Height=14
onCommand=DisplayImage(help.ini)
[Widget 317]
Type=Text
Name=Text82
Value=Help Menu Item URL:
Start_x=11
Start_y=201
Width=199
Height=10
[Widget 8]
Type=EditBox
Name=HelpMenuCommandURL
Value=
Start_x=11
Start_y=211
Width=257
Height=14
[Widget 9]
Type=BoldGroup
Name=GroupBox13
Value=Help Menu
Start_x=0
Start_y=153
Width=407
Height=79

View File

@@ -0,0 +1,253 @@
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
;
; The contents of this file are subject to the Netscape Public
; License Version 1.1 (the "License"); you may not use this file
; except in compliance with the License. You may obtain a copy of
; the License at http://www.mozilla.org/NPL/
;
; Software distributed under the License is distributed on an "AS
; IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
; implied. See the License for the specific language governing
; rights and limitations under the License.
;
; The Original Code is mozilla.org code.
;
; The Initial Developer of the Original Code is Netscape
; Communications Corporation. Portions created by Netscape are
; Copyright (C) 1998 Netscape Communications Corporation. All
; Rights Reserved.
;
; Contributor(s):
;
[Local Variables]
Name=Branding_page2
Title=<%CustomizationList%> - Customize the CD Autorun Screen
Caption=2nd level node
;Help=Online;http://www.mozilla.org/projects/cck/
Help=Online;%Root%CCKHelp\brandingpage2.html
[Navigation Controls]
onNext=
onEnter=VerifyVal(%CD image%,0)
Help=Branding2_help.ini
[Image 1]
Type=Image
Name=banner7.bmp
Value=
Start_x=0
Start_y=0
Width=425
Height=56
[Widget 1]
Type=GlobalText
Name=Text59
Value=The CD Autorun screen appears when the user inserts a %DefaultName% CD into their computer's CD-ROM drive. You can customize the background bitmap image that appears on the CD Autorun screen, as well as the text and installation instructions.
Start_x=0
Start_y=32
Width=400
Height=30
[Widget 2]
Type=BoldGroup
Name=GroupBox8
Value=Title Bar Text
Start_x=0
Start_y=106
Width=407
Height=77
[Widget 5]
Type=BoldGroup
Name=GroupBox9
Value=Background Bitmap
Start_x=0
Start_y=54
Width=407
Height=50
[Widget 10]
Type=GlobalText
Name=Text6512
Value=The size of your bitmap (.BMP format) image determines the size of the CD Autorun screen. %DefaultName% recommends a bitmap size of 640 x 480 pixels. Path to your bitmap image:
Start_x=11
Start_y=65
Width=380
Height=20
[Widget 6]
Type=DynamicText
Name=ShellBgBitmap
Value=
Start_x=12
Start_y=86
Width=200
Height=14
[Widget 7]
Type=Button
Name=Button13
Value=Choose File...
Start_x=285
Start_y=83
Width=50
Height=14
onCommand=BrowseFile()
Target=ShellBgBitmap
[Widget 768]
Type=Button
Name=Button1353
Value=View File
Start_x=240
Start_y=83
Width=40
Height=14
onCommand=OpenViewer(%ShellBgBitmap%)
[Widget 21]
Type=Button
Name=Button127
Value=Show Example
Start_x=340
Start_y=83
Width=60
Height=14
onCommand=DisplayImage(shell1.ini)
[Widget 3]
Type=GlobalText
Name=Text60
Value=Enter the text (for example, your company name) that you want to appear after the string "%DefaultName% by" in the title bar.
Start_x=11
Start_y=118
Width=380
Height=15
[Widget 8962]
Type=GlobalText
Name=Text6148
Value=%DefaultName% by
Start_x=11
Start_y=133
Width=45
Height=10
[Widget 4]
Type=EditBox
Name=ShellTitleText
Value=
Start_x=57
Start_y=131
Width=228
Height=14
[Widget 23]
Type=Button
Name=Button123
Value=Show Example
Start_x=340
Start_y=160
Width=60
Height=14
onCommand=DisplayImage(shell2.ini)
[Widget 8]
Type=Text
Name=Text61
Value=Display This Text Below the Title Bar:
Start_x=11
Start_y=149
Width=210
Height=10
[Widget 9]
Type=EditBox
Name=ShellBelowTitleText
Value=
Start_x=12
Start_y=160
Width=272
Height=14
[Widget 12]
Type=BoldGroup
Name=GroupBox10
Value=Custom Installation Text File
Start_x=0
Start_y=187
Width=407
Height=59
[Widget 13]
Type=Text
Name=Text6064
Value=When the user clicks the Installation Guide button, your customized installation instructions will appear.
Start_x=11
Start_y=200
Width=386
Height=16
[Widget 14]
Type=Text
Name=Text65
Value=Path to Installation Text File (install.txt):
Start_x=12
Start_y=212
Width=148
Height=12
[Widget 15]
Type=DynamicText
Name=ShellInstallTextFile
Value=
Start_x=12
Start_y=223
Width=200
Height=14
[Widget 728]
Type=Button
Name=Button1383
Value=View File
Start_x=240
Start_y=223
Width=40
Height=14
onCommand=command(%NCIFileEditor% "%ShellInstallTextFile%")
[Widget 16]
Type=Button
Name=Button14
Value=Choose File...
Start_x=285
Start_y=223
Width=50
Height=14
onCommand=BrowseFile()
Target=ShellInstallTextFile
[Widget 22]
Type=Button
Name=Button125
Value=Show Example
Start_x=340
Start_y=223
Width=60
Height=14
onCommand=DisplayImage(shell4.ini)

View File

@@ -0,0 +1,218 @@
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
;
; The contents of this file are subject to the Netscape Public
; License Version 1.1 (the "License"); you may not use this file
; except in compliance with the License. You may obtain a copy of
; the License at http://www.mozilla.org/NPL/
;
; Software distributed under the License is distributed on an "AS
; IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
; implied. See the License for the specific language governing
; rights and limitations under the License.
;
; The Original Code is mozilla.org code.
;
; The Initial Developer of the Original Code is Netscape
; Communications Corporation. Portions created by Netscape are
; Copyright (C) 1998 Netscape Communications Corporation. All
; Rights Reserved.
;
; Contributor(s):
;
[Local Variables]
Name=Branding_page3
Title=<%CustomizationList%> - Customize Internet Setup - Part Two
Caption=1st level node
Help=Online;http://www.mozilla.org/projects/cck/
[Navigation Controls]
onNext=
Help=Branding3_help.ini
[Image 1]
Type=Image
Name=banner8.bmp
Value=
Start_x=0
Start_y=0
Width=425
Height=56
[Widget 1931]
Type=Text
Name=Text7053
Value=Internet Setup lets users easily create new Internet accounts or set up Netscape to connect to an existing account.
Start_x=0
Start_y=32
Width=400
Height=15
[Widget 1]
Type=Text
Name=Text70
Value=Internet Setup will display your logo graphic.
Start_x=11
Start_y=58
Width=360
Height=13
[Widget 2]
Type=DynamicText
Name=IntSetupBgBitmap
Value=
Start_x=11
Start_y=86
Width=200
Height=15
[Widget 362]
Type=Button
Name=Button169
Value=View File...
Start_x=231
Start_y=86
Width=50
Height=14
onCommand=OpenViewer(%IntSetupBgBitmap%)
[Widget 3]
Type=Button
Name=Button16
Value=Choose File...
Start_x=285
Start_y=86
Width=50
Height=14
onCommand=BrowseFile()
Target=IntSetupBgBitmap
[Widget 15]
Type=Button
Name=Button128
Value=Show Example
Start_x=339
Start_y=86
Width=60
Height=14
onCommand=DisplayImage(accnt1.ini)
[Widget 4]
Type=Text
Name=Text71
Value=Internet Setup will display your company name.
Start_x=11
Start_y=128
Width=266
Height=12
[Widget 4917]
Type=Text
Name=Text7194
Value=Enter Your Company Name:
Start_x=11
Start_y=141
Width=266
Height=12
[Widget 5]
Type=EditBox
Name=Company_Name
Value=
Start_x=11
Start_y=152
Width=245
Height=15
[Widget 16]
Type=Button
Name=Button129
Value=Show Example
Start_x=339
Start_y=152
Width=60
Height=14
onCommand=DisplayImage(accnt3.ini)
[Widget 689]
Type=Text
Name=Text721
Value=Path to Logo Graphic (.gif) file (pixel dimensions):
Start_x=11
Start_y=71
Width=366
Height=10
[Widget 9]
Type=Text
Name=Text75
Value=Internet Setup will display your technical support phone number.
Start_x=11
Start_y=193
Width=300
Height=9
[Widget 4993]
Type=Text
Name=Text7539
Value=Enter Your Technical Support Phone Number:
Start_x=11
Start_y=206
Width=300
Height=9
[Widget 10]
Type=EditBox
Name=TechSupportNumber
Value=
Start_x=11
Start_y=218
Width=246
Height=15
[Widget 17]
Type=Button
Name=Button130
Value=Show Example
Start_x=339
Start_y=218
Width=60
Height=14
onCommand=DisplayImage(accnt2.ini)
[Widget 6435]
Type=BoldGroup
Name=GroupBox1
Value=Logo Graphic
Start_x=0
Start_y=45
Width=407
Height=65
[Widget 653]
Type=BoldGroup
Name=GroupBox2
Value=Company Name
Start_x=0
Start_y=115
Width=407
Height=60
[Widget 923]
Type=BoldGroup
Name=GroupBox313
Value=Technical Support Phone Number
Start_x=0
Start_y=180
Width=407
Height=60

View File

@@ -0,0 +1,100 @@
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
;
; The contents of this file are subject to the Netscape Public
; License Version 1.1 (the "License"); you may not use this file
; except in compliance with the License. You may obtain a copy of
; the License at http://www.mozilla.org/NPL/
;
; Software distributed under the License is distributed on an "AS
; IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
; implied. See the License for the specific language governing
; rights and limitations under the License.
;
; The Original Code is mozilla.org code.
;
; The Initial Developer of the Original Code is Netscape
; Communications Corporation. Portions created by Netscape are
; Copyright (C) 1998 Netscape Communications Corporation. All
; Rights Reserved.
;
; Contributor(s):
;
[Local Variables]
Name=Branding_page4
Title=<%CustomizationList%> - Customize the Installer
Caption=1st level node
;Help=Online;http://www.mozilla.org/projects/cck/
Help=Online;%Root%CCKHelp\brandingpage4.html
[Navigation Controls]
onNext=wizard.CreateJSFile()
Help=Branding4_help.ini
[Image 1]
Type=Image
Name=banner6.bmp
Value=
Start_x=0
Start_y=0
Width=425
Height=56
[Widget 60643]
Type=BoldGroup
Name=GroupBox5895
Value=Installer Background Text
Start_x=0
Start_y=32
Width=407
Height=77
[Widget 3]
Type=Text
Name=Text24
Value=The Installer background text appears in the background during installation. You can customize the second and third lines of text.
Start_x=11
Start_y=44
Width=350
Height=15
[Widget 2]
Type=GlobalText
Name=Text347
Value=%DefaultName% 6 Setup
Start_x=11
Start_y=64
Width=150
Height=10
[Widget 4]
Type=EditBox
Name=InstallerScreenText1
Value=
Start_x=11
Start_y=75
Width=217
Height=14
[Widget 5]
Type=EditBox
Name=InstallerScreenText2
Value=
Start_x=11
Start_y=88
Width=217
Height=14
[Widget 16]
Type=Button
Name=InstButton133
Value=Show Example
Start_x=339
Start_y=89
Width=60
Height=14
onCommand=DisplayImage(inst.ini)

View File

@@ -0,0 +1,32 @@
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
;
; The contents of this file are subject to the Netscape Public
; License Version 1.1 (the "License"); you may not use this file
; except in compliance with the License. You may obtain a copy of
; the License at http://www.mozilla.org/NPL/
;
; Software distributed under the License is distributed on an "AS
; IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
; implied. See the License for the specific language governing
; rights and limitations under the License.
;
; The Original Code is the Client Customization Kit.
;
; The Initial Developer of the Original Code is Netscape
; Communications Corporation. Portions created by Netscape are
; Copyright (C) 1998 Netscape Communications Corporation. All Rights
; Reserved.
;
[Local Variables]
Name=Installer
Title=Installer
Caption=1st level node
[Navigation Controls]
onNext=
Help=Installer.txt
[Sub Pages]
Build_page1=Show
Build_page2=show

View File

@@ -0,0 +1,233 @@
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
;
; The contents of this file are subject to the Netscape Public
; License Version 1.1 (the "License"); you may not use this file
; except in compliance with the License. You may obtain a copy of
; the License at http://www.mozilla.org/NPL/
;
; Software distributed under the License is distributed on an "AS
; IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
; implied. See the License for the specific language governing
; rights and limitations under the License.
;
; The Original Code is mozilla.org code.
;
; The Initial Developer of the Original Code is Netscape
; Communications Corporation. Portions created by Netscape are
; Copyright (C) 1998 Netscape Communications Corporation. All
; Rights Reserved.
;
; Contributor(s):
;
[Local Variables]
Name=CheckList
Title=Welcome to the %DefaultName% Client Customization Kit
Caption=1st level node
;Help=Online;http://www.mozilla.org/projects/cck/
Help=Online;%Root%CCKHelp\checklist.html
[Navigation Controls]
onEnter=Reload(%Root%);
onNext=VerifySet(%CustomizationList%,Choose an existing configuration or create a new one);Reload(%Root%Configs\%CustomizationList%)
Help=ChecklistHelp.ini
[Image 1]
Type=Image
Name=banner1.bmp
Value=
Start_x=0
Start_y=0
Width=425
Height=56
[Widget 19]
Type=Button
Name=Button142
Value=New Configuration...
Start_x=230
Start_y=218
Width=77
Height=17
onCommand=wizard.NewConfig(_NewConfigName);GenerateDirList(CustomizationList,%Root%Configs\*.*);SelectItem(%_NewConfigName%)
target=CustomizationList
[Widget 1]
Type=GlobalText
Name=Text31
Value=This tool helps you create customized CD- and Network-ready %DefaultName% installers that you can distribute to your users.
Start_x=0
Start_y=32
Width=380
Height=11
[Widget 2]
Type=BoldGroup
Name=GroupBox2865
Value=Before You Begin
Start_x=0
Start_y=44
Width=407
Height=115
[Widget 4]
Type=ComboBox
Name=CustomizationList
Value=
Start_x=7
Start_y=220
Width=115
Height=99
subsection=Options for ComboBox1
onInit=GenerateDirList(self,%Root%Configs\*.*)
onCommand=toggleEnabled2(%CustomizationList%,Button8);WriteCache(CustomizationList)
[Options for ComboBox1]
[Widget 5]
Type=Text
Name=Text34
Value=Select an existing configuration, or click "New Configuration" to create a new installer configuration and workspace in which to store your custom files. To edit an existing configuration without overwriting the original configuration, select it from the list and click "Create a Copy".
Start_x=8
Start_y=179
Width=390
Height=25
[Widget 6]
Type=Text
Name=Text35
Value=* Bookmarks (bookmark.html) file
Start_x=19
Start_y=67
Width=123
Height=9
[Widget 7]
Type=Text
Name=Text36
Value=* Read Me file
Start_x=19
Start_y=89
Width=200
Height=9
[Widget 8]
Type=Text
Name=Text37
Value=* Custom animation files for browser's animated logo
Start_x=19
Start_y=78
Width=250
Height=9
[Widget 9]
Type=Text
Name=Text38
Value=* Background bitmap for CD Autorun screen (for CD-based installers)
Start_x=19
Start_y=110
Width=300
Height=11
[Widget 10]
Type=Text
Name=Text39
Value=* Custom sidebar panels file (panels.rdf)
Start_x=19
Start_y=99
Width=200
Height=9
[Widget 11]
Type=Text
Name=Text40
Value=* Custom installation instructions (for CD-based installers)
Start_x=19
Start_y=121
Width=300
Height=11
;[Widget 12]
Type=Text
Name=Text41
Value=1. Decide on the type of installer(s) you want to create:
Start_x=7
Start_y=50
Width=206
Height=10
[Widget 374]
Type=Text
Name=Text449
Value=* Third-party installers (up to two .exe files)
Start_x=19
Start_y=131
Width=300
Height=10
;[Widget 17]
Type=Text
Name=Text46
Value=* CD-based installer or network-downloadable installer? (you can create one or both at the same time)
Start_x=20
Start_y=62
Width=370
Height=10
[Widget 14]
Type=Text
Name=Text43
Value=Decide which customizations you want to make and create the customized files, such as:
Start_x=9
Start_y=55
Width=370
Height=20
[Widget 2817]
Type=BoldGroup
Name=GroupBox2385
Value=Select an Existing Configuration or Create a New One
Start_x=0
Start_y=165
Width=407
Height=80
[Widget 18]
Type=Button
Name=Button8
Value=Create a Copy...
Start_x=320
Start_y=218
Width=77
Height=17
onInit=Enable2(%CustomizationList%)
onCommand=VerifySet(%CustomizationList%,Choose an existing configuration or create a new one);SetGlobal(_FromConfigName,%CustomizationList%);wizard.CopyConfig(_NewConfigName);GenerateDirList(CustomizationList,%Root%Configs\*.*);SelectItem(%_NewConfigName%);CopyDir(%Root%Configs\%_FromConfigName%,%Root%Configs\%_NewConfigName%)
; GenerateFileList not required due to the way NewConfigDialog works,
; but this should be changed at some point...
target=CustomizationList
[Widget 2010]
Type=Button
Name=ButtonSummary
Value=Show Config Info
Start_x=140
Start_y=218
Width=77
Height=17
onInit=Enable2(%CustomizationList%)
onCommand=ShowSummary()

View File

@@ -0,0 +1,35 @@
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
;
; The contents of this file are subject to the Netscape Public
; License Version 1.1 (the "License"); you may not use this file
; except in compliance with the License. You may obtain a copy of
; the License at http://www.mozilla.org/NPL/
;
; Software distributed under the License is distributed on an "AS
; IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
; implied. See the License for the specific language governing
; rights and limitations under the License.
;
; The Original Code is mozilla.org code.
;
; The Initial Developer of the Original Code is Netscape
; Communications Corporation. Portions created by Netscape are
; Copyright (C) 1998 Netscape Communications Corporation. All
; Rights Reserved.
;
; Contributor(s):
;
[Local Variables]
Name=Customize
Title=Customize Application
Caption=1st level node
Help=Online;http://www.mozilla.org/projects/cck/
[Navigation Controls]
onNext=
[Sub Pages]
Customize_page1=show
Customize_page3=show

View File

@@ -0,0 +1,123 @@
The corpse exuded the irresistible aroma of a piquant, ancho chili glaze enticingly enhanced with a hint of fresh
cilantro as it lay before him, coyly garnished by a garland of variegated radicchio and caramelized onions, and
impishly drizzled with glistening rivulets of vintage balsamic vinegar and roasted garlic oil; yes, as he surveyed the
body of the slain food critic slumped on the floor of the cozy, but nearly empty, bistro, a quick inventory of his
senses told corpulent Inspector Moreau that this was, in all likelihood, an inside job.
--Bob Perry, Milton, MA
1997 Grand Prize Winner
The moment he laid eyes on the lifeless body of the nude socialite sprawled across the bathroom floor,
Detective Leary knew she had committed suicide by grasping the cap on the tamper-proof bottle, pushing down and
twisting while she kept her thumb firmly pressed against the spot the arrow pointed to, until she hit the exact spot
where the tab clicks into place, allowing her to remove the cap and swallow the entire contents of the bottle, thus
ending her life.
-- Artie Kalemeris, Fairfax, VA
Other 1997 Results
Runner-Up
It all started when that rich SOB John Paul Getty commissioned me to create the world's largest ice sculpture,
not that I didn't realize the challenges involved, but it wasn't until months later when the iceberg, carved into the
shape of a mammoth voluptuous nude, hove into view off Newfoundland that the uproar started, and even later,
after the interviews in People Magazine and my appearance on Oprah, that I was forced to concede defeat and hire
the Knitter's League, who were still crocheting away as my rapidly melting masterpiece was towed into New York
harbor, the six hundred and sixty-six knitters still desperately looping lengths of videotape, linkin' Getty's berg a
dress.
--Dan Rubin, Prince Rupert, British Columbia
Winner: Fantasy
Prince Oryza's determined, handsome countenance was reflected in the gleaming, polished steel of his sword,
Gowayoff, as he hewed valiantly at the armored sides of the dragon, which could only be pierced by gleaming,
polished steel and not the regular kind of steel, which doesn't gleam as much, and isn't polished quite as well, but
does a pretty good job against your smaller dragons.
--J. N. Pechota, Dulzura, CA
Winner: Western
No one in Cisco City dared to question Jake Lattimer about the disappearance of neighbor Jones's hogs, not
only because Jake was the best sheriff the town had ever seen, but also because his was the only dental parlor in
the territory where a man could buy himself a decent set of slightly-used false teeth.
--Mary Clare, Austin, TX
Runner-Up: Western
Once upon a time, before men were boys, before guns were toys, and before music was noise, there was a
dude ranch peopled by only the most virile of males, except for Mama, who had, of course, clasped each of them to
her ample bosoms, and therein lies our story.
--Chuck Myer, Colfax, CA
Winner: Romance
He stood looking at her, seductively naked except for bra and a pair of pants, the smile on her face
come-hitherish and inviting, but all he could think was, "Why are they called a pair of pants, much better English if
it were a pair of bras and a pant?"
--Jan Bundesen, Duncraig, Western Australia
Runner-Up: Romance
Veronica had had little experience of treachery when she first arrived in Paris, so when Jean-Luc left her in
the Rive Gauche with only a Bic and a bock and a broken clock she was somewhat surprised.
--Juliette Hughes, Northcote, Victoria, Australia
Winner: Science Fiction
The cells divided at an alarming rate as Dr. Bob gasped in amazement and told his lovely blond but intelligent
assistant, "Eureka! this is really neat, a baby monster is now growing in our hi-tech, whiz-bang laboratory--I wonder
if our hi-tech, whiz-bam containment field will contain this new, monstrous really ugly, man-eating being so it can't
get out and destroy the world when it gets real big."
--Robert D. Stottle, Jr., Huntsville, AL
Winner: Adventure
It was, presumably, Dr. Livingstone who emerged into the clearing from the dense rain forest beyond,
although it was difficult to tell for certain just WHO it was beneath the layers of leeches clinging to his limbs, the
spiders covering the surface of his sun helmet, the bounty of bugs on his body, and the multitude of mites crawling
on everything from his Mont Blanc pen to his machete though, as he had recently employed the latter in hacking his
way through the jungle while he had long abandoned his diary, the pen was somewhat mitier than the sword.
--Jan Wolitzky, Madison, NJ
Winner: Detective
With the last rays of sunshine silhouetting her slim form, and the still smoking pistol clutched in her trembling
right hand, Cora knelt beside the body at her feet, only to be brought up short by the sudden awareness of that
unmistakable creeping-insect-like feeling of a run ripping up the back of her left stocking.
--Marcia E. Brown, Austin, TX
Runner-Up: Detective
As Lt. James "Jocko" Flannery methodically surveyed the freshly sketched chalk outline on the oily
pavement with his steel-blue eyes, his mind wandered to that night's poker game--jeez, he had forgotten to pick up
the Macanudos--because that's what happens when you fight your way up from street cop to Chief of Homicide in
the City with Big Shoulders: you stop being angry; you've seen too many cheap hits, too many gutless punks, and
too many brazen calling cards like the one over there--a wad of peppermint chewing gum clinging to the gutter that
told him everything he needed to know--that little blond brat from around the corner had maliciously scribbled this
pink hopscotch thing on his newly sealed driveway.
--Robert A. Perry, Milton, MA
Winner: Purple Prose
"This is the end," Alfalfa sobbed, clutching at her heaving bosom and pausing only occasionally to scratch her
itching left armpit while her sapphire eyes, brimming with salty tears, turned helplessly towards the gibbous moon
that hung in the brooding sky like a tobacco-stained nail paring.
--Niki Wessels, Centurion, South Africa
Runner-Up: Purple Prose
It was the last of times, it was the first of times, it was the age of intelligence, it was the age of the
intellectually challenged, it was the epoch of reality, it was the epoch of insanity, it was the season of Salt, it was the
season of Pepper, it was the spring of health, it was the winter of the flu, it was a period when a bunch of really
opposite things were being compared.
--Sarah Marks, Grand Prairie, TX
Dishonorable Mentions: Purple Prose
Day broke like an enormous egg cracking over the rim of the great, jagged-edged bowl of the Grand Canyon,
its bright yellow yolk of sunshine pouring runnily into every crag and crevice, suffusing the early morning air with
the same ocherous brilliance as it had for millennia while the mighty Colorado River cuts its way to the stratum of
the present valley floor.
--Mary Christensson, San Mateo, CA

View File

@@ -0,0 +1,208 @@
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
;
; The contents of this file are subject to the Netscape Public
; License Version 1.1 (the "License"); you may not use this file
; except in compliance with the License. You may obtain a copy of
; the License at http://www.mozilla.org/NPL/
;
; Software distributed under the License is distributed on an "AS
; IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
; implied. See the License for the specific language governing
; rights and limitations under the License.
;
; The Original Code is mozilla.org code.
;
; The Initial Developer of the Original Code is Netscape
; Communications Corporation. Portions created by Netscape are
; Copyright (C) 1998 Netscape Communications Corporation. All
; Rights Reserved.
;
; Contributor(s):
;
[Local Variables]
Name=Customize_page1
Title=<%CustomizationList%> - Customize the %DefaultName% Browser - Part Three
Caption=2nd level node
;Help=Online;http://www.mozilla.org/projects/cck/Help=Online;%Root%CCKHelp\customizepage1.html
Help=Online;%Root%CCKHelp\customizepage1.html
[Navigation Controls]
onNext=
Help=customize1_help.ini
[Image 1]
Type=Image
Name=banner5.bmp
Value=
Start_x=0
Start_y=0
Width=425
Height=56
[Widget 1]
Type=BoldGroup
Name=GroupBox11
Value=Default Home Page
Start_x=0
Start_y=32
Width=407
Height=52
[Widget 2]
Type=GlobalText
Name=Text80
Value=This page is displayed when users first start the %DefaultName% browser, or when they click the Home button.
Start_x=11
Start_y=43
Width=392
Height=17
[Widget 251]
Type=Text
Name=Text8023
Value=Home Page URL:
Start_x=11
Start_y=54
Width=392
Height=17
[Widget 3]
Type=EditBox
Attrib=Pref
Name=HomePageURL
Value=
Start_x=11
Start_y=64
Width=206
Height=13
[Widget 19]
Type=Button
Name=Button118
Value=Show Example
Start_x=339
Start_y=64
Width=60
Height=14
onCommand=DisplayImage(home.ini)
[Widget 4]
Type=BoldGroup
Name=GroupBox12
Value=Bookmarks and Personal Toolbar Buttons
Start_x=0
Start_y=88
Width=407
Height=55
[Widget 50]
Type=Text
Name=Text100
Value=The bookmarks file stores your custom bookmarks and personal toolbar buttons.
Start_x=11
Start_y=100
Width=299
Height=10
[Widget 10]
Type=Text
Name=Text83
Value=Path to Bookmarks (bookmarks.html) File:
Start_x=11
Start_y=114
Width=150
Height=8
[Widget 11]
Type=DynamicText
Name=CustomBookmarkFile
Value=
Start_x=11
Start_y=126
Width=223
Height=14
[Widget 1285]
Type=Button
Name=Button1759
Value=View File
Start_x=240
Start_y=123
Width=40
Height=14
onCommand=command(%NCIFileEditor% "%CustomBookmarkFile%");
[Widget 12]
Type=Button
Name=Button17
Value=Choose File...
Start_x=285
Start_y=123
Width=50
Height=14
onCommand=BrowseFile()
Target=CustomBookmarkFile
[Widget 21]
Type=Button
Name=Button120
Value=Show Example
Start_x=340
Start_y=123
Width=60
Height=14
onCommand=DisplayImage(bkmk.ini)
[Widget 4209]
Type=BoldGroup
Name=GroupBox7007
Value=Browser Window's Title Bar Text
Start_x=0
Start_y=148
Width=407
Height=45
[Widget 578]
Type=GlobalText
Name=Text524
Value=The text you enter (for example, your company name) appears after the page title in the title bar.
Start_x=13
Start_y=159
Width=350
Height=10
[Widget 652]
Type=EditBox
Name=CompanyName
Value=
Start_x=95
Start_y=172
Width=230
Height=15
[Widget 6521]
Type=Text
Name=Text934
Value=Custom Title Bar Text:
Start_x=13
Start_y=175
Width=70
Height=10
[Widget 1814]
Type=Button
Name=Button5263
Value=Show Example
Start_x=337
Start_y=172
Width=60
Height=14
onCommand=DisplayImage(coname.ini)

View File

@@ -0,0 +1,168 @@
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
;
; The contents of this file are subject to the Netscape Public
; License Version 1.1 (the "License"); you may not use this file
; except in compliance with the License. You may obtain a copy of
; the License at http://www.mozilla.org/NPL/
;
; Software distributed under the License is distributed on an "AS
; IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
; implied. See the License for the specific language governing
; rights and limitations under the License.
;
; The Original Code is mozilla.org code.
;
; The Initial Developer of the Original Code is Netscape
; Communications Corporation. Portions created by Netscape are
; Copyright (C) 1998 Netscape Communications Corporation. All
; Rights Reserved.
;
; Contributor(s):
;
[Local Variables]
Name=Customize_page2
Title=Customize Application - 2 %CustomizationList%
Caption=2nd level node
Help=Online;http://www.mozilla.org/projects/cck/
[Navigation Controls]
onNext=
Help=customize.txt
[Image 1]
Type=Image
Name=netscape.bmp
Value=
Start_x=7
Start_y=7
Width=64
Height=56
[Widget 1]
Type=Text
Name=Text101
Value=Page 2 of 3
Description=Current Page
Start_x=208
Start_y=16
Width=38
Height=8
[Widget 2]
Type=Text
Name=Text102
Value=By identifying your company in the user agent string, you help Netscape track the number of customized browsers distributed by your company.
Start_x=59
Start_y=38
Width=336
Height=21
[Widget 3]
Type=GroupBox
Name=GroupBox15
Value=Company Identifier for User Agent String
Start_x=3
Start_y=87
Width=396
Height=101
[Widget 4]
Type=Text
Name=Text103
Value=Enter your company identifier (no more than 10 characters; no spaces):
Start_x=9
Start_y=101
Width=300
Height=11
[Widget 5]
Type=EditBox
Name=OrganizationName
Value=
Start_x=9
Start_y=113
Width=206
Height=14
[Widget 2062]
Type=Button
Name=Button1195
Value=Show Example
Start_x=259
Start_y=112
Width=60
Height=14
onCommand=DisplayImage(string.ini)
[Widget 6]
Type=Text
Name=Text104
Value=Netscape uses this information in its incentive and reward programs for Unlimited Distribution Partner (UDP) members. UDP members are rewarded for successful distribution efforts based on the number of tracked user agent strings.
Start_x=58
Start_y=58
Width=339
Height=24
[Widget 7]
Type=Text
Name=Text105
Value=For example, if your company name is Net Advantage, you can enter NETADVANTA as your company identifier. The CCK wizard uses your company identifier to complete the user agent string. The complete user agent string would appear as {C-UDP;NETADVANTA}, with the CCK wizard automatically supplying the {C-UDP; part of the user agent string.
Start_x=9
Start_y=138
Width=384
Height=40
[Widget 10]
Type=Text
Name=Text107
Value=Customize
Description=Current Page
Start_x=210
Start_y=7
Width=44
Height=9
[Widget 11]
Type=Text
Name=Text108
Value=Account Setup
Description=Navigation Status
Start_x=267
Start_y=7
Width=52
Height=9
[Widget 12]
Type=Text
Name=Text109
Value=Build Installer(s)
Description=Navigation Status
Start_x=338
Start_y=7
Width=52
Height=9
[Widget 13]
Type=Text
Name=Text110
Value=Brand
Description=Navigation Status
Start_x=161
Start_y=7
Width=27
Height=9

View File

@@ -0,0 +1,447 @@
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
;
; The contents of this file are subject to the Netscape Public
; License Version 1.1 (the "License"); you may not use this file
; except in compliance with the License. You may obtain a copy of
; the License at http://www.mozilla.org/NPL/
;
; Software distributed under the License is distributed on an "AS
; IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
; implied. See the License for the specific language governing
; rights and limitations under the License.
;
; The Original Code is mozilla.org code.
;
; The Initial Developer of the Original Code is Netscape
; Communications Corporation. Portions created by Netscape are
; Copyright (C) 1998 Netscape Communications Corporation. All
; Rights Reserved.
;
; Contributor(s):
;
[Local Variables]
Name=Customize_page2
Title=<%CustomizationList%> - Customize the %DefaultName% Browser - Part Two
Caption=2nd level node
;Help=Online;http://www.mozilla.org/projects/cck/
Help=Online;%Root%CCKHelp\customizepage3.html
[Navigation Controls]
onNext=
Help=customize3_help.ini
[Image 1]
Type=Image
Name=banner4.bmp
Value=
Start_x=0
Start_y=0
Width=425
Height=56
[Widget 825]
Type=GlobalText
Name=Text285
Value=%DefaultName% by
Start_x=11
Start_y=66
Width=40
Height=15
[Widget 2]
Type=EditBox
Name=ProgramFolderName
Value=
Start_x=58
Start_y=63
Width=235
Height=14
[Widget 3]
Type=GlobalText
Name=Text2
Value=Enter the custom Program Folder name text (for example, your company name) that you want to appear after the text "%DefaultName% by" in the Start Menu.
Start_x=11
Start_y=43
Width=390
Height=25
[Widget 268]
Type=BoldGroup
Name=GroupBox22
Value=Start Menu
Start_x=0
Start_y=32
Width=407
Height=52
[Widget 26083]
Type=BoldGroup
Name=GroupBox2626
Value=Custom Read Me File
Start_x=0
Start_y=90
Width=407
Height=66
[Widget 1910]
Type=DynamicText
Name=ReadMeFile
Value=
Start_x=11
Start_y=138
Width=219
Height=14
[Widget 11]
Type=Button
Name=Button2
Value=Choose File...
Start_x=283
Start_y=135
Width=50
Height=14
onCommand=BrowseFile()
Target=ReadMeFile
[Widget 9]
Type=Text
Name=Text3
Value=Path to Your Custom Read Me File (readme.txt):
Start_x=11
Start_y=124
Width=150
Height=8
[Widget 19]
Type=Button
Name=Button121
Value=Show Example
Start_x=338
Start_y=63
Width=60
Height=14
onCommand=DisplayImage(start.ini)
[Widget 13]
Type=Text
Name=Text5
Value=Enter the path to your custom Read Me file. If you don't want to provide a customized file, your installers will include the default Read Me file.
Start_x=11
Start_y=102
Width=380
Height=25
[Widget 8038]
Type=Button
Name=Button8512
Value=Show Example
Start_x=338
Start_y=135
Width=60
Height=14
onCommand=DisplayImage(readme.ini)
[Widget 118]
Type=Button
Name=Button28
Value=View File
Start_x=238
Start_y=135
Width=40
Height=14
onCommand=command(%NCIFileEditor% "%ReadMeFile%");
[Widget 10]
Type=BoldGroup
Name=GroupBox68
Value=Customize Sidebar Tabs
Start_x=0
Start_y=163
Width=407
Height=64
[Widget 300]
Type=Text
Name=Text355
Value=The Sidebar provides access to news, weather, address book, buddy list, and many other items that you can customize.
Start_x=11
Start_y=175
Width=380
Height=25
[Widget 7]
Type=Text
Name=Text25
Value=Path to Your Customized Sidebar Tabs File (panels.rdf):
Start_x=11
Start_y=191
Width=275
Height=25
[Widget 8]
Type=DynamicText
Name=SidebarPath
Value=
Start_x=11
Start_y=205
Width=200
Height=14
[Widget 4931]
Type=Button
Name=Button1069
Value=View File
Start_x=240
Start_y=202
Width=40
Height=14
onCommand=command(%NCIFileEditor% "%SidebarPath%");
[Widget 507]
Type=Button
Name=Button3163
Value=Choose File...
Start_x=284
Start_y=202
Width=50
Height=14
onCommand=BrowseFile()
Target=SidebarPath
[Widget 200]
Type=Button
Name=Button116
Value=Show Example
Start_x=339
Start_y=202
Width=60
Height=14
onCommand=DisplayImage(sidebar.ini)

View File

@@ -0,0 +1,33 @@
CD image=1
Network=0
Include Internet Setup=0
FTPLocation=ftp://
OrganizationName=
AnimatedLogoURL=http://home.netscape.com
SmallAnimPath=%Root%Configs\Default\Workspace\AnimLogo\animlogo16.gif
LargeAnimPath=%Root%Configs\Default\Workspace\AnimLogo\animlogo32.gif
SmallStillPath=%Root%Configs\Default\Workspace\AnimLogo\staticlogo16.gif
LargeStillPath=%Root%Configs\Default\Workspace\AnimLogo\staticlogo32.gif
SidebarPath=%Root%Configs\Default\Workspace\Sidebar\panels.rdf
CompanyName=
HomePageURL=http://home.netscape.com
HelpMenuCommandName=
HelpMenuCommandURL=
CustomBookmarkFile=%Root%Configs\Default\Workspace\Bkmarks\bookmarks.html
ProgramFolderName=
CreateReadmeIcon=0
CreateLicenseIcon=0
ReadMeFile=%Root%Configs\Default\Workspace\readme.txt
InstallerCustomBitmapPath=%Root%Configs\Default\Workspace\Installer\setup.bmp
InstallerScreenText1=
InstallerScreenText2=
InstallerScreenText3=
ShellBgBitmap=%Root%Configs\Default\Workspace\Autorun\Shell\bmps\install.bmp
ShellTitleText=
ShellBelowTitleText=
ShellInstallTextFile=%Root%Configs\Default\Workspace\Autorun\install.txt
IntSetupBgBitmap=%Root%Configs\Default\Workspace\ISetup\nscplogo.gif
Company_Name=
CustomComponentPath1=Please select an executable to install.
CustomComponentPath2=Please select an executable to install.
NCIFileEditor=notepad

View File

@@ -0,0 +1,65 @@
[Local Variables]
Name=Done
Title=CCK Wizard - Done %CustomizationList%
Caption=1st level node
[Navigation Controls]
onNext=
Help=Branding.txt
[Image 1]
Type=Image
Name=banner11.bmp
Value=
Start_x=0
Start_y=0
Width=425
Height=56
[Widget 1]
Type=Text
Name=Text111
Value=Installer creation is complete.
Start_x=11
Start_y=50
Width=264
Height=12
[Widget 5]
Type=Text
Name=Text113
Value=The following custom installer(s) have been created:
Start_x=11
Start_y=75
Width=300
Height=10
[Widget 693]
Type=Text
Name=Text693
Value=cck\configurations\<config name>\Cd
Start_x=11
Start_y=90
Width=300
Height=10
[Widget 694]
Type=Text
Name=Text694
Value=cck\configurations\<config name>\Network
Start_x=11
Start_y=105
Width=375
Height=10

View File

@@ -0,0 +1,189 @@
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
;
; The contents of this file are subject to the Netscape Public
; License Version 1.1 (the "License"); you may not use this file
; except in compliance with the License. You may obtain a copy of
; the License at http://www.mozilla.org/NPL/
;
; Software distributed under the License is distributed on an "AS
; IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
; implied. See the License for the specific language governing
; rights and limitations under the License.
;
; The Original Code is the Client Customization Kit.
;
; The Initial Developer of the Original Code is Netscape
; Communications Corporation. Portions created by Netscape are
; Copyright (C) 1998 Netscape Communications Corporation. All Rights
; Reserved.
;
[Local Variables]
Name=Customize_page2
Title=<%CustomizationList%> - Gathering Information
Caption=2nd level node
;Help=Online;http://www.mozilla.org/projects/cck/
Help=Online;%Root%CCKHelp\info.html
[Navigation Controls]
onNext=VerifySet(%OrganizationName%,User Agent String is required to proceed with custom build creation);
Help=InfoHelp.ini
[Image 1]
Type=Image
Name=banner2.bmp
Value=
Start_x=0
Start_y=0
Width=425
Height=56
[Widget 69163]
Type=BoldGroup
Name=GroupBox16175
Value=Installer Options
Start_x=0
Start_y=33
Width=407
Height=135
[Widget 9023]
Type=Text
Name=Text8490
Value=CCK creates an installer that is both CD- and Network-ready.
Start_x=8
Start_y=45
Width=370
Height=20
[Widget 6961]
Type=BoldGroup
Name=GroupBox1671
Value=CD-Ready Installer
Start_x=8
Start_y=61
Width=391
Height=50
[Widget 1894]
Type=CheckBox
Name=CD image
Value=
Title=Include CD Autorun Screen
Start_x=18
Start_y=95
Width=200
Height=10
onCommand=ChangeCDScreen(CD image)
[Widget 20625]
Type=Button
Name=Button11952
Value=Show Example
Start_x=333
Start_y=89
Width=62
Height=15
onCommand=DisplayImage(autorun.ini)
[Widget 6]
Type=GlobalText
Name=Text104
Value=The CD Autorun screen appears when a user inserts the %DefaultName% CD in their computer's CD-ROM drive. You'll be able to customize the CD Autorun screen.
Start_x=18
Start_y=75
Width=360
Height=30
[Widget 6929]
Type=BoldGroup
Name=GroupBox16744
Value=Network-Ready Installer
Start_x=8
Start_y=119
Width=391
Height=41
[Widget 3]
Type=BoldGroup
Name=GroupBox15
Value=Company Identifier
Start_x=0
Start_y=175
Width=407
Height=70
[Widget 4]
Type=GlobalText
Name=Text103
Value=Enter the URL (e.g., ftp://ftp.myisp.com/%DefaultName%/download):
Start_x=19
Start_y=143
Width=230
Height=15
[Widget 5509]
Type=EditBox
Name=FTPLocation
Value=
Start_x=250
Start_y=140
Width=143
Height=15
[Widget 472]
Type=GlobalText
Name=Text10389
Value=The FTP (or HTTP) URL is the network location where you'll put the %DefaultName% installer files for your users.
Start_x=19
Start_y=130
Width=370
Height=20
[Widget 4937]
Type=Text
Name=Text174
Value=Enter Your Company Identifier (up to 10 characters; no spaces):
Start_x=8
Start_y=220
Width=200
Height=10
[Widget 5]
Type=EditBox
Attrib=Pref
Name=OrganizationName
Value=
Start_x=210
Start_y=217
Width=80
Height=15
MaxLen=10
[Widget 2062]
Type=Button
Name=Button1195
Value=Show Example
Start_x=300
Start_y=217
Width=62
Height=15
onCommand=DisplayImage(string.ini)
[Widget 7]
Type=Text
Name=Text105
Value=The Company Identifier is included as part of the browser's user agent string. For example, if your company name is Net Advantage, you can enter NetAdvanta as your company identifier. The resulting user agent string would be: Mozilla/5.0 (Windows;U;WinNT4.0;en-US;rv:0.9.4) Gecko/20010927 Netscape 6/6.2 (CK-NetAdvanta).
Start_x=8
Start_y=188
Width=380
Height=35

View File

@@ -0,0 +1,621 @@
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
;
; The contents of this file are subject to the Netscape Public
; License Version 1.1 (the "License"); you may not use this file
; except in compliance with the License. You may obtain a copy of
; the License at http://www.mozilla.org/NPL/
;
; Software distributed under the License is distributed on an "AS
; IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
; implied. See the License for the specific language governing
; rights and limitations under the License.
;
; The Original Code is mozilla.org code.
;
; The Initial Developer of the Original Code is Netscape
; Communications Corporation. Portions created by Netscape are
; Copyright (C) 1998 Netscape Communications Corporation. All
; Rights Reserved.
;
; Contributor(s):
;
[Local Variables]
Name=Installer
Title=Installer Information
Caption=1st level node
Help=Online;http://www.mozilla.org/projects/cck/
[Navigation Controls]
onNext=
Help=Installer.txt
[Image 1]
Type=Image
Name=netscape.bmp
Value=
Start_x=7
Start_y=7
Width=64
Height=56
[Widget 1]
Type=CheckListBox
Name=SelectedComponents
Value=
Start_x=17
Start_y=77
Width=90
Height=70
subsection=Options for CheckListBox1
[Options for CheckListBox1]
opt1=Address Book sync tool
opt2=AIM
opt3=Audio/Video Playback
opt4=Beatnik Stub Plug-in
opt5=Calendar
opt6=CalendarLink sync tool
opt7=Import Utility
opt8=Internet Setup
opt9=RealPlayer 5.0
[Widget 2]
Type=Text
Name=Text11
Value=Standard Components:
Start_x=21
Start_y=64
Width=80
Height=13
[Widget 3]
Type=Text
Name=Text12
Value=Select the components you want to include in your installer. The CCK wizard will automatically add the Communicator component.
Start_x=3
Start_y=32
Width=345
Height=18
[Widget 4]
Type=Text
Name=Text13
Value=Additional installers: You can add installers for two other products below. Each must be in a single executable file and will be run after the main installation completes.
Start_x=121
Start_y=69
Width=270
Height=17
[Widget 5]
Type=EditBox
Name=CustomComponent1
Value=
Start_x=121
Start_y=110
Width=162
Height=14
[Widget 6]
Type=Button
Name=Button3
Value=Browse
Start_x=287
Start_y=110
Width=36
Height=14
onCommand=BrowseFile()
Target=CustomComponent1
[Widget 8]
Type=EditBox
Name=CustomComponent2
Value=
Start_x=121
Start_y=138
Width=162
Height=14
[Widget 7]
Type=Button
Name=Button4
Value=Browse
Start_x=287
Start_y=138
Width=36
Height=14
onCommand=BrowseFile()
Target=CustomComponent2
[Widget 9]
Type=Text
Name=Text14
Value=Specify the path to the executable (.exe) file of your custom component(s):
Start_x=121
Start_y=90
Width=240
Height=11
[Widget 10]
Type=Text
Name=Text15
Value=Custom component path:
Start_x=123
Start_y=127
Width=75
Height=8
[Widget 11]
Type=Text
Name=Text16
Value=Custom component path:
Start_x=123
Start_y=100
Width=75
Height=8
[Widget 12]
Type=Text
Name=Text17
Value=Page 1 of 1
Description=Current Page
Start_x=342
Start_y=16
Width=38
Height=8
[Widget 13]
Type=GroupBox
Name=GroupBox2
Value=Choose installers to create
Start_x=4
Start_y=205
Width=398
Height=39
[Widget 14]
Type=CheckBox
Name=CreateCDImage
Value=
Title=Create CD image
Start_x=12
Start_y=215
Width=111
Height=13
[Widget 15]
Type=CheckBox
Name=CreateNetworkDownloadable
Value=
Title=Create Network-downloadable file
Start_x=12
Start_y=228
Width=140
Height=12
[Widget 16]
Type=GroupBox
Name=GroupBox3
Value=Install Components
Start_x=3
Start_y=50
Width=399
Height=105
;[Widget 17]
;Type=Button
;Name=Button5
;Value=Review All Customizations...
;Start_x=165
;Start_y=219
;Width=101
;Height=15
;Type=ProgressBar
;Name=myProgBar
;Value=Review All Customizations...
;Start_x=165
;Start_y=219
;Width=101
;Height=15
[Widget 18]
Type=GroupBox
Name=GroupBox4
Value=Netcenter Default Home Page Option
Start_x=3
Start_y=158
Width=399
Height=45
[Widget 19]
Type=CheckBox
Name=DisplayNetcenterDialog
Value=
Title=Display Netcenter default home page option to users during installation
Start_x=8
Start_y=184
Width=240
Height=9
[Widget 55]
Type=Button
Name=Button111
Value=Show Example
Start_x=260
Start_y=181
Width=60
Height=14
onCommand=DisplayImage(net.ini)
[Widget 20]
Type=Text
Name=Text18
Value=If displayed during installation, this option lets users make Netcenter (home.netscape.com) their default home page.
Start_x=7
Start_y=169
Width=390
Height=19
[Widget 21]
Type=Text
Name=Text19
Value=Customize
Description=Navigation Status
Start_x=210
Start_y=7
Width=44
Height=9
[Widget 22]
Type=Text
Name=Text20
Value=Account Setup
Description=Navigation Status
Start_x=267
Start_y=7
Width=52
Height=9
[Widget 23]
Type=Text
Name=Text21
Value=Build Installer(s)
Description=Current Page
Start_x=338
Start_y=7
Width=52
Height=9
[Widget 24]
Type=Text
Name=Text22
Value=Brand
Description=Navigation Status
Start_x=161
Start_y=7
Width=27
Height=9
;[Widget 25]
;Type=Button
;Name=Button6
;Value=Build Installers
;Start_x=272
;Start_y=219
;Width=85
;Height=15
;onCommand=BrowseFile()
;Target=???

View File

@@ -0,0 +1,119 @@
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
;
; The contents of this file are subject to the Netscape Public
; License Version 1.1 (the "License"); you may not use this file
; except in compliance with the License. You may obtain a copy of
; the License at http://www.mozilla.org/NPL/
;
; Software distributed under the License is distributed on an "AS
; IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
; implied. See the License for the specific language governing
; rights and limitations under the License.
;
; The Original Code is the Client Customization Kit.
;
; The Initial Developer of the Original Code is Netscape
; Communications Corporation. Portions created by Netscape are
; Copyright (C) 1998 Netscape Communications Corporation. All Rights
; Reserved.
;
[Local Variables]
Name=Linux_page
Title=<%CustomizationList%> - Specify platform information
Caption=2nd level node
Help=Online;%Root%CCKHelp\platform.html
[Navigation Controls]
onNext=
Help=platform_Help.ini
[Image 1888]
Type=Image
Name=platform.bmp
Value=
Start_x=0
Start_y=0
Width=425
Height=56
[Widget 2888]
Type=BoldGroup
Name=GroupBox2888
Value=Platform
Start_x=0
Start_y=32
Width=407
Height=90
[Widget 3888]
Type=Text
Name=Text3888
Value=Choose platform for installer:
Start_x=11
Start_y=55
Width=100
Height=15
[Widget 4888]
Type=DropBox
Name=lPlatform
Value=
Start_x=130
Start_y=54
Width=65
height=75
subsection=Options for DropBox4888
onCommand=ChangePlatform(lPlatform)
[Options for DropBox4888]
opt1=Windows
opt2=Linux
[Widget 5888]
Type=Text
Name=Text5888
Value=Customizing for Macintosh: First create a customized Windows installer, then transfer the customized Windows files to a standard Macintosh installation package. For details, click Help below.
Start_x=11
Start_y=87
Width=380
Height=30
[Widget 6888]
Type=BoldGroup
Name=GroupBox6888
Value=Linux tar file
Start_x=0
Start_y=135
Width=407
Height=60
[Widget 7888]
Type=Text
Name=Text7888
Value=Enter the path for a Netscape 6 Linux tar file. If necessary, download it first from http://home.netscape.com.
Start_x=11
Start_y=150
Width=380
Height=15
[Widget 8888]
Type=EditBox
Name=LinuxPath
Value=
Start_x=11
Start_y=170
Width=310
Height=15
[Widget 9888]
Type=Button
Name=Button9888
Value=Choose File...
Start_x=340
Start_y=170
Width=50
Height=14
onCommand=BrowseFile()
Target=LinuxPath

View File

@@ -0,0 +1,265 @@
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
;
; The contents of this file are subject to the Netscape Public
; License Version 1.1 (the "License"); you may not use this file
; except in compliance with the License. You may obtain a copy of
; the License at http://www.mozilla.org/NPL/
;
; Software distributed under the License is distributed on an "AS
; IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
; implied. See the License for the specific language governing
; rights and limitations under the License.
;
; The Original Code is mozilla.org code.
;
; The Initial Developer of the Original Code is Netscape
; Communications Corporation. Portions created by Netscape are
; Copyright (C) 1998 Netscape Communications Corporation. All
; Rights Reserved.
;
; Contributor(s):
;
[Local Variables]
Name=Mail_page
Title=<%CustomizationList%> - Customize the %DefaultName% Mail account setup
Caption=2nd level node
Help=Online;%Root%CCKHelp\mailhelp.html
[Navigation Controls]
onNext=IsMailfieldempty()
Help=Mail_Help.ini
[Image 1666]
Type=Image
Name=mailbanner.bmp
Value=
Start_x=0
Start_y=0
Width=425
Height=56
[Widget 2666]
Type=Text
Name=Text2666
Value=Enter the settings below to customize Mail for your users. All fields must be complete for your settings to take effect. If all fields are left blank, no customized Mail account will be created.
Start_x=0
Start_y=34
Width=390
Height=35
[Widget 3666]
Type=BoldGroup
Name=GroupBox3666
Value=Domain
Start_x=0
Start_y=54
Width=407
Height=56
[Widget 4666]
Type=Text
Name=Text4666
Value=Domain name:
Start_x=7
Start_y=65
Width=50
Height=10
[Widget 5666]
Type=EditBox
Name=DomainName
Value=
Start_x=65
Start_y=63
Width=190
Height=12
[Widget 6666]
Type=Button
Name=Button6666
Value=Show Example
Start_x=339
Start_y=63
Width=60
Height=12
onCommand=DisplayImage(maildom.ini)
[Widget 7666]
Type=Text
Name=Text7666
Value=Display name:
Start_x=7
Start_y=80
Width=50
Height=10
[Widget 8666]
Type=EditBox
Name=PrettyName
Value=
Start_x=65
Start_y=78
Width=190
Height=12
[Widget 9666]
Type=Button
Name=Button9666
Value=Show Example
Start_x=339
Start_y=78
Width=60
Height=12
onCommand=DisplayImage(maildisp.ini)
[Widget 10666]
Type=Text
Name=Text10666
Value=Mail provider:
Start_x=7
Start_y=95
Width=50
Height=10
[Widget 11666]
Type=EditBox
Name=LongName
Value=
Start_x=65
Start_y=93
Width=190
Height=12
[Widget 12666]
Type=Button
Name=Button12666
Value=Show Example
Start_x=339
Start_y=93
Width=60
Height=12
onCommand=DisplayImage(mailprov.ini)
[Widget 13666]
Type=BoldGroup
Name=GroupBox13666
Value=Incoming Server
Start_x=0
Start_y=113
Width=407
Height=85
[Widget 15666]
Type=Text
Name=Text15666
Value=Server Name:
Start_x=7
Start_y=125
Width=58
Height=10
[Widget 16666]
Type=EditBox
Name=IncomingServer
Value=
Start_x=65
Start_y=123
Width=190
Height=12
[Widget 17666]
Type=Text
Name=Text17666
Value=Port number:
Start_x=7
Start_y=140
Width=50
Height=10
[Widget 18666]
Type=EditBox
Name=PortNumber
Value=
Start_x=65
Start_y=138
Width=45
Height=12
onCommand=IsNumeric(You must enter only numeric values for Port Number)
[Widget 19666]
Type=Text
Name=Text19666
Value=Server type:
Start_x=7
Start_y=155
Width=80
Height=10
[Widget 20666]
Type=RadioButton1
Name=pop
Value=1
Title=POP
Start_x=20
Start_y=170
Width=30
Height=10
[Widget 21666]
Type=RadioButton2
Name=imap
Value=0
Title=IMAP
Start_x=20
Start_y=185
Width=30
Height=10
[Widget 22666]
Type=CheckBox
Name=PopMessages
Value=0
Title=Leave POP messages on the server
Start_x=65
Start_y=170
Width=220
Height=10
[Widget 23666]
Type=Button
Name=Button23666
Value=Show Example
Start_x=339
Start_y=181
Width=60
Height=12
onCommand=DisplayImage(mailserv.ini)
[Widget 24666]
Type=BoldGroup
Name=GroupBox24666
Value=Outgoing Server (SMTP)
Start_x=0
Start_y=203
Width=407
Height=40
[Widget 25666]
Type=Text
Name=Text25666
Value=Server Name:
Start_x=7
Start_y=220
Width=57
Height=10
[Widget 26666]
Type=EditBox
Name=OutgoingServer
Value=
Start_x=65
Start_y=218
Width=190
Height=12

Some files were not shown because too many files have changed in this diff Show More