mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 03:21:53 +01:00
Merge
This commit is contained in:
commit
74b0fdddc8
1938 changed files with 79620 additions and 59936 deletions
12
.bzrignore
12
.bzrignore
|
@ -272,11 +272,13 @@ emacs.h
|
|||
extra/comp_err
|
||||
extra/my_print_defaults
|
||||
extra/mysql_install
|
||||
extra/mysql_tzinfo_to_sql
|
||||
extra/mysql_waitpid
|
||||
extra/perror
|
||||
extra/replace
|
||||
extra/resolve_stack_dump
|
||||
extra/resolveip
|
||||
extra/tztime.cc
|
||||
fcns.c
|
||||
fcns.h
|
||||
gmon.out
|
||||
|
@ -316,6 +318,7 @@ isam/test3
|
|||
libmysql/*.c
|
||||
libmysql/conf_to_src
|
||||
libmysql/my_static.h
|
||||
libmysql/my_time.c
|
||||
libmysql/mysys_priv.h
|
||||
libmysql/net.c
|
||||
libmysql/vio_priv.h
|
||||
|
@ -382,6 +385,7 @@ libmysqld/log_event.cc
|
|||
libmysqld/md5.c
|
||||
libmysqld/mf_iocache.cc
|
||||
libmysqld/mini_client.cc
|
||||
libmysqld/my_time.c
|
||||
libmysqld/net_pkg.cc
|
||||
libmysqld/net_serv.cc
|
||||
libmysqld/opt_ft.cc
|
||||
|
@ -443,6 +447,7 @@ libmysqld/strfunc.cc
|
|||
libmysqld/table.cc
|
||||
libmysqld/thr_malloc.cc
|
||||
libmysqld/time.cc
|
||||
libmysqld/tztime.cc
|
||||
libmysqld/uniques.cc
|
||||
libmysqld/unireg.cc
|
||||
libtool
|
||||
|
@ -496,6 +501,7 @@ mysql-max-4.0.2-alpha-pc-linux-gnu-i686.tar.gz
|
|||
mysql-test/gmon.out
|
||||
mysql-test/install_test_db
|
||||
mysql-test/mysql-test-run
|
||||
mysql-test/ndb/ndbcluster
|
||||
mysql-test/r/*.reject
|
||||
mysql-test/r/rpl000001.eval
|
||||
mysql-test/r/rpl000002.eval
|
||||
|
@ -721,6 +727,10 @@ sql/gen_lex_hash
|
|||
sql/gmon.out
|
||||
sql/lex_hash.h
|
||||
sql/mini_client_errors.c
|
||||
sql/my_time.c
|
||||
sql/mysql_tzinfo_to_sql
|
||||
sql/mysql_tzinfo_to_sql.cc
|
||||
sql/mysql_tzinfo_to_sql_tztime.cc
|
||||
sql/mysqlbinlog
|
||||
sql/mysqld
|
||||
sql/mysqld-purecov
|
||||
|
@ -740,6 +750,7 @@ sql/sql_yacc.cc
|
|||
sql/sql_yacc.h
|
||||
sql/sql_yacc.output
|
||||
sql/sql_yacc.yy.orig
|
||||
sql/test_time
|
||||
sql/udf_example.so
|
||||
sql_error.cc
|
||||
sql_prepare.cc
|
||||
|
@ -788,3 +799,4 @@ vio/test-ssl
|
|||
vio/test-sslclient
|
||||
vio/test-sslserver
|
||||
vio/viotest-ssl
|
||||
libmysqld/sql_view.cc
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
#! /bin/sh
|
||||
|
||||
path=`dirname $0`
|
||||
. "$path/SETUP.sh"
|
||||
|
||||
extra_flags="$pentium_cflags $debug_cflags"
|
||||
c_warnings="$c_warnings $debug_extra_warnings"
|
||||
cxx_warnings="$cxx_warnings $debug_extra_warnings"
|
||||
extra_configs="$pentium_configs $debug_configs "
|
||||
|
||||
extra_configs="$extra_configs --enable-maintainer-mode"
|
||||
|
||||
. "$path/FINISH.sh"
|
|
@ -7,6 +7,11 @@ extra_flags="$pentium_cflags $fast_cflags -g"
|
|||
extra_configs="$pentium_configs"
|
||||
#strip=yes
|
||||
|
||||
#extra_configs="$extra_configs --with-innodb --with-berkeley-db \
|
||||
# --with-embedded-server --enable-thread-safe-client \
|
||||
# --with-openssl --with-vio --with-raid --with-ndbcluster"
|
||||
# removed per discussion with Brian and Sanja because it makes Bootstrap
|
||||
# fail
|
||||
extra_configs="$extra_configs --with-innodb --with-berkeley-db \
|
||||
--with-embedded-server --enable-thread-safe-client \
|
||||
--with-openssl --with-vio --with-raid --with-ndbcluster"
|
||||
|
|
|
@ -11,20 +11,24 @@ administrador@light.hegel.local
|
|||
ahlentz@co3064164-a.rochd1.qld.optusnet.com.au
|
||||
akishkin@work.mysql.com
|
||||
antony@ltantony.dsl-verizon.net
|
||||
antony@ltantony.rdg.cyberkinetica.com
|
||||
antony@ltantony.rdg.cyberkinetica.homeunix.net
|
||||
arjen@bitbike.com
|
||||
arjen@co3064164-a.bitbike.com
|
||||
arjen@fred.bitbike.com
|
||||
arjen@george.bitbike.com
|
||||
autotest@mc01.ndb.mysql.com
|
||||
bar@bar.intranet.mysql.r18.ru
|
||||
bar@bar.mysql.r18.ru
|
||||
bar@bar.udmsearch.izhnet.ru
|
||||
bar@deer.(none)
|
||||
bar@gw.udmsearch.izhnet.ru
|
||||
bar@mysql.com
|
||||
bell@laptop.sanja.is.com.ua
|
||||
bell@sanja.is.com.ua
|
||||
bk@admin.bk
|
||||
bk@mysql.r18.ru
|
||||
brian@avenger.(none)
|
||||
brian@brian-akers-computer.local
|
||||
carsten@tsort.bitbybit.dk
|
||||
davida@isil.mysql.com
|
||||
|
@ -37,6 +41,7 @@ georg@beethoven.local
|
|||
gerberb@ou800.zenez.com
|
||||
gluh@gluh.(none)
|
||||
gluh@gluh.mysql.r18.ru
|
||||
gordon@zero.local.lan
|
||||
greg@gcw.ath.cx
|
||||
greg@mysql.com
|
||||
guilhem@mysql.com
|
||||
|
@ -77,6 +82,7 @@ jcole@sarvik.tfr.cafe.ee
|
|||
jcole@tetra.spaceapes.com
|
||||
joreland@mysql.com
|
||||
jorge@linux.jorge.mysql.com
|
||||
jplindst@t41.(none)
|
||||
kaj@work.mysql.com
|
||||
konstantin@mysql.com
|
||||
kostja@oak.local
|
||||
|
@ -87,9 +93,11 @@ marko@hundin.mysql.fi
|
|||
miguel@hegel.(none)
|
||||
miguel@hegel.br
|
||||
miguel@hegel.local
|
||||
miguel@hegel.txg
|
||||
miguel@light.
|
||||
miguel@light.local
|
||||
miguel@sartre.local
|
||||
mikron@mikael-ronstr-ms-dator.local
|
||||
mmatthew@markslaptop.
|
||||
monty@bitch.mysql.fi
|
||||
monty@butch.
|
||||
|
@ -107,13 +115,18 @@ monty@tik.
|
|||
monty@tik.mysql.fi
|
||||
monty@tramp.mysql.fi
|
||||
monty@work.mysql.com
|
||||
mronstrom@mysql.com
|
||||
mskold@mysql.com
|
||||
msvensson@build.mysql.com
|
||||
mwagner@cash.mwagner.org
|
||||
mwagner@evoq.mwagner.org
|
||||
mwagner@here.mwagner.org
|
||||
mwagner@work.mysql.com
|
||||
mydev@mysql.com
|
||||
mysql@home.(none)
|
||||
mysqldev@build.mysql2.com
|
||||
mysqldev@melody.local
|
||||
mysqldev@mysql.com
|
||||
ndbdev@ndbmaster.mysql.com
|
||||
nick@mysql.com
|
||||
nick@nick.leippe.com
|
||||
|
@ -124,6 +137,7 @@ paul@ice.local
|
|||
paul@ice.snake.net
|
||||
paul@kite-hub.kitebird.com
|
||||
paul@teton.kitebird.com
|
||||
pekka@mysql.com
|
||||
pem@mysql.com
|
||||
pem@per-erik-martins-dator.local
|
||||
peter@linux.local
|
||||
|
@ -169,6 +183,9 @@ timour@mysql.com
|
|||
tom@basil-firewall.home.com
|
||||
tomas@mc05.(none)
|
||||
tomas@poseidon.(none)
|
||||
tomas@poseidon.bredbandsbolaget.se
|
||||
tomas@poseidon.elisa-laajakaista.fi
|
||||
tomas@poseidon.ndb.mysql.com
|
||||
tonu@hundin.mysql.fi
|
||||
tonu@volk.internalnet
|
||||
tonu@x153.internalnet
|
||||
|
|
|
@ -46,6 +46,7 @@ $opt_test= undef;
|
|||
$opt_skip_check= undef;
|
||||
$opt_skip_manual= undef;
|
||||
$opt_win_dist= undef;
|
||||
$opt_quiet= undef;
|
||||
$version= "unknown";
|
||||
$major=$minor=$release=0;
|
||||
|
||||
|
@ -67,7 +68,8 @@ GetOptions(
|
|||
"suffix=s",
|
||||
"test|t",
|
||||
"verbose|v",
|
||||
"win-dist|w"
|
||||
"win-dist|w",
|
||||
"quiet|q",
|
||||
) || print_help("");
|
||||
|
||||
#
|
||||
|
@ -99,8 +101,6 @@ if (defined $opt_build_command)
|
|||
print_help("") if ($opt_help);
|
||||
defined($REPO=$ARGV[0]) || print_help("Please enter the BK repository to be used!");
|
||||
|
||||
$subject= "Bootstrap of $REPO failed" if $opt_mail;
|
||||
|
||||
&logger("Starting build");
|
||||
&abort("The directory \"$REPO\" could not be found!") if (!-d $REPO);
|
||||
&logger("Using $REPO as the BK parent repository");
|
||||
|
@ -306,7 +306,7 @@ if (!$opt_dry_run)
|
|||
#
|
||||
# Now build the source distribution
|
||||
#
|
||||
&logger("Compiling");
|
||||
&logger("Compiling...");
|
||||
$command= $build_command;
|
||||
&run_command($command, "Compilation failed!");
|
||||
|
||||
|
@ -403,6 +403,7 @@ Options:
|
|||
include a log file snippet, if logging is enabled)
|
||||
Note that the \@-Sign needs to be quoted!
|
||||
Example: --mail=user\\\@domain.com
|
||||
-q, --quiet Be quiet
|
||||
-p, --pull Update the source BK trees before building
|
||||
-r, --revision=<rev> Export the tree as of revision <rev>
|
||||
(default is up to the latest revision)
|
||||
|
|
|
@ -7,16 +7,17 @@ use Sys::Hostname;
|
|||
@config_options= ();
|
||||
@make_options= ();
|
||||
|
||||
$opt_distribution=$opt_user=$opt_config_env="";
|
||||
$opt_distribution=$opt_user=$opt_config_env=$opt_config_extra_env="";
|
||||
$opt_dbd_options=$opt_perl_options=$opt_config_options=$opt_make_options=$opt_suffix="";
|
||||
$opt_tmp=$opt_version_suffix="";
|
||||
$opt_help=$opt_delete=$opt_debug=$opt_stage=$opt_no_test=$opt_no_perl=$opt_with_low_memory=$opt_fast_benchmark=$opt_static_client=$opt_static_server=$opt_static_perl=$opt_sur=$opt_with_small_disk=$opt_local_perl=$opt_tcpip=$opt_build_thread=$opt_use_old_distribution=$opt_enable_shared=$opt_no_crash_me=$opt_no_strip=$opt_with_cluster=$opt_with_debug=$opt_no_benchmark=$opt_no_mysqltest=$opt_without_embedded=$opt_readline=0;
|
||||
$opt_innodb=$opt_bdb=$opt_raid=$opt_libwrap=$opt_clearlogs=$opt_without_ndbcluster=0;
|
||||
$opt_innodb=$opt_bdb=$opt_raid=$opt_libwrap=$opt_clearlogs=0;
|
||||
|
||||
GetOptions(
|
||||
"bdb",
|
||||
"build-thread=i",
|
||||
"config-env=s" => \@config_env,
|
||||
"config-extra-env=s" => \@config_extra_env,
|
||||
"config-options=s" => \@config_options,
|
||||
"dbd-options=s",
|
||||
"debug",
|
||||
|
@ -56,8 +57,7 @@ GetOptions(
|
|||
"with-other-libc=s",
|
||||
"with-small-disk",
|
||||
"without-embedded",
|
||||
"clearlogs",
|
||||
"without-ndbcluster",
|
||||
"clearlogs",
|
||||
) || usage();
|
||||
|
||||
usage() if ($opt_help);
|
||||
|
@ -81,6 +81,12 @@ if (@config_env > 0)
|
|||
$opt_config_env= join(" ", @config_env);
|
||||
}
|
||||
|
||||
if (@config_extra_env > 0)
|
||||
{
|
||||
chomp(@config_extra_env);
|
||||
$opt_config_extra_env= join(" ", @config_extra_env);
|
||||
}
|
||||
|
||||
$host= hostname();
|
||||
chomp($uname=`uname`);
|
||||
$full_host_name=$host;
|
||||
|
@ -91,6 +97,7 @@ $email="$opt_user\@mysql.com";
|
|||
chomp($pwd = `pwd`);
|
||||
$VER= basename($opt_distribution);
|
||||
$VER=~ /mysql.*-([1-9]\.[0-9]{1,2}\.[0-9]{1,2}.*)\.tar*/; $version=$1;
|
||||
$release=""; # Shut up perl
|
||||
($major, $minor, $release) = split(/\./,$version);
|
||||
$log="$pwd/Logs/$host-$major.$minor$opt_version_suffix.log";
|
||||
$opt_distribution =~ /(mysql[^\/]*)\.tar/;
|
||||
|
@ -113,6 +120,8 @@ if (defined($gcc_version) && ! $opt_config_env)
|
|||
}
|
||||
}
|
||||
|
||||
$opt_config_env.=" $opt_config_extra_env";
|
||||
|
||||
$new_opt_tmp=0;
|
||||
if ($opt_tmp)
|
||||
{
|
||||
|
@ -139,6 +148,7 @@ $ENV{'MYSQL_TCP_PORT'}= $mysql_tcp_port= 3334 + $opt_build_thread*2;
|
|||
$ENV{'MYSQL_UNIX_PORT'}=$mysql_unix_port="$opt_tmp/mysql$opt_suffix.build";
|
||||
$ENV{"PERL5LIB"}="$pwd/$host/perl5:$pwd/$host/perl5/site_perl";
|
||||
$slave_port=$mysql_tcp_port+16;
|
||||
$ndbcluster_port= 9350 + $opt_build_thread*2;
|
||||
$manager_port=$mysql_tcp_port+1;
|
||||
$mysqladmin_args="--no-defaults -u root --connect_timeout=5 --shutdown_timeout=20";
|
||||
|
||||
|
@ -156,8 +166,22 @@ select STDOUT;
|
|||
$|=1;
|
||||
|
||||
info("Compiling MySQL$opt_version_suffix at $host$opt_suffix, stage: $opt_stage\n");
|
||||
info("LD_LIBRARY_PATH is $ENV{LD_LIBRARY_PATH}");
|
||||
info("PATH is $ENV{PATH}");
|
||||
|
||||
log_timestamp();
|
||||
|
||||
$md5_result= safe_system("perl $ENV{HOME}/my_md5sum -c ${opt_distribution}.md5");
|
||||
|
||||
if ($md5_result != 0)
|
||||
{
|
||||
abort("MD5 check failed for $opt_distribution!");
|
||||
}
|
||||
else
|
||||
{
|
||||
info("SUCCESS: MD5 checks for $opt_distribution");
|
||||
}
|
||||
|
||||
if (-x "$host/bin/mysqladmin")
|
||||
{
|
||||
log_system("$host/bin/mysqladmin $mysqladmin_args -S $mysql_unix_port -s shutdown");
|
||||
|
@ -237,9 +261,15 @@ if ($opt_stage <= 1)
|
|||
$opt_config_options.= " --with-low-memory" if ($opt_with_low_memory);
|
||||
$opt_config_options.= " --with-mysqld-ldflags=-all-static" if ($opt_static_server);
|
||||
$opt_config_options.= " --with-raid" if ($opt_raid);
|
||||
$opt_config_options.= " --with-readline" if ($opt_readline);
|
||||
if ($opt_readline)
|
||||
{
|
||||
$opt_config_options.= " --with-readline";
|
||||
}
|
||||
else
|
||||
{
|
||||
$opt_config_options.= " --with-libedit";
|
||||
}
|
||||
$opt_config_options.= " --with-embedded-server" unless ($opt_without_embedded);
|
||||
$opt_config_options.= " --without-ndbcluster" if ($opt_without_ndbcluster);
|
||||
$opt_config_options.= " --with-ndbcluster" if ($opt_with_cluster);
|
||||
|
||||
# Only enable InnoDB when requested (required to be able to
|
||||
|
@ -295,7 +325,7 @@ if ($opt_stage <= 3)
|
|||
}
|
||||
|
||||
$flags.= " --no-strip" if ($opt_no_strip || $opt_with_debug);
|
||||
$flags.= " --with-ndbcluster" if ($opt__with_ndbcluster);
|
||||
$flags.= " --with-ndbcluster" if ($opt_with_cluster);
|
||||
check_system("scripts/make_binary_distribution --tmp=$opt_tmp --suffix=$opt_suffix $flags",".tar.gz created");
|
||||
safe_system("mv mysql*.t*gz $pwd/$host");
|
||||
if (-f "client/.libs/mysqladmin")
|
||||
|
@ -312,6 +342,11 @@ if ($opt_stage <= 3)
|
|||
$tar_file=<$pwd/$host/mysql*.t*gz>;
|
||||
abort ("Could not find tarball!") unless ($tar_file);
|
||||
|
||||
# Generate the MD5 for the binary distribution
|
||||
$tar_file=~ /(mysql[^\/]*)\.(tar\.gz|tgz)/;
|
||||
$tar_file_lite= "$1.$2";
|
||||
system("cd $pwd/$host; perl $ENV{HOME}/my_md5sum $tar_file_lite > ${tar_file_lite}.md5");
|
||||
|
||||
#
|
||||
# Unpack the binary distribution
|
||||
#
|
||||
|
@ -334,10 +369,12 @@ $ENV{"LD_LIBRARY_PATH"}= ("$test_dir/lib" .
|
|||
#
|
||||
if ($opt_stage <= 5 && !$opt_no_test && !$opt_no_mysqltest)
|
||||
{
|
||||
my $flags= "";
|
||||
$flags.= " --with-ndbcluster" if ($opt_with_cluster);
|
||||
log_timestamp();
|
||||
system("mkdir $bench_tmpdir") if (! -d $bench_tmpdir);
|
||||
safe_cd("${test_dir}/mysql-test");
|
||||
check_system("./mysql-test-run --warnings --tmpdir=$bench_tmpdir --master_port=$mysql_tcp_port --slave_port=$slave_port --manager-port=$manager_port --no-manager --sleep=10", "tests were successful");
|
||||
check_system("./mysql-test-run $flags --warnings --tmpdir=$bench_tmpdir --master_port=$mysql_tcp_port --slave_port=$slave_port --ndbcluster_port=$ndbcluster_port --manager-port=$manager_port --no-manager --sleep=10", "tests were successful");
|
||||
}
|
||||
|
||||
#
|
||||
|
@ -448,16 +485,25 @@ exit 0;
|
|||
sub usage
|
||||
{
|
||||
print <<EOF;
|
||||
$0 version 1.5
|
||||
$0 version 1.6
|
||||
|
||||
$0 takes the following options:
|
||||
|
||||
--bdb
|
||||
Compile with support for Berkeley DB tables
|
||||
|
||||
--build-thread=<1,2,3...>
|
||||
When running several Do-compile runs in parallel, each build
|
||||
should have its own thread ID, so running the test suites
|
||||
does not cause conflicts with duplicate TCP port numbers.
|
||||
|
||||
--config-env=<environment for configure>
|
||||
To set up the environment, like 'CC=cc CXX=gcc CXXFLAGS=-O3'
|
||||
|
||||
--config-extra-env <environment for configure>
|
||||
Additional flags for environment (not CC or CXX). Should be used when one
|
||||
wants Do-compile to propose proper CC and CXX flags.
|
||||
|
||||
--config-options=<options>
|
||||
To add some extra options to configure (e.g. '--with-perl=yes')
|
||||
|
||||
|
@ -554,7 +600,7 @@ If user is empty then no mail is sent.
|
|||
Set name suffix (e.g. 'com' or '-max') for a distribution
|
||||
|
||||
--with cluster
|
||||
Compile with NDB Cluster
|
||||
Compile and test with NDB Cluster enabled
|
||||
|
||||
--with-debug
|
||||
Build binaries with debug information (implies "--no-strip")
|
||||
|
@ -630,7 +676,10 @@ sub safe_system
|
|||
my($com,$res)=@_;
|
||||
print LOG "$com\n";
|
||||
print "$host: $com\n" if ($opt_debug);
|
||||
system("$com >> $log 2>&1") && abort("error: Couldn't execute command, error: " . ($? / 256));
|
||||
my $result= system("$com >> $log 2>&1");
|
||||
abort("error: Couldn't execute command, error: " . ($? / 256)) unless $result == 0;
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
sub check_system
|
||||
|
|
|
@ -96,7 +96,7 @@ $SI_PARAMS= <$SUPFILEDIR/StartupParameters.plist>;
|
|||
$SI_POST= <$SUPFILEDIR/StartupItem.postinstall>;
|
||||
$SI_NAME= "MySQLStartupItem";
|
||||
$SI_DIR_NAME= "MySQLCOM";
|
||||
$SI_SCRIPT= <$SUPFILEDIR/MySQL>;
|
||||
$SI_SCRIPT= <$SUPFILEDIR/MySQLCOM>;
|
||||
@RESOURCES= qw/ ReadMe.txt postinstall preinstall /;
|
||||
@LICENSES= ("$SRCBASEDIR/COPYING","$SRCBASEDIR/MySQLEULA.txt");
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ use Getopt::Long;
|
|||
Getopt::Long::Configure ("bundling");
|
||||
use Sys::Hostname;
|
||||
|
||||
$opt_nobuild = undef;
|
||||
$opt_cc= undef;
|
||||
$opt_cflags= undef;
|
||||
$opt_clean= undef;
|
||||
|
@ -48,6 +49,7 @@ GetOptions(
|
|||
"help|h",
|
||||
"log|l:s",
|
||||
"mail|m=s",
|
||||
"nobuild",
|
||||
"verbose|v",
|
||||
) || &print_help;
|
||||
|
||||
|
@ -79,7 +81,10 @@ foreach (@spec)
|
|||
if (m/^%define\s*mysql_version\s*(.*)/)
|
||||
{
|
||||
$VERSION= $1;
|
||||
$VERSION_SRPM=$VERSION;
|
||||
($MAJOR, $MINOR, $RELEASE)= split(/\./,$VERSION);
|
||||
$VERSION_SRPM= $MAJOR . '.' . $MINOR . '.' . $RELEASE;
|
||||
$VERSION_SRPM =~ s/\-\w+$//;
|
||||
($RELEASE, $SUFFIX)= split(/\-/,$RELEASE);
|
||||
$SUFFIX= "-" . $SUFFIX if ($SUFFIX);
|
||||
}
|
||||
|
@ -143,60 +148,64 @@ chomp($SRCRPMDIR= `$RPM --eval "%{_srcrpmdir}" 2> /dev/null`);
|
|||
|
||||
$SOURCEFILE= glob "mysql*-$VERSION.tar.gz";
|
||||
|
||||
&logger("Starting RPM build of MySQL-$VERSION on $HOST");
|
||||
unless($opt_nobuild) {
|
||||
|
||||
foreach $file ($SOURCEFILE, $SPECFILE)
|
||||
{
|
||||
&abort("Unable to find $file!") unless (-f "$file");
|
||||
}
|
||||
&logger("Starting RPM build of MySQL-$VERSION on $HOST");
|
||||
|
||||
foreach $file ($SOURCEFILE, $SPECFILE)
|
||||
{
|
||||
&abort("Unable to find $file!") unless (-f "$file");
|
||||
}
|
||||
|
||||
#
|
||||
# Install source and spec file
|
||||
#
|
||||
&logger("Copying SOURCE and SPEC file to build directories.");
|
||||
unless ($opt_dry_run)
|
||||
{
|
||||
copy($SOURCEFILE, $SOURCEDIR)
|
||||
or &abort("Unable to copy $SOURCEFILE to $SOURCEDIR!");
|
||||
copy($SPECFILE, $SPECDIR)
|
||||
or &abort("Unable to copy $SPECFILE to $SPECDIR!");
|
||||
}
|
||||
&logger("Copying SOURCE and SPEC file to build directories.");
|
||||
unless ($opt_dry_run)
|
||||
{
|
||||
copy($SOURCEFILE, $SOURCEDIR)
|
||||
or &abort("Unable to copy $SOURCEFILE to $SOURCEDIR!");
|
||||
copy($SPECFILE, $SPECDIR)
|
||||
or &abort("Unable to copy $SPECFILE to $SPECDIR!");
|
||||
}
|
||||
|
||||
#
|
||||
# Set environment variables - these are being used in the
|
||||
# official MySQL RPM spec file
|
||||
#
|
||||
&logger("Setting special build environment variables")
|
||||
if ($opt_cc) or ($opt_cflags) or ($opt_cxxflags) or ($opt_cxx);
|
||||
$ENV{MYSQL_BUILD_CC}=$opt_cc if ($opt_cc);
|
||||
$ENV{MYSQL_BUILD_CFLAGS}=$opt_cflags if ($opt_cflags);
|
||||
$ENV{MYSQL_BUILD_CXXFLAGS}=$opt_cxxflags if ($opt_cxxflags);
|
||||
$ENV{MYSQL_BUILD_CXX}=$opt_cxx if ($opt_cxx);
|
||||
&logger("Setting special build environment variables")
|
||||
if ($opt_cc) or ($opt_cflags) or ($opt_cxxflags) or ($opt_cxx);
|
||||
$ENV{MYSQL_BUILD_CC}=$opt_cc if ($opt_cc);
|
||||
$ENV{MYSQL_BUILD_CFLAGS}=$opt_cflags if ($opt_cflags);
|
||||
$ENV{MYSQL_BUILD_CXXFLAGS}=$opt_cxxflags if ($opt_cxxflags);
|
||||
$ENV{MYSQL_BUILD_CXX}=$opt_cxx if ($opt_cxx);
|
||||
|
||||
#
|
||||
# Build the RPMs
|
||||
#
|
||||
$command= "$RPM";
|
||||
$command.= " -v" if ($opt_verbose);
|
||||
$command.= " -ba";
|
||||
$command.= " --clean $RMSOURCE" if $opt_clean;
|
||||
$command.= " $SPECDIR/";
|
||||
$command.= basename($SPECFILE);
|
||||
&logger("Building RPM.");
|
||||
&run_command($command, "Error while building the RPMs!");
|
||||
$command= "$RPM";
|
||||
$command.= " -v" if ($opt_verbose);
|
||||
$command.= " -ba";
|
||||
$command.= " --clean $RMSOURCE" if $opt_clean;
|
||||
$command.= " $SPECDIR/";
|
||||
$command.= basename($SPECFILE);
|
||||
&logger("Building RPM.");
|
||||
&run_command($command, "Error while building the RPMs!");
|
||||
}
|
||||
|
||||
#
|
||||
# Move the resulting RPMs into the pwd
|
||||
#
|
||||
$command= "mv";
|
||||
$command.= " -v " if ($opt_verbose);
|
||||
$command.= " $SRCRPMDIR/MySQL*$VERSION*.src.rpm $PWD";
|
||||
$command.= " $SRCRPMDIR/MySQL*$VERSION_SRPM*.src.rpm $PWD";
|
||||
&logger("Moving source RPM to current dir.");
|
||||
&run_command($command, "Error moving source RPM!");
|
||||
|
||||
$command= "mv";
|
||||
$command.= " -v " if ($opt_verbose);
|
||||
$command.= " $RPMDIR/$RPMARCH/MySQL*$VERSION*.$RPMARCH.rpm $PWD";
|
||||
# $command.= " $RPMDIR/$RPMARCH/MySQL*$VERSION*.$RPMARCH.rpm $PWD";
|
||||
$command.= " $RPMDIR/$RPMARCH/MySQL*$VERSION_SRPM*.$RPMARCH.rpm $PWD";
|
||||
&logger("Moving binary RPMs to current dir.");
|
||||
&run_command($command, "Error moving binary RPMs!");
|
||||
|
||||
|
|
|
@ -5,7 +5,10 @@
|
|||
#
|
||||
sub logger
|
||||
{
|
||||
my $message=$_[0];
|
||||
my $message= $_[0];
|
||||
my $cmnd= $_[1];
|
||||
|
||||
print $message . "\n" if !$opt_quiet && !$opt_verbose && !$cmnd;
|
||||
print timestamp() . " " . $message . "\n" if $opt_verbose;
|
||||
if (defined $opt_log && !$opt_dry_run)
|
||||
{
|
||||
|
@ -30,9 +33,12 @@ sub run_command
|
|||
}
|
||||
else
|
||||
{
|
||||
&logger($command);
|
||||
$command.= " >> $LOGFILE 2>&1" if defined $opt_log;
|
||||
$command.= " > /dev/null" if (!$opt_verbose && !$opt_log);
|
||||
&logger($command, 1);
|
||||
|
||||
$command.= ';' unless ($command =~ m/^.*;$/);
|
||||
|
||||
$command =~ s/;/ >> $LOGFILE 2>&1;/g if defined $opt_log;
|
||||
$command =~ s/;/ > \/dev\/null;/g if (!$opt_verbose && !$opt_log);
|
||||
system($command) == 0 or &abort("$errormsg\n");
|
||||
}
|
||||
}
|
||||
|
@ -47,6 +53,7 @@ sub abort
|
|||
{
|
||||
my $message= $_[0];
|
||||
my $messagefile;
|
||||
my $subject= "Bootstrap of $REPO failed" if $opt_mail;
|
||||
$message= "ERROR: " . $message;
|
||||
&logger($message);
|
||||
|
||||
|
|
141
Build-tools/my_md5sum
Executable file
141
Build-tools/my_md5sum
Executable file
|
@ -0,0 +1,141 @@
|
|||
#!/usr/bin/perl
|
||||
#
|
||||
# my_md5sum
|
||||
#
|
||||
# Script to clone the 'md5sum' command found on modern systems, since that
|
||||
# command is not always found on all systems.
|
||||
#
|
||||
# Use the "--help" option for more info!
|
||||
#
|
||||
# Written by Matt Wagner <matt@mysql.com>
|
||||
#
|
||||
use strict;
|
||||
|
||||
#
|
||||
# Use local perl libraries first. 'unshift' adds to the front of @INC
|
||||
# The local perl library dir hidden is $HOME/.perllibs on each build host
|
||||
#
|
||||
BEGIN
|
||||
{
|
||||
my $homedir= $ENV{HOME};
|
||||
unshift (@INC, "$homedir/.perllibs");
|
||||
}
|
||||
|
||||
use Digest::MD5;
|
||||
use Getopt::Long;
|
||||
|
||||
my $VER= "1.3";
|
||||
my $EXIT= 0;
|
||||
|
||||
#
|
||||
# Strip the leading path info off the program name ($0). We want 'my_md5sum'
|
||||
# not './my_md5sum'.
|
||||
#
|
||||
$0=~ s/^.*\/(.+)$/$1/;
|
||||
|
||||
my ($opt_check, $opt_help)= undef;
|
||||
|
||||
GetOptions(
|
||||
"check|c" => \$opt_check,
|
||||
"help|h" => \$opt_help,
|
||||
) || usage();
|
||||
|
||||
#
|
||||
# Put all the [file1 file2 file3 ...]'s into an array
|
||||
#
|
||||
my @files = @ARGV;
|
||||
|
||||
#
|
||||
# Give the "--help" text if:
|
||||
# - "--help|-h" was specified
|
||||
# - The number of files given as arguments is nil
|
||||
# - The "--check|-c" option is used with more than one [file] argument
|
||||
#
|
||||
usage() if $opt_help || $#files == -1 || ($opt_check && $#files > 0);
|
||||
|
||||
# If "--check|-c", then go into checking
|
||||
if ($opt_check)
|
||||
{
|
||||
open (CHECKFILE, $files[0]) or die "$files[0]: $!";
|
||||
|
||||
while (<CHECKFILE>)
|
||||
{
|
||||
#
|
||||
# Goto the next line in the file if it does not match a typical
|
||||
# digest line like:
|
||||
#
|
||||
# f1007efa2c72daa693981ec764cdeaca Bootstrap
|
||||
#
|
||||
next if $_!~ m/^([a-z0-9]{32})\s+(.+)$/;
|
||||
|
||||
# Collect the trappings from the above regex
|
||||
my $checksum= $1;
|
||||
my $checkfile= $2;
|
||||
|
||||
# Generate a fresh MD5 for the file in question
|
||||
my $digest= &mkmd5($checkfile);
|
||||
|
||||
# Check the fresh MD5 against what is recorded in the file
|
||||
# Print an error message if they don't match, else print OK
|
||||
print "$checkfile: FAILED\n" if $digest ne $checksum;
|
||||
print "$checkfile: OK\n" if $digest eq $checksum;
|
||||
|
||||
# Set the exit() status to non-zero if FAILED
|
||||
$EXIT= 1 if $digest ne $checksum;
|
||||
}
|
||||
}
|
||||
# Else generate the MD5 digest to STDOUT
|
||||
else
|
||||
{
|
||||
foreach my $file (@files)
|
||||
{
|
||||
my $digest= &mkmd5($file);
|
||||
|
||||
print "$digest $file\n";
|
||||
}
|
||||
}
|
||||
|
||||
exit($EXIT);
|
||||
|
||||
|
||||
#
|
||||
# This routine generates the MD5 digest of a file
|
||||
#
|
||||
sub mkmd5
|
||||
{
|
||||
my $file= shift;
|
||||
|
||||
open (FILE, $file) or die "$file: $!";
|
||||
binmode(FILE);
|
||||
|
||||
my $digest= Digest::MD5->new->addfile(*FILE)->hexdigest;
|
||||
|
||||
close FILE;
|
||||
|
||||
return $digest;
|
||||
}
|
||||
|
||||
#
|
||||
# Print the help text
|
||||
#
|
||||
sub usage
|
||||
{
|
||||
print <<EOF;
|
||||
|
||||
$0 version $VER by Matt Wagner <matt\@mysql.com>
|
||||
|
||||
Usage:
|
||||
$0 [-c [file]] | [file1...]
|
||||
Generates or checks MD5 message digests.
|
||||
|
||||
Options:
|
||||
-c, --check Check message digests (default is generate)
|
||||
-h, --help Display this text and exit
|
||||
|
||||
The input for -c should be the list of message digests and file names that is
|
||||
printed on STDOUT by this program when it generates digests.
|
||||
|
||||
EOF
|
||||
|
||||
exit(0);
|
||||
}
|
|
@ -12,15 +12,17 @@ use Getopt::Long;
|
|||
|
||||
$opt_help = 0;
|
||||
$opt_version = 0;
|
||||
$opt_verbose = 0;
|
||||
$opt_target = "mysql-copyright-target-";
|
||||
$opt_target .= `date +%d%m%y-%H%M%S`;
|
||||
chop $opt_target;
|
||||
|
||||
GetOptions("help","version","target=s") || error();
|
||||
GetOptions("help","version","target=s", "verbose") || error();
|
||||
|
||||
# fix the directory prefix for target dir
|
||||
|
||||
$WD= cwd();
|
||||
my $win_flag = 0;
|
||||
$opt_target= $WD . '/' . $opt_target;
|
||||
|
||||
&main();
|
||||
|
@ -50,6 +52,7 @@ sub main
|
|||
for ($i=0; $ARGV[$i]; $i++)
|
||||
{
|
||||
my $distfile= $ARGV[$i];
|
||||
$win_flag = ($distfile =~ /win-src/) ? 1 : 0;
|
||||
my $dir;
|
||||
|
||||
$dir= "mysql-copyright-";
|
||||
|
@ -66,20 +69,19 @@ sub main
|
|||
}
|
||||
# if the distfile is mysql-3.22.22-alpha.tar.gz, then
|
||||
# distname is 'mysql-3.22.22-alpha' and suffix '.tar.gz'
|
||||
if ($distfile =~ m/^($REG_BASENAME)([\-\_])
|
||||
($REG_VERSION){1}([\.\-\+])
|
||||
(.*)?$/xo)
|
||||
if ($distfile =~
|
||||
m/^($REG_BASENAME)([\-\_])($REG_VERSION){1}([\.\-\+]\w+\-\w+)?[\.\-\+](.*)?$/xo)
|
||||
{
|
||||
$distname= $1.$2.$3;
|
||||
$suffix= $5.$6;
|
||||
$suffix= $5;
|
||||
$fileext = $6;
|
||||
$newdistname= $1."com".$2.$3;
|
||||
$newdistname .= $suffix if $win_flag;
|
||||
}
|
||||
# find out the extract path (should be same as distname!)
|
||||
chomp($destdir= `tar ztf ../$distfile | head -1`);
|
||||
# remove slash from the end
|
||||
$destdir= substr($destdir, 0, -1);
|
||||
print "destdir: $destdir\n";
|
||||
print "distname: $distname\n";
|
||||
|
||||
if ("$destdir" ne "$distname")
|
||||
{
|
||||
|
@ -100,45 +102,108 @@ sub main
|
|||
# exist in the new mysql distributions, but let's be sure..
|
||||
unlink("$destdir/PUBLIC", "$destdir/README");
|
||||
copy("$WD/Docs/MySQLEULA.txt", "$destdir");
|
||||
|
||||
# remove readline subdir and update configure accordingly
|
||||
system("rm -rf $destdir/cmd-line-utils/readline");
|
||||
unlink ("$destdir/configure") or die "Can't delete $destdir/configure: $!\n";
|
||||
`(cd $destdir ; sed -e 's!\ cmd-line-utils\/readline\/Makefile\ dnl!!g' < configure.in > configure.in.new)`;
|
||||
rename ("$destdir/configure.in.new","$destdir/configure.in") or die "Can't rename $destdir/configure.in.new: $!\n";;
|
||||
`(cd $destdir ; autoconf)`;
|
||||
|
||||
# remove readline, bdb subdirs and update 'configure'
|
||||
my @extra_fat= ('bdb', 'cmd-line-utils/readline');
|
||||
|
||||
foreach my $fat (@extra_fat)
|
||||
{
|
||||
&trim_the_fat($fat);
|
||||
}
|
||||
|
||||
# fix file copyrights
|
||||
&fix_usage_copyright();
|
||||
&add_copyright();
|
||||
|
||||
# rename the directory with new distribution name
|
||||
chdir("$WD/$dir");
|
||||
print "renaming $destdir $newdistname\n" if $opt_verbose;
|
||||
rename($destdir, $newdistname);
|
||||
|
||||
# tar the new distribution
|
||||
`tar cz -f $opt_target/$newdistname.tar.gz *`;
|
||||
`tar cz -f $WD/$newdistname.tar.gz $newdistname`;
|
||||
$pec= $? >> 8;
|
||||
abort($dir, "Making new tar archive failed!\n") if ($pec);
|
||||
|
||||
# remove temporary directory
|
||||
chdir "..";
|
||||
`rm -rf $dir/`;
|
||||
chdir($WD) or print "$! Unable to move up one dir\n";
|
||||
`cd $WD`;
|
||||
my $cwd = getcwd();
|
||||
print "current dir is $cwd\n" if $opt_verbose ;
|
||||
if (-e $dir) {
|
||||
print "Trying to delete $dir\n" if $opt_verbose;
|
||||
if ( system("rm -rf $dir")){
|
||||
print "$! Unable to delete $dir!\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
exit(0);
|
||||
}
|
||||
|
||||
####
|
||||
#### This function will remove unwanted parts of a src tree for the mysqlcom
|
||||
#### distributions.
|
||||
####
|
||||
sub trim_the_fat
|
||||
{
|
||||
my $the_fat= shift;
|
||||
my $cwd= getcwd();
|
||||
|
||||
system("rm -rf $destdir/${the_fat}");
|
||||
if ($win_flag)
|
||||
{
|
||||
chdir("$destdir") or die "Unable to change directory to $destdir!: $!\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
chdir("$destdir");
|
||||
unlink ("configure") or die "Can't delete $destdir/configure: $!\n";
|
||||
open(CONFIGURE,"<configure.in") or die "Unable to open configure.in for read: $!\n";
|
||||
undef $/;
|
||||
my $configure= <CONFIGURE>;
|
||||
close(CONFIGURE);
|
||||
|
||||
#
|
||||
# If $the_fat Makefile line closes the parenthesis, then
|
||||
# replace that line with just the closing parenthesis.
|
||||
#
|
||||
if ($configure=~ m|${the_fat}/Makefile\)\n?|)
|
||||
{
|
||||
$configure=~ s|${the_fat}/Makefile(\)\n?)|$1|;
|
||||
}
|
||||
#
|
||||
# Else just delete the line
|
||||
#
|
||||
else
|
||||
{
|
||||
$configure=~ s|${the_fat}/Makefile dnl\n?||;
|
||||
}
|
||||
|
||||
open(CONFIGURE,">configure.in") or die "Unable to open configure.in for write: $!\n";
|
||||
print CONFIGURE $configure;
|
||||
close(CONFIGURE);
|
||||
`autoconf`;
|
||||
die "'./configure' was not produced!" unless (-f "configure");
|
||||
chdir("$cwd");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
####
|
||||
#### mysqld and MySQL client programs have a usage printed with --help.
|
||||
#### This usage includes a copyright, which needs to be modified
|
||||
####
|
||||
|
||||
sub fix_usage_copyright
|
||||
{
|
||||
my @Cfiles = `find . -type f -name \"*.c*\"`;
|
||||
foreach my $Cfile (@Cfiles)
|
||||
my $findlist = `find . -type f -name \"*.c*\"`;
|
||||
my @files = split("\n", $findlist);
|
||||
my $cwd = getcwd();
|
||||
|
||||
foreach my $file (@files)
|
||||
{
|
||||
chop $Cfile;
|
||||
`replace "This is free software," "This is commercial software," "and you are welcome to modify and redistribute it under the GPL license" "please see the file MySQLEULA.txt for details" -- $Cfile`;
|
||||
next if ! -f $file;
|
||||
print "processing file $file in cwd $cwd\n" if $opt_verbose;
|
||||
`replace "This is free software," "This is commercial software," "and you are welcome to modify and redistribute it under the GPL license" "please see the file MySQLEULA.txt for details" -- "$file"` ;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -148,11 +213,16 @@ sub fix_usage_copyright
|
|||
|
||||
sub add_copyright
|
||||
{
|
||||
my @files = `find . -type f -name "*"`;
|
||||
my $findlist = `find . -type f -name "*"`;
|
||||
my @files = split("\n", $findlist);
|
||||
my $cwd = getcwd();
|
||||
|
||||
foreach my $file (@files)
|
||||
{
|
||||
chop $file;
|
||||
`$WD/Build-tools/mysql-copyright-2 $file`;
|
||||
next if ! -f $file;
|
||||
next if -B $file;
|
||||
print "processing file $file in cwd $cwd\n" if $opt_verbose;
|
||||
`$WD/Build-tools/mysql-copyright-2 "$file"`;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -89,6 +89,7 @@ sub add_copyright
|
|||
elsif ($ARGV =~ /\.c$/ ||
|
||||
$ARGV =~ /\.cc$/ ||
|
||||
$ARGV =~ /\.h$/ ||
|
||||
$ARGV =~ /\.cpp$/ ||
|
||||
$ARGV =~ /\.yy$/)
|
||||
{
|
||||
$start_copyright="/* ";
|
||||
|
|
9
Docs/manual_toc.html
Normal file
9
Docs/manual_toc.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Place holder for manual_toc.html</title>
|
||||
</head>
|
||||
<body>
|
||||
This is just a place holder for the autogenerated manual_toc.html
|
||||
to make "make dist" happy.
|
||||
</body>
|
||||
</html>
|
|
@ -24,7 +24,7 @@ SUBDIRS = . include @docs_dirs@ \
|
|||
@readline_topdir@ sql-common \
|
||||
@thread_dirs@ pstack @sql_client_dirs@ \
|
||||
@sql_server_dirs@ scripts man tests SSL\
|
||||
BUILD @netware_dir@ os2 @libmysqld_dirs@ \
|
||||
BUILD netware os2 @libmysqld_dirs@ \
|
||||
@bench_dirs@ support-files @fs_dirs@ @tools_dirs@
|
||||
|
||||
# Relink after clean
|
||||
|
@ -36,7 +36,7 @@ linked_sources = linked_client_sources linked_server_sources \
|
|||
CLEANFILES = $(linked_sources)
|
||||
|
||||
# This is just so that the linking is done early.
|
||||
config.h: $(linked_sources)
|
||||
all-local: $(linked_sources)
|
||||
|
||||
linked_include_sources:
|
||||
cd include; $(MAKE) link_sources
|
||||
|
@ -71,7 +71,8 @@ linked_server_sources:
|
|||
cd sql; rm -f mini_client_errors.c;\
|
||||
@LN_CP_F@ ../libmysql/errmsg.c mini_client_errors.c;\
|
||||
rm -f pack.c;@LN_CP_F@ ../sql-common/pack.c pack.c;\
|
||||
rm -f client.c;@LN_CP_F@ ../sql-common/client.c client.c
|
||||
rm -f client.c;@LN_CP_F@ ../sql-common/client.c client.c;\
|
||||
rm -f my_time.c;@LN_CP_F@ ../sql-common/my_time.c my_time.c
|
||||
echo timestamp > linked_server_sources
|
||||
|
||||
# Create permission databases
|
||||
|
|
|
@ -1,51 +0,0 @@
|
|||
[Language]
|
||||
LanguageSupport0=0009
|
||||
|
||||
[OperatingSystem]
|
||||
OSSupport=0000000000010010
|
||||
|
||||
[Data]
|
||||
CurrentMedia=
|
||||
CurrentComponentDef=Default.cdf
|
||||
ProductName=MySQL Servers and Clients
|
||||
set_mifserial=
|
||||
DevEnvironment=Microsoft Visual C++ 6
|
||||
AppExe=
|
||||
set_dlldebug=No
|
||||
EmailAddresss=
|
||||
Instructions=Instructions.txt
|
||||
set_testmode=No
|
||||
set_mif=No
|
||||
SummaryText=
|
||||
Department=
|
||||
HomeURL=
|
||||
Author=
|
||||
Type=Database Application
|
||||
InstallRoot=D:\MySQL-Install\4.0.xcom-clas
|
||||
Version=1.00.000
|
||||
InstallationGUID=40744a4d-efed-4cff-84a9-9e6389550f5c
|
||||
set_level=Level 3
|
||||
CurrentFileGroupDef=Default.fdf
|
||||
Notes=Notes.txt
|
||||
set_maxerr=50
|
||||
set_args=
|
||||
set_miffile=Status.mif
|
||||
set_dllcmdline=
|
||||
Copyright=
|
||||
set_warnaserr=No
|
||||
CurrentPlatform=
|
||||
Category=
|
||||
set_preproc=
|
||||
CurrentLanguage=English
|
||||
CompanyName=MySQL
|
||||
Description=Description.txt
|
||||
set_maxwarn=50
|
||||
set_crc=Yes
|
||||
set_compileb4build=No
|
||||
|
||||
[MediaInfo]
|
||||
|
||||
[General]
|
||||
Type=INSTALLMAIN
|
||||
Version=1.10.000
|
||||
|
|
@ -1,192 +0,0 @@
|
|||
[Development]
|
||||
required0=Servers
|
||||
SELECTED=Yes
|
||||
FILENEED=STANDARD
|
||||
required1=Grant Tables
|
||||
HTTPLOCATION=
|
||||
STATUS=Examples, Libraries, Includes and Script files
|
||||
UNINSTALLABLE=Yes
|
||||
TARGET=<TARGETDIR>
|
||||
FTPLOCATION=
|
||||
VISIBLE=Yes
|
||||
DESCRIPTION=Examples, Libraries, Includes and Script files
|
||||
DISPLAYTEXT=Examples, Libraries, Includes and Script files
|
||||
IMAGE=
|
||||
DEFSELECTION=Yes
|
||||
filegroup0=Development
|
||||
COMMENT=
|
||||
INCLUDEINBUILD=Yes
|
||||
INSTALLATION=ALWAYSOVERWRITE
|
||||
COMPRESSIFSEPARATE=No
|
||||
MISC=
|
||||
ENCRYPT=No
|
||||
DISK=ANYDISK
|
||||
TARGETDIRCDROM=
|
||||
PASSWORD=
|
||||
TARGETHIDDEN=General Application Destination
|
||||
|
||||
[Grant Tables]
|
||||
required0=Servers
|
||||
SELECTED=Yes
|
||||
FILENEED=CRITICAL
|
||||
HTTPLOCATION=
|
||||
STATUS=The Grant Tables and Core Files
|
||||
UNINSTALLABLE=Yes
|
||||
TARGET=<TARGETDIR>
|
||||
FTPLOCATION=
|
||||
VISIBLE=Yes
|
||||
DESCRIPTION=The Grant Tables and Core Files
|
||||
DISPLAYTEXT=The Grant Tables and Core Files
|
||||
IMAGE=
|
||||
DEFSELECTION=Yes
|
||||
filegroup0=Grant Tables
|
||||
requiredby0=Development
|
||||
COMMENT=
|
||||
INCLUDEINBUILD=Yes
|
||||
requiredby1=Clients and Tools
|
||||
INSTALLATION=NEVEROVERWRITE
|
||||
requiredby2=Documentation
|
||||
COMPRESSIFSEPARATE=No
|
||||
MISC=
|
||||
ENCRYPT=No
|
||||
DISK=ANYDISK
|
||||
TARGETDIRCDROM=
|
||||
PASSWORD=
|
||||
TARGETHIDDEN=General Application Destination
|
||||
|
||||
[Components]
|
||||
component0=Development
|
||||
component1=Grant Tables
|
||||
component2=Servers
|
||||
component3=Clients and Tools
|
||||
component4=Documentation
|
||||
|
||||
[TopComponents]
|
||||
component0=Servers
|
||||
component1=Clients and Tools
|
||||
component2=Documentation
|
||||
component3=Development
|
||||
component4=Grant Tables
|
||||
|
||||
[SetupType]
|
||||
setuptype0=Compact
|
||||
setuptype1=Typical
|
||||
setuptype2=Custom
|
||||
|
||||
[Clients and Tools]
|
||||
required0=Servers
|
||||
SELECTED=Yes
|
||||
FILENEED=HIGHLYRECOMMENDED
|
||||
required1=Grant Tables
|
||||
HTTPLOCATION=
|
||||
STATUS=The MySQL clients and Maintenance Tools
|
||||
UNINSTALLABLE=Yes
|
||||
TARGET=<TARGETDIR>
|
||||
FTPLOCATION=
|
||||
VISIBLE=Yes
|
||||
DESCRIPTION=The MySQL clients and Maintenance Tools
|
||||
DISPLAYTEXT=The MySQL clients and Maintenance Tools
|
||||
IMAGE=
|
||||
DEFSELECTION=Yes
|
||||
filegroup0=Clients and Tools
|
||||
COMMENT=
|
||||
INCLUDEINBUILD=Yes
|
||||
INSTALLATION=NEWERDATE
|
||||
COMPRESSIFSEPARATE=No
|
||||
MISC=
|
||||
ENCRYPT=No
|
||||
DISK=ANYDISK
|
||||
TARGETDIRCDROM=
|
||||
PASSWORD=
|
||||
TARGETHIDDEN=General Application Destination
|
||||
|
||||
[Servers]
|
||||
SELECTED=Yes
|
||||
FILENEED=CRITICAL
|
||||
HTTPLOCATION=
|
||||
STATUS=The MySQL Servers
|
||||
UNINSTALLABLE=Yes
|
||||
TARGET=<TARGETDIR>
|
||||
FTPLOCATION=
|
||||
VISIBLE=Yes
|
||||
DESCRIPTION=The MySQL Servers
|
||||
DISPLAYTEXT=The MySQL Servers
|
||||
IMAGE=
|
||||
DEFSELECTION=Yes
|
||||
filegroup0=Servers
|
||||
requiredby0=Development
|
||||
COMMENT=
|
||||
INCLUDEINBUILD=Yes
|
||||
requiredby1=Grant Tables
|
||||
INSTALLATION=ALWAYSOVERWRITE
|
||||
requiredby2=Clients and Tools
|
||||
requiredby3=Documentation
|
||||
COMPRESSIFSEPARATE=No
|
||||
MISC=
|
||||
ENCRYPT=No
|
||||
DISK=ANYDISK
|
||||
TARGETDIRCDROM=
|
||||
PASSWORD=
|
||||
TARGETHIDDEN=General Application Destination
|
||||
|
||||
[SetupTypeItem-Compact]
|
||||
Comment=
|
||||
item0=Grant Tables
|
||||
item1=Servers
|
||||
item2=Clients and Tools
|
||||
item3=Documentation
|
||||
Descrip=
|
||||
DisplayText=
|
||||
|
||||
[SetupTypeItem-Custom]
|
||||
Comment=
|
||||
item0=Development
|
||||
item1=Grant Tables
|
||||
item2=Servers
|
||||
item3=Clients and Tools
|
||||
Descrip=
|
||||
item4=Documentation
|
||||
DisplayText=
|
||||
|
||||
[Info]
|
||||
Type=CompDef
|
||||
Version=1.00.000
|
||||
Name=
|
||||
|
||||
[SetupTypeItem-Typical]
|
||||
Comment=
|
||||
item0=Development
|
||||
item1=Grant Tables
|
||||
item2=Servers
|
||||
item3=Clients and Tools
|
||||
Descrip=
|
||||
item4=Documentation
|
||||
DisplayText=
|
||||
|
||||
[Documentation]
|
||||
required0=Servers
|
||||
SELECTED=Yes
|
||||
FILENEED=HIGHLYRECOMMENDED
|
||||
required1=Grant Tables
|
||||
HTTPLOCATION=
|
||||
STATUS=The MySQL Documentation with different formats
|
||||
UNINSTALLABLE=Yes
|
||||
TARGET=<TARGETDIR>
|
||||
FTPLOCATION=
|
||||
VISIBLE=Yes
|
||||
DESCRIPTION=The MySQL Documentation with different formats
|
||||
DISPLAYTEXT=The MySQL Documentation with different formats
|
||||
IMAGE=
|
||||
DEFSELECTION=Yes
|
||||
filegroup0=Documentation
|
||||
COMMENT=
|
||||
INCLUDEINBUILD=Yes
|
||||
INSTALLATION=ALWAYSOVERWRITE
|
||||
COMPRESSIFSEPARATE=No
|
||||
MISC=
|
||||
ENCRYPT=No
|
||||
DISK=ANYDISK
|
||||
TARGETDIRCDROM=
|
||||
PASSWORD=
|
||||
TARGETHIDDEN=General Application Destination
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
[<PROGRAMFILES>\<COMMONFILES>]
|
||||
DISPLAYTEXT=Common Files Folder
|
||||
TYPE=TEXTSUBFIXED
|
||||
fulldirectory=
|
||||
|
||||
[<WINDIR>\<WINSYSDIR>]
|
||||
DISPLAYTEXT=Windows System Folder
|
||||
TYPE=TEXTSUBFIXED
|
||||
fulldirectory=
|
||||
|
||||
[USERDEFINED]
|
||||
DISPLAYTEXT=Script-defined Folders
|
||||
TYPE=USERSTART
|
||||
fulldirectory=
|
||||
|
||||
[<PROGRAMFILES>]
|
||||
DISPLAYTEXT=Program Files Folder
|
||||
SubDir0=<PROGRAMFILES>\<COMMONFILES>
|
||||
TYPE=TEXTSUBFIXED
|
||||
fulldirectory=
|
||||
|
||||
[<TARGETDIR>]
|
||||
DISPLAYTEXT=General Application Destination
|
||||
TYPE=TEXTSUBFIXED
|
||||
fulldirectory=
|
||||
|
||||
[<WINDIR>]
|
||||
DISPLAYTEXT=Windows Operating System
|
||||
SubDir0=<WINDIR>\<WINSYSDIR>
|
||||
TYPE=TEXTSUBFIXED
|
||||
fulldirectory=
|
||||
|
||||
[TopDir]
|
||||
SubDir0=<WINDIR>
|
||||
SubDir1=<PROGRAMFILES>
|
||||
SubDir2=<TARGETDIR>
|
||||
SubDir3=USERDEFINED
|
||||
|
||||
[General]
|
||||
Type=FILELIST
|
||||
Version=1.00.000
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
[bin]
|
||||
file15=C:\mysql\bin\replace.exe
|
||||
file16=C:\mysql\bin\winmysqladmin.cnt
|
||||
file0=C:\mysql\bin\isamchk.exe
|
||||
file17=C:\mysql\bin\WINMYSQLADMIN.HLP
|
||||
file1=C:\mysql\bin\myisamchk.exe
|
||||
file18=C:\mysql\bin\comp-err.exe
|
||||
file2=C:\mysql\bin\myisamlog.exe
|
||||
file19=C:\mysql\bin\my_print_defaults.exe
|
||||
file3=C:\mysql\bin\myisampack.exe
|
||||
file4=C:\mysql\bin\mysql.exe
|
||||
file5=C:\mysql\bin\mysqladmin.exe
|
||||
file6=C:\mysql\bin\mysqlbinlog.exe
|
||||
file7=C:\mysql\bin\mysqlc.exe
|
||||
file8=C:\mysql\bin\mysqlcheck.exe
|
||||
file9=C:\mysql\bin\mysqldump.exe
|
||||
file20=C:\mysql\bin\winmysqladmin.exe
|
||||
file21=C:\mysql\bin\myisam_ftdump.exe
|
||||
file10=C:\mysql\bin\mysqlimport.exe
|
||||
fulldirectory=
|
||||
file11=C:\mysql\bin\mysqlshow.exe
|
||||
file12=C:\mysql\bin\mysqlwatch.exe
|
||||
file13=C:\mysql\bin\pack_isam.exe
|
||||
file14=C:\mysql\bin\perror.exe
|
||||
|
||||
[TopDir]
|
||||
SubDir0=bin
|
||||
|
||||
[General]
|
||||
Type=FILELIST
|
||||
Version=1.00.000
|
||||
|
|
@ -1,82 +0,0 @@
|
|||
[FileGroups]
|
||||
group0=Development
|
||||
group1=Grant Tables
|
||||
group2=Servers
|
||||
group3=Clients and Tools
|
||||
group4=Documentation
|
||||
|
||||
[Development]
|
||||
SELFREGISTERING=No
|
||||
HTTPLOCATION=
|
||||
LANGUAGE=
|
||||
OPERATINGSYSTEM=
|
||||
FTPLOCATION=
|
||||
FILETYPE=No
|
||||
INFOTYPE=Standard
|
||||
COMMENT=
|
||||
COMPRESS=Yes
|
||||
COMPRESSDLL=
|
||||
POTENTIALLY=No
|
||||
MISC=
|
||||
|
||||
[Grant Tables]
|
||||
SELFREGISTERING=No
|
||||
HTTPLOCATION=
|
||||
LANGUAGE=
|
||||
OPERATINGSYSTEM=
|
||||
FTPLOCATION=
|
||||
FILETYPE=No
|
||||
INFOTYPE=Standard
|
||||
COMMENT=
|
||||
COMPRESS=Yes
|
||||
COMPRESSDLL=
|
||||
POTENTIALLY=No
|
||||
MISC=
|
||||
|
||||
[Clients and Tools]
|
||||
SELFREGISTERING=No
|
||||
HTTPLOCATION=
|
||||
LANGUAGE=
|
||||
OPERATINGSYSTEM=0000000000000000
|
||||
FTPLOCATION=
|
||||
FILETYPE=No
|
||||
INFOTYPE=Standard
|
||||
COMMENT=
|
||||
COMPRESS=Yes
|
||||
COMPRESSDLL=
|
||||
POTENTIALLY=No
|
||||
MISC=
|
||||
|
||||
[Servers]
|
||||
SELFREGISTERING=No
|
||||
HTTPLOCATION=
|
||||
LANGUAGE=
|
||||
OPERATINGSYSTEM=
|
||||
FTPLOCATION=
|
||||
FILETYPE=No
|
||||
INFOTYPE=Standard
|
||||
COMMENT=
|
||||
COMPRESS=Yes
|
||||
COMPRESSDLL=
|
||||
POTENTIALLY=No
|
||||
MISC=
|
||||
|
||||
[Info]
|
||||
Type=FileGrp
|
||||
Version=1.00.000
|
||||
Name=
|
||||
|
||||
[Documentation]
|
||||
SELFREGISTERING=No
|
||||
HTTPLOCATION=
|
||||
LANGUAGE=
|
||||
OPERATINGSYSTEM=
|
||||
FTPLOCATION=
|
||||
FILETYPE=No
|
||||
INFOTYPE=Standard
|
||||
COMMENT=
|
||||
COMPRESS=Yes
|
||||
COMPRESSDLL=
|
||||
POTENTIALLY=No
|
||||
MISC=
|
||||
|
|
@ -1,240 +0,0 @@
|
|||
[bench\Data\Wisconsin]
|
||||
file0=C:\mysql\bench\Data\Wisconsin\onek.data
|
||||
file1=C:\mysql\bench\Data\Wisconsin\tenk.data
|
||||
fulldirectory=
|
||||
|
||||
[lib\debug]
|
||||
file0=C:\mysql\lib\debug\libmySQL.dll
|
||||
file1=C:\mysql\lib\debug\libmySQL.lib
|
||||
file2=C:\mysql\lib\debug\mysqlclient.lib
|
||||
file3=C:\mysql\lib\debug\zlib.lib
|
||||
file4=C:\mysql\lib\debug\mysys.lib
|
||||
file5=C:\mysql\lib\debug\regex.lib
|
||||
file6=C:\mysql\lib\debug\strings.lib
|
||||
fulldirectory=
|
||||
|
||||
[bench\output]
|
||||
fulldirectory=
|
||||
|
||||
[examples\libmysqltest]
|
||||
file0=C:\mysql\examples\libmysqltest\myTest.c
|
||||
file1=C:\mysql\examples\libmysqltest\myTest.dsp
|
||||
file2=C:\mysql\examples\libmysqltest\myTest.dsw
|
||||
file3=C:\mysql\examples\libmysqltest\myTest.exe
|
||||
file4=C:\mysql\examples\libmysqltest\myTest.mak
|
||||
file5=C:\mysql\examples\libmysqltest\myTest.ncb
|
||||
file6=C:\mysql\examples\libmysqltest\myTest.opt
|
||||
file7=C:\mysql\examples\libmysqltest\readme
|
||||
fulldirectory=
|
||||
|
||||
[include]
|
||||
file15=C:\mysql\include\libmysqld.def
|
||||
file16=C:\mysql\include\my_alloc.h
|
||||
file0=C:\mysql\include\raid.h
|
||||
file17=C:\mysql\include\my_getopt.h
|
||||
file1=C:\mysql\include\errmsg.h
|
||||
file2=C:\mysql\include\Libmysql.def
|
||||
file3=C:\mysql\include\m_ctype.h
|
||||
file4=C:\mysql\include\m_string.h
|
||||
file5=C:\mysql\include\my_list.h
|
||||
file6=C:\mysql\include\my_pthread.h
|
||||
file7=C:\mysql\include\my_sys.h
|
||||
file8=C:\mysql\include\mysql.h
|
||||
file9=C:\mysql\include\mysql_com.h
|
||||
file10=C:\mysql\include\mysql_version.h
|
||||
fulldirectory=
|
||||
file11=C:\mysql\include\mysqld_error.h
|
||||
file12=C:\mysql\include\dbug.h
|
||||
file13=C:\mysql\include\config-win.h
|
||||
file14=C:\mysql\include\my_global.h
|
||||
|
||||
[examples]
|
||||
SubDir0=examples\libmysqltest
|
||||
SubDir1=examples\tests
|
||||
fulldirectory=
|
||||
|
||||
[lib\opt]
|
||||
file0=C:\mysql\lib\opt\libmySQL.dll
|
||||
file1=C:\mysql\lib\opt\libmySQL.lib
|
||||
file2=C:\mysql\lib\opt\mysqlclient.lib
|
||||
file3=C:\mysql\lib\opt\zlib.lib
|
||||
file4=C:\mysql\lib\opt\mysys.lib
|
||||
file5=C:\mysql\lib\opt\regex.lib
|
||||
file6=C:\mysql\lib\opt\strings.lib
|
||||
fulldirectory=
|
||||
|
||||
[bench\Data]
|
||||
SubDir0=bench\Data\ATIS
|
||||
SubDir1=bench\Data\Wisconsin
|
||||
fulldirectory=
|
||||
|
||||
[bench\limits]
|
||||
file15=C:\mysql\bench\limits\pg.comment
|
||||
file16=C:\mysql\bench\limits\solid.cfg
|
||||
file0=C:\mysql\bench\limits\access.cfg
|
||||
file17=C:\mysql\bench\limits\solid-nt4.cfg
|
||||
file1=C:\mysql\bench\limits\access.comment
|
||||
file18=C:\mysql\bench\limits\sybase.cfg
|
||||
file2=C:\mysql\bench\limits\Adabas.cfg
|
||||
file3=C:\mysql\bench\limits\Adabas.comment
|
||||
file4=C:\mysql\bench\limits\Db2.cfg
|
||||
file5=C:\mysql\bench\limits\empress.cfg
|
||||
file6=C:\mysql\bench\limits\empress.comment
|
||||
file7=C:\mysql\bench\limits\Informix.cfg
|
||||
file8=C:\mysql\bench\limits\Informix.comment
|
||||
file9=C:\mysql\bench\limits\msql.cfg
|
||||
file10=C:\mysql\bench\limits\ms-sql.cfg
|
||||
fulldirectory=
|
||||
file11=C:\mysql\bench\limits\Ms-sql65.cfg
|
||||
file12=C:\mysql\bench\limits\mysql.cfg
|
||||
file13=C:\mysql\bench\limits\oracle.cfg
|
||||
file14=C:\mysql\bench\limits\pg.cfg
|
||||
|
||||
[TopDir]
|
||||
SubDir0=bench
|
||||
SubDir1=examples
|
||||
SubDir2=include
|
||||
SubDir3=lib
|
||||
SubDir4=scripts
|
||||
|
||||
[bench]
|
||||
file15=C:\mysql\bench\test-create
|
||||
file16=C:\mysql\bench\test-insert
|
||||
file0=C:\mysql\bench\uname.bat
|
||||
file17=C:\mysql\bench\test-select
|
||||
file1=C:\mysql\bench\compare-results
|
||||
file18=C:\mysql\bench\test-wisconsin
|
||||
file2=C:\mysql\bench\copy-db
|
||||
file19=C:\mysql\bench\bench-init.pl
|
||||
file3=C:\mysql\bench\crash-me
|
||||
file4=C:\mysql\bench\example.bat
|
||||
file5=C:\mysql\bench\print-limit-table
|
||||
file6=C:\mysql\bench\pwd.bat
|
||||
file7=C:\mysql\bench\Readme
|
||||
SubDir0=bench\Data
|
||||
file8=C:\mysql\bench\run.bat
|
||||
SubDir1=bench\limits
|
||||
file9=C:\mysql\bench\run-all-tests
|
||||
SubDir2=bench\output
|
||||
file10=C:\mysql\bench\server-cfg
|
||||
fulldirectory=
|
||||
file11=C:\mysql\bench\test-alter-table
|
||||
file12=C:\mysql\bench\test-ATIS
|
||||
file13=C:\mysql\bench\test-big-tables
|
||||
file14=C:\mysql\bench\test-connect
|
||||
|
||||
[examples\tests]
|
||||
file15=C:\mysql\examples\tests\lock_test.res
|
||||
file16=C:\mysql\examples\tests\mail_to_db.pl
|
||||
file0=C:\mysql\examples\tests\unique_users.tst
|
||||
file17=C:\mysql\examples\tests\table_types.pl
|
||||
file1=C:\mysql\examples\tests\auto_increment.tst
|
||||
file18=C:\mysql\examples\tests\test_delayed_insert.pl
|
||||
file2=C:\mysql\examples\tests\big_record.pl
|
||||
file19=C:\mysql\examples\tests\udf_test
|
||||
file3=C:\mysql\examples\tests\big_record.res
|
||||
file4=C:\mysql\examples\tests\czech-sorting
|
||||
file5=C:\mysql\examples\tests\deadlock-script.pl
|
||||
file6=C:\mysql\examples\tests\export.pl
|
||||
file7=C:\mysql\examples\tests\fork_test.pl
|
||||
file8=C:\mysql\examples\tests\fork2_test.pl
|
||||
file9=C:\mysql\examples\tests\fork3_test.pl
|
||||
file20=C:\mysql\examples\tests\udf_test.res
|
||||
file21=C:\mysql\examples\tests\auto_increment.res
|
||||
file10=C:\mysql\examples\tests\function.res
|
||||
fulldirectory=
|
||||
file11=C:\mysql\examples\tests\function.tst
|
||||
file12=C:\mysql\examples\tests\grant.pl
|
||||
file13=C:\mysql\examples\tests\grant.res
|
||||
file14=C:\mysql\examples\tests\lock_test.pl
|
||||
|
||||
[bench\Data\ATIS]
|
||||
file26=C:\mysql\bench\Data\ATIS\stop1.txt
|
||||
file15=C:\mysql\bench\Data\ATIS\flight_class.txt
|
||||
file27=C:\mysql\bench\Data\ATIS\time_interval.txt
|
||||
file16=C:\mysql\bench\Data\ATIS\flight_day.txt
|
||||
file0=C:\mysql\bench\Data\ATIS\transport.txt
|
||||
file28=C:\mysql\bench\Data\ATIS\time_zone.txt
|
||||
file17=C:\mysql\bench\Data\ATIS\flight_fare.txt
|
||||
file1=C:\mysql\bench\Data\ATIS\airline.txt
|
||||
file29=C:\mysql\bench\Data\ATIS\aircraft.txt
|
||||
file18=C:\mysql\bench\Data\ATIS\food_service.txt
|
||||
file2=C:\mysql\bench\Data\ATIS\airport.txt
|
||||
file19=C:\mysql\bench\Data\ATIS\ground_service.txt
|
||||
file3=C:\mysql\bench\Data\ATIS\airport_service.txt
|
||||
file4=C:\mysql\bench\Data\ATIS\city.txt
|
||||
file5=C:\mysql\bench\Data\ATIS\class_of_service.txt
|
||||
file6=C:\mysql\bench\Data\ATIS\code_description.txt
|
||||
file7=C:\mysql\bench\Data\ATIS\compound_class.txt
|
||||
file8=C:\mysql\bench\Data\ATIS\connect_leg.txt
|
||||
file9=C:\mysql\bench\Data\ATIS\date_day.txt
|
||||
file20=C:\mysql\bench\Data\ATIS\month_name.txt
|
||||
file21=C:\mysql\bench\Data\ATIS\restrict_carrier.txt
|
||||
file10=C:\mysql\bench\Data\ATIS\day_name.txt
|
||||
fulldirectory=
|
||||
file22=C:\mysql\bench\Data\ATIS\restrict_class.txt
|
||||
file11=C:\mysql\bench\Data\ATIS\dual_carrier.txt
|
||||
file23=C:\mysql\bench\Data\ATIS\restriction.txt
|
||||
file12=C:\mysql\bench\Data\ATIS\fare.txt
|
||||
file24=C:\mysql\bench\Data\ATIS\state.txt
|
||||
file13=C:\mysql\bench\Data\ATIS\fconnection.txt
|
||||
file25=C:\mysql\bench\Data\ATIS\stop.txt
|
||||
file14=C:\mysql\bench\Data\ATIS\flight.txt
|
||||
|
||||
[General]
|
||||
Type=FILELIST
|
||||
Version=1.00.000
|
||||
|
||||
[scripts]
|
||||
file37=C:\mysql\scripts\mysqld_safe-watch.sh
|
||||
file26=C:\mysql\scripts\mysql_zap
|
||||
file15=C:\mysql\scripts\mysql_fix_privilege_tables
|
||||
file38=C:\mysql\scripts\mysqldumpslow
|
||||
file27=C:\mysql\scripts\mysql_zap.sh
|
||||
file16=C:\mysql\scripts\mysql_fix_privilege_tables.sh
|
||||
file0=C:\mysql\scripts\Readme
|
||||
file39=C:\mysql\scripts\mysqldumpslow.sh
|
||||
file28=C:\mysql\scripts\mysqlaccess
|
||||
file17=C:\mysql\scripts\mysql_install_db
|
||||
file1=C:\mysql\scripts\make_binary_distribution.sh
|
||||
file29=C:\mysql\scripts\mysqlaccess.conf
|
||||
file18=C:\mysql\scripts\mysql_install_db.sh
|
||||
file2=C:\mysql\scripts\msql2mysql
|
||||
file19=C:\mysql\scripts\mysql_secure_installation
|
||||
file3=C:\mysql\scripts\msql2mysql.sh
|
||||
file4=C:\mysql\scripts\mysql_config
|
||||
file5=C:\mysql\scripts\mysql_config.sh
|
||||
file6=C:\mysql\scripts\mysql_convert_table_format
|
||||
file7=C:\mysql\scripts\mysql_convert_table_format.sh
|
||||
file40=C:\mysql\scripts\mysqlhotcopy
|
||||
file8=C:\mysql\scripts\mysql_explain_log
|
||||
file41=C:\mysql\scripts\mysqlhotcopy.pl
|
||||
file30=C:\mysql\scripts\mysqlaccess.sh
|
||||
file9=C:\mysql\scripts\mysql_explain_log.sh
|
||||
file42=C:\mysql\scripts\mysqlhotcopy.sh
|
||||
file31=C:\mysql\scripts\mysqlbug
|
||||
file20=C:\mysql\scripts\mysql_secure_installation.sh
|
||||
file43=C:\mysql\scripts\make_binary_distribution
|
||||
file32=C:\mysql\scripts\mysqlbug.sh
|
||||
file21=C:\mysql\scripts\mysql_setpermission
|
||||
file10=C:\mysql\scripts\mysql_find_rows
|
||||
fulldirectory=
|
||||
file44=C:\mysql\scripts\mysql_fix_privilege_tables.sql
|
||||
file33=C:\mysql\scripts\mysqld_multi
|
||||
file22=C:\mysql\scripts\mysql_setpermission.pl
|
||||
file11=C:\mysql\scripts\mysql_find_rows.pl
|
||||
file34=C:\mysql\scripts\mysqld_multi.sh
|
||||
file23=C:\mysql\scripts\mysql_setpermission.sh
|
||||
file12=C:\mysql\scripts\mysql_find_rows.sh
|
||||
file35=C:\mysql\scripts\mysqld_safe
|
||||
file24=C:\mysql\scripts\mysql_tableinfo
|
||||
file13=C:\mysql\scripts\mysql_fix_extensions
|
||||
file36=C:\mysql\scripts\mysqld_safe.sh
|
||||
file25=C:\mysql\scripts\mysql_tableinfo.sh
|
||||
file14=C:\mysql\scripts\mysql_fix_extensions.sh
|
||||
|
||||
[lib]
|
||||
SubDir0=lib\debug
|
||||
SubDir1=lib\opt
|
||||
fulldirectory=
|
||||
|
|
@ -1,99 +0,0 @@
|
|||
[Docs\Flags]
|
||||
file59=C:\mysql\Docs\Flags\romania.gif
|
||||
file48=C:\mysql\Docs\Flags\kroatia.eps
|
||||
file37=C:\mysql\Docs\Flags\iceland.gif
|
||||
file26=C:\mysql\Docs\Flags\france.eps
|
||||
file15=C:\mysql\Docs\Flags\china.gif
|
||||
file49=C:\mysql\Docs\Flags\kroatia.gif
|
||||
file38=C:\mysql\Docs\Flags\ireland.eps
|
||||
file27=C:\mysql\Docs\Flags\france.gif
|
||||
file16=C:\mysql\Docs\Flags\croatia.eps
|
||||
file0=C:\mysql\Docs\Flags\usa.gif
|
||||
file39=C:\mysql\Docs\Flags\ireland.gif
|
||||
file28=C:\mysql\Docs\Flags\germany.eps
|
||||
file17=C:\mysql\Docs\Flags\croatia.gif
|
||||
file1=C:\mysql\Docs\Flags\argentina.gif
|
||||
file29=C:\mysql\Docs\Flags\germany.gif
|
||||
file18=C:\mysql\Docs\Flags\czech-republic.eps
|
||||
file2=C:\mysql\Docs\Flags\australia.eps
|
||||
file19=C:\mysql\Docs\Flags\czech-republic.gif
|
||||
file3=C:\mysql\Docs\Flags\australia.gif
|
||||
file80=C:\mysql\Docs\Flags\usa.eps
|
||||
file4=C:\mysql\Docs\Flags\austria.eps
|
||||
file81=C:\mysql\Docs\Flags\argentina.eps
|
||||
file70=C:\mysql\Docs\Flags\spain.eps
|
||||
file5=C:\mysql\Docs\Flags\austria.gif
|
||||
file71=C:\mysql\Docs\Flags\spain.gif
|
||||
file60=C:\mysql\Docs\Flags\russia.eps
|
||||
file6=C:\mysql\Docs\Flags\brazil.eps
|
||||
file72=C:\mysql\Docs\Flags\sweden.eps
|
||||
file61=C:\mysql\Docs\Flags\russia.gif
|
||||
file50=C:\mysql\Docs\Flags\latvia.eps
|
||||
file7=C:\mysql\Docs\Flags\brazil.gif
|
||||
file73=C:\mysql\Docs\Flags\sweden.gif
|
||||
file62=C:\mysql\Docs\Flags\singapore.eps
|
||||
file51=C:\mysql\Docs\Flags\latvia.gif
|
||||
file40=C:\mysql\Docs\Flags\island.eps
|
||||
file8=C:\mysql\Docs\Flags\bulgaria.eps
|
||||
file74=C:\mysql\Docs\Flags\switzerland.eps
|
||||
file63=C:\mysql\Docs\Flags\singapore.gif
|
||||
file52=C:\mysql\Docs\Flags\netherlands.eps
|
||||
file41=C:\mysql\Docs\Flags\island.gif
|
||||
file30=C:\mysql\Docs\Flags\great-britain.eps
|
||||
file9=C:\mysql\Docs\Flags\bulgaria.gif
|
||||
file75=C:\mysql\Docs\Flags\switzerland.gif
|
||||
file64=C:\mysql\Docs\Flags\south-africa.eps
|
||||
file53=C:\mysql\Docs\Flags\netherlands.gif
|
||||
file42=C:\mysql\Docs\Flags\israel.eps
|
||||
file31=C:\mysql\Docs\Flags\great-britain.gif
|
||||
file20=C:\mysql\Docs\Flags\denmark.eps
|
||||
file76=C:\mysql\Docs\Flags\taiwan.eps
|
||||
file65=C:\mysql\Docs\Flags\south-africa.gif
|
||||
file54=C:\mysql\Docs\Flags\poland.eps
|
||||
file43=C:\mysql\Docs\Flags\israel.gif
|
||||
file32=C:\mysql\Docs\Flags\greece.eps
|
||||
file21=C:\mysql\Docs\Flags\denmark.gif
|
||||
file10=C:\mysql\Docs\Flags\canada.eps
|
||||
fulldirectory=
|
||||
file77=C:\mysql\Docs\Flags\taiwan.gif
|
||||
file66=C:\mysql\Docs\Flags\south-africa1.eps
|
||||
file55=C:\mysql\Docs\Flags\poland.gif
|
||||
file44=C:\mysql\Docs\Flags\italy.eps
|
||||
file33=C:\mysql\Docs\Flags\greece.gif
|
||||
file22=C:\mysql\Docs\Flags\estonia.eps
|
||||
file11=C:\mysql\Docs\Flags\canada.gif
|
||||
file78=C:\mysql\Docs\Flags\ukraine.eps
|
||||
file67=C:\mysql\Docs\Flags\south-africa1.gif
|
||||
file56=C:\mysql\Docs\Flags\portugal.eps
|
||||
file45=C:\mysql\Docs\Flags\italy.gif
|
||||
file34=C:\mysql\Docs\Flags\hungary.eps
|
||||
file23=C:\mysql\Docs\Flags\estonia.gif
|
||||
file12=C:\mysql\Docs\Flags\chile.eps
|
||||
file79=C:\mysql\Docs\Flags\ukraine.gif
|
||||
file68=C:\mysql\Docs\Flags\south-korea.eps
|
||||
file57=C:\mysql\Docs\Flags\portugal.gif
|
||||
file46=C:\mysql\Docs\Flags\japan.eps
|
||||
file35=C:\mysql\Docs\Flags\hungary.gif
|
||||
file24=C:\mysql\Docs\Flags\finland.eps
|
||||
file13=C:\mysql\Docs\Flags\chile.gif
|
||||
file69=C:\mysql\Docs\Flags\south-korea.gif
|
||||
file58=C:\mysql\Docs\Flags\romania.eps
|
||||
file47=C:\mysql\Docs\Flags\japan.gif
|
||||
file36=C:\mysql\Docs\Flags\iceland.eps
|
||||
file25=C:\mysql\Docs\Flags\finland.gif
|
||||
file14=C:\mysql\Docs\Flags\china.eps
|
||||
|
||||
[Docs]
|
||||
file0=C:\mysql\Docs\manual_toc.html
|
||||
file1=C:\mysql\Docs\manual.html
|
||||
file2=C:\mysql\Docs\manual.txt
|
||||
SubDir0=Docs\Flags
|
||||
fulldirectory=
|
||||
|
||||
[TopDir]
|
||||
SubDir0=Docs
|
||||
|
||||
[General]
|
||||
Type=FILELIST
|
||||
Version=1.00.000
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
[data\test]
|
||||
fulldirectory=
|
||||
|
||||
[data\mysql]
|
||||
file15=C:\mysql\data\mysql\func.frm
|
||||
file16=C:\mysql\data\mysql\func.MYD
|
||||
file0=C:\mysql\data\mysql\columns_priv.frm
|
||||
file17=C:\mysql\data\mysql\func.MYI
|
||||
file1=C:\mysql\data\mysql\columns_priv.MYD
|
||||
file2=C:\mysql\data\mysql\columns_priv.MYI
|
||||
file3=C:\mysql\data\mysql\db.frm
|
||||
file4=C:\mysql\data\mysql\db.MYD
|
||||
file5=C:\mysql\data\mysql\db.MYI
|
||||
file6=C:\mysql\data\mysql\host.frm
|
||||
file7=C:\mysql\data\mysql\host.MYD
|
||||
file8=C:\mysql\data\mysql\host.MYI
|
||||
file9=C:\mysql\data\mysql\tables_priv.frm
|
||||
file10=C:\mysql\data\mysql\tables_priv.MYD
|
||||
fulldirectory=
|
||||
file11=C:\mysql\data\mysql\tables_priv.MYI
|
||||
file12=C:\mysql\data\mysql\user.frm
|
||||
file13=C:\mysql\data\mysql\user.MYD
|
||||
file14=C:\mysql\data\mysql\user.MYI
|
||||
|
||||
[TopDir]
|
||||
SubDir0=data
|
||||
|
||||
[data]
|
||||
SubDir0=data\mysql
|
||||
SubDir1=data\test
|
||||
fulldirectory=
|
||||
|
||||
[General]
|
||||
Type=FILELIST
|
||||
Version=1.00.000
|
||||
|
|
@ -1,227 +0,0 @@
|
|||
[Embedded\Static\release]
|
||||
file0=C:\mysql\embedded\Static\release\test_stc.dsp
|
||||
file1=C:\mysql\embedded\Static\release\ReadMe.txt
|
||||
file2=C:\mysql\embedded\Static\release\StdAfx.cpp
|
||||
file3=C:\mysql\embedded\Static\release\StdAfx.h
|
||||
file4=C:\mysql\embedded\Static\release\test_stc.cpp
|
||||
file5=C:\mysql\embedded\Static\release\mysqlserver.lib
|
||||
fulldirectory=
|
||||
|
||||
[share\polish]
|
||||
file0=C:\mysql\share\polish\errmsg.sys
|
||||
file1=C:\mysql\share\polish\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\dutch]
|
||||
file0=C:\mysql\share\dutch\errmsg.sys
|
||||
file1=C:\mysql\share\dutch\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\spanish]
|
||||
file0=C:\mysql\share\spanish\errmsg.sys
|
||||
file1=C:\mysql\share\spanish\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\english]
|
||||
file0=C:\mysql\share\english\errmsg.sys
|
||||
file1=C:\mysql\share\english\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[bin]
|
||||
file0=C:\mysql\bin\mysqld-opt.exe
|
||||
file1=C:\mysql\bin\mysqld-nt.exe
|
||||
file2=C:\mysql\bin\mysqld.exe
|
||||
file3=C:\mysql\bin\cygwinb19.dll
|
||||
file4=C:\mysql\bin\libmySQL.dll
|
||||
fulldirectory=
|
||||
|
||||
[share\korean]
|
||||
file0=C:\mysql\share\korean\errmsg.sys
|
||||
file1=C:\mysql\share\korean\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\charsets]
|
||||
file15=C:\mysql\share\charsets\latin1.conf
|
||||
file16=C:\mysql\share\charsets\latin2.conf
|
||||
file0=C:\mysql\share\charsets\win1251ukr.conf
|
||||
file17=C:\mysql\share\charsets\latin5.conf
|
||||
file1=C:\mysql\share\charsets\cp1257.conf
|
||||
file18=C:\mysql\share\charsets\Readme
|
||||
file2=C:\mysql\share\charsets\croat.conf
|
||||
file19=C:\mysql\share\charsets\swe7.conf
|
||||
file3=C:\mysql\share\charsets\danish.conf
|
||||
file4=C:\mysql\share\charsets\dec8.conf
|
||||
file5=C:\mysql\share\charsets\dos.conf
|
||||
file6=C:\mysql\share\charsets\estonia.conf
|
||||
file7=C:\mysql\share\charsets\german1.conf
|
||||
file8=C:\mysql\share\charsets\greek.conf
|
||||
file9=C:\mysql\share\charsets\hebrew.conf
|
||||
file20=C:\mysql\share\charsets\usa7.conf
|
||||
file21=C:\mysql\share\charsets\win1250.conf
|
||||
file10=C:\mysql\share\charsets\hp8.conf
|
||||
fulldirectory=
|
||||
file22=C:\mysql\share\charsets\win1251.conf
|
||||
file11=C:\mysql\share\charsets\hungarian.conf
|
||||
file23=C:\mysql\share\charsets\cp1251.conf
|
||||
file12=C:\mysql\share\charsets\Index
|
||||
file13=C:\mysql\share\charsets\koi8_ru.conf
|
||||
file14=C:\mysql\share\charsets\koi8_ukr.conf
|
||||
|
||||
[Embedded\DLL\debug]
|
||||
file0=C:\mysql\embedded\DLL\debug\libmysqld.dll
|
||||
file1=C:\mysql\embedded\DLL\debug\libmysqld.exp
|
||||
file2=C:\mysql\embedded\DLL\debug\libmysqld.lib
|
||||
fulldirectory=
|
||||
|
||||
[Embedded]
|
||||
file0=C:\mysql\embedded\embedded.dsw
|
||||
SubDir0=Embedded\DLL
|
||||
SubDir1=Embedded\Static
|
||||
fulldirectory=
|
||||
|
||||
[share\ukrainian]
|
||||
file0=C:\mysql\share\ukrainian\errmsg.sys
|
||||
file1=C:\mysql\share\ukrainian\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\hungarian]
|
||||
file0=C:\mysql\share\hungarian\errmsg.sys
|
||||
file1=C:\mysql\share\hungarian\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\german]
|
||||
file0=C:\mysql\share\german\errmsg.sys
|
||||
file1=C:\mysql\share\german\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\portuguese]
|
||||
file0=C:\mysql\share\portuguese\errmsg.sys
|
||||
file1=C:\mysql\share\portuguese\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\estonian]
|
||||
file0=C:\mysql\share\estonian\errmsg.sys
|
||||
file1=C:\mysql\share\estonian\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\romanian]
|
||||
file0=C:\mysql\share\romanian\errmsg.sys
|
||||
file1=C:\mysql\share\romanian\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\french]
|
||||
file0=C:\mysql\share\french\errmsg.sys
|
||||
file1=C:\mysql\share\french\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\swedish]
|
||||
file0=C:\mysql\share\swedish\errmsg.sys
|
||||
file1=C:\mysql\share\swedish\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\slovak]
|
||||
file0=C:\mysql\share\slovak\errmsg.sys
|
||||
file1=C:\mysql\share\slovak\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\greek]
|
||||
file0=C:\mysql\share\greek\errmsg.sys
|
||||
file1=C:\mysql\share\greek\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[TopDir]
|
||||
file0=C:\mysql\my-huge.cnf
|
||||
file1=C:\mysql\my-large.cnf
|
||||
file2=C:\mysql\my-medium.cnf
|
||||
file3=C:\mysql\my-small.cnf
|
||||
file4=C:\mysql\MySQLEULA.txt
|
||||
file5=C:\mysql\README.txt
|
||||
SubDir0=bin
|
||||
SubDir1=share
|
||||
SubDir2=Embedded
|
||||
|
||||
[share]
|
||||
SubDir8=share\hungarian
|
||||
SubDir9=share\charsets
|
||||
SubDir20=share\spanish
|
||||
SubDir21=share\swedish
|
||||
SubDir10=share\italian
|
||||
SubDir22=share\ukrainian
|
||||
SubDir11=share\japanese
|
||||
SubDir12=share\korean
|
||||
SubDir13=share\norwegian
|
||||
SubDir14=share\norwegian-ny
|
||||
SubDir15=share\polish
|
||||
SubDir16=share\portuguese
|
||||
SubDir0=share\czech
|
||||
SubDir17=share\romanian
|
||||
SubDir1=share\danish
|
||||
SubDir18=share\russian
|
||||
SubDir2=share\dutch
|
||||
SubDir19=share\slovak
|
||||
SubDir3=share\english
|
||||
fulldirectory=
|
||||
SubDir4=share\estonian
|
||||
SubDir5=share\french
|
||||
SubDir6=share\german
|
||||
SubDir7=share\greek
|
||||
|
||||
[share\norwegian-ny]
|
||||
file0=C:\mysql\share\norwegian-ny\errmsg.sys
|
||||
file1=C:\mysql\share\norwegian-ny\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[Embedded\DLL]
|
||||
file0=C:\mysql\embedded\DLL\test_dll.dsp
|
||||
file1=C:\mysql\embedded\DLL\StdAfx.h
|
||||
file2=C:\mysql\embedded\DLL\test_dll.cpp
|
||||
file3=C:\mysql\embedded\DLL\StdAfx.cpp
|
||||
SubDir0=Embedded\DLL\debug
|
||||
SubDir1=Embedded\DLL\release
|
||||
fulldirectory=
|
||||
|
||||
[Embedded\Static]
|
||||
SubDir0=Embedded\Static\release
|
||||
fulldirectory=
|
||||
|
||||
[Embedded\DLL\release]
|
||||
file0=C:\mysql\embedded\DLL\release\libmysqld.dll
|
||||
file1=C:\mysql\embedded\DLL\release\libmysqld.exp
|
||||
file2=C:\mysql\embedded\DLL\release\libmysqld.lib
|
||||
file3=C:\mysql\embedded\DLL\release\mysql-server.exe
|
||||
fulldirectory=
|
||||
|
||||
[share\danish]
|
||||
file0=C:\mysql\share\danish\errmsg.sys
|
||||
file1=C:\mysql\share\danish\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\czech]
|
||||
file0=C:\mysql\share\czech\errmsg.sys
|
||||
file1=C:\mysql\share\czech\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[General]
|
||||
Type=FILELIST
|
||||
Version=1.00.000
|
||||
|
||||
[share\russian]
|
||||
file0=C:\mysql\share\russian\errmsg.sys
|
||||
file1=C:\mysql\share\russian\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\norwegian]
|
||||
file0=C:\mysql\share\norwegian\errmsg.sys
|
||||
file1=C:\mysql\share\norwegian\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\japanese]
|
||||
file0=C:\mysql\share\japanese\errmsg.sys
|
||||
file1=C:\mysql\share\japanese\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\italian]
|
||||
file0=C:\mysql\share\italian\errmsg.sys
|
||||
file1=C:\mysql\share\italian\errmsg.txt
|
||||
fulldirectory=
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[General]
|
||||
Type=REGISTRYDATA
|
||||
Version=1.00.000
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,640 +0,0 @@
|
|||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// IIIIIII SSSSSS
|
||||
// II SS InstallShield (R)
|
||||
// II SSSSSS (c) 1996-1997, InstallShield Software Corporation
|
||||
// II SS (c) 1990-1996, InstallShield Corporation
|
||||
// IIIIIII SSSSSS All Rights Reserved.
|
||||
//
|
||||
//
|
||||
// This code is generated as a starting setup template. You should
|
||||
// modify it to provide all necessary steps for your setup.
|
||||
//
|
||||
//
|
||||
// File Name: Setup.rul
|
||||
//
|
||||
// Description: InstallShield script
|
||||
//
|
||||
// Comments: This template script performs a basic setup on a
|
||||
// Windows 95 or Windows NT 4.0 platform. With minor
|
||||
// modifications, this template can be adapted to create
|
||||
// new, customized setups.
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// Include header file
|
||||
#include "sdlang.h"
|
||||
#include "sddialog.h"
|
||||
|
||||
////////////////////// string defines ////////////////////////////
|
||||
|
||||
#define UNINST_LOGFILE_NAME "Uninst.isu"
|
||||
|
||||
//////////////////// installation declarations ///////////////////
|
||||
|
||||
// ----- DLL prototypes -----
|
||||
|
||||
|
||||
// your DLL prototypes
|
||||
|
||||
|
||||
// ---- script prototypes -----
|
||||
|
||||
// generated
|
||||
prototype ShowDialogs();
|
||||
prototype MoveFileData();
|
||||
prototype HandleMoveDataError( NUMBER );
|
||||
prototype ProcessBeforeDataMove();
|
||||
prototype ProcessAfterDataMove();
|
||||
prototype SetupRegistry();
|
||||
prototype SetupFolders();
|
||||
prototype CleanUpInstall();
|
||||
prototype SetupInstall();
|
||||
prototype SetupScreen();
|
||||
prototype CheckRequirements();
|
||||
prototype DialogShowSdWelcome();
|
||||
prototype DialogShowSdShowInfoList();
|
||||
prototype DialogShowSdAskDestPath();
|
||||
prototype DialogShowSdSetupType();
|
||||
prototype DialogShowSdComponentDialog2();
|
||||
prototype DialogShowSdFinishReboot();
|
||||
|
||||
// your prototypes
|
||||
|
||||
|
||||
// ----- global variables ------
|
||||
|
||||
// generated
|
||||
BOOL bWinNT, bIsShellExplorer, bInstallAborted, bIs32BitSetup;
|
||||
STRING svDir;
|
||||
STRING svName, svCompany, svSerial;
|
||||
STRING szAppPath;
|
||||
STRING svSetupType;
|
||||
|
||||
|
||||
// your global variables
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// MAIN PROGRAM
|
||||
//
|
||||
// The setup begins here by hiding the visible setup
|
||||
// window. This is done to allow all the titles, images, etc. to
|
||||
// be established before showing the main window. The following
|
||||
// logic then performs the setup in a series of steps.
|
||||
//
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
program
|
||||
Disable( BACKGROUND );
|
||||
|
||||
CheckRequirements();
|
||||
|
||||
SetupInstall();
|
||||
|
||||
SetupScreen();
|
||||
|
||||
if (ShowDialogs()<0) goto end_install;
|
||||
|
||||
if (ProcessBeforeDataMove()<0) goto end_install;
|
||||
|
||||
if (MoveFileData()<0) goto end_install;
|
||||
|
||||
if (ProcessAfterDataMove()<0) goto end_install;
|
||||
|
||||
if (SetupRegistry()<0) goto end_install;
|
||||
|
||||
if (SetupFolders()<0) goto end_install;
|
||||
|
||||
|
||||
end_install:
|
||||
|
||||
CleanUpInstall();
|
||||
|
||||
// If an unrecoverable error occurred, clean up the partial installation.
|
||||
// Otherwise, exit normally.
|
||||
|
||||
if (bInstallAborted) then
|
||||
abort;
|
||||
endif;
|
||||
|
||||
endprogram
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: ShowDialogs //
|
||||
// //
|
||||
// Purpose: This function manages the display and navigation //
|
||||
// the standard dialogs that exist in a setup. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function ShowDialogs()
|
||||
NUMBER nResult;
|
||||
begin
|
||||
|
||||
Dlg_Start:
|
||||
// beginning of dialogs label
|
||||
|
||||
Dlg_SdWelcome:
|
||||
nResult = DialogShowSdWelcome();
|
||||
if (nResult = BACK) goto Dlg_Start;
|
||||
|
||||
Dlg_SdShowInfoList:
|
||||
nResult = DialogShowSdShowInfoList();
|
||||
if (nResult = BACK) goto Dlg_SdWelcome;
|
||||
|
||||
Dlg_SdAskDestPath:
|
||||
nResult = DialogShowSdAskDestPath();
|
||||
if (nResult = BACK) goto Dlg_SdShowInfoList;
|
||||
|
||||
Dlg_SdSetupType:
|
||||
nResult = DialogShowSdSetupType();
|
||||
if (nResult = BACK) goto Dlg_SdAskDestPath;
|
||||
|
||||
Dlg_SdComponentDialog2:
|
||||
if ((nResult = BACK) && (svSetupType != "Custom") && (svSetupType != "")) then
|
||||
goto Dlg_SdSetupType;
|
||||
endif;
|
||||
nResult = DialogShowSdComponentDialog2();
|
||||
if (nResult = BACK) goto Dlg_SdSetupType;
|
||||
|
||||
return 0;
|
||||
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: ProcessBeforeDataMove //
|
||||
// //
|
||||
// Purpose: This function performs any necessary operations prior to the //
|
||||
// actual data move operation. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function ProcessBeforeDataMove()
|
||||
STRING svLogFile;
|
||||
NUMBER nResult;
|
||||
begin
|
||||
|
||||
InstallationInfo( @COMPANY_NAME, @PRODUCT_NAME, @PRODUCT_VERSION, @PRODUCT_KEY );
|
||||
|
||||
svLogFile = UNINST_LOGFILE_NAME;
|
||||
|
||||
nResult = DeinstallStart( svDir, svLogFile, @UNINST_KEY, 0 );
|
||||
if (nResult < 0) then
|
||||
MessageBox( @ERROR_UNINSTSETUP, WARNING );
|
||||
endif;
|
||||
|
||||
szAppPath = TARGETDIR; // TODO : if your application .exe is in a subdir of TARGETDIR then add subdir
|
||||
|
||||
if ((bIs32BitSetup) && (bIsShellExplorer)) then
|
||||
RegDBSetItem( REGDB_APPPATH, szAppPath );
|
||||
RegDBSetItem( REGDB_APPPATH_DEFAULT, szAppPath ^ @PRODUCT_KEY );
|
||||
RegDBSetItem( REGDB_UNINSTALL_NAME, @UNINST_DISPLAY_NAME );
|
||||
endif;
|
||||
|
||||
// TODO : update any items you want to process before moving the data
|
||||
//
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: MoveFileData //
|
||||
// //
|
||||
// Purpose: This function handles the data movement for //
|
||||
// the setup. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function MoveFileData()
|
||||
NUMBER nResult, nDisk;
|
||||
begin
|
||||
|
||||
nDisk = 1;
|
||||
SetStatusWindow( 0, "" );
|
||||
Disable( DIALOGCACHE );
|
||||
Enable( STATUS );
|
||||
StatusUpdate( ON, 100 );
|
||||
nResult = ComponentMoveData( MEDIA, nDisk, 0 );
|
||||
|
||||
HandleMoveDataError( nResult );
|
||||
|
||||
Disable( STATUS );
|
||||
|
||||
return nResult;
|
||||
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: HandleMoveDataError //
|
||||
// //
|
||||
// Purpose: This function handles the error (if any) during the move data //
|
||||
// operation. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function HandleMoveDataError( nResult )
|
||||
STRING szErrMsg, svComponent , svFileGroup , svFile;
|
||||
begin
|
||||
|
||||
svComponent = "";
|
||||
svFileGroup = "";
|
||||
svFile = "";
|
||||
|
||||
switch (nResult)
|
||||
case 0:
|
||||
return 0;
|
||||
default:
|
||||
ComponentError ( MEDIA , svComponent , svFileGroup , svFile , nResult );
|
||||
szErrMsg = @ERROR_MOVEDATA + "\n\n" +
|
||||
@ERROR_COMPONENT + " " + svComponent + "\n" +
|
||||
@ERROR_FILEGROUP + " " + svFileGroup + "\n" +
|
||||
@ERROR_FILE + " " + svFile;
|
||||
SprintfBox( SEVERE, @TITLE_CAPTIONBAR, szErrMsg, nResult );
|
||||
bInstallAborted = TRUE;
|
||||
return nResult;
|
||||
endswitch;
|
||||
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: ProcessAfterDataMove //
|
||||
// //
|
||||
// Purpose: This function performs any necessary operations needed after //
|
||||
// all data has been moved. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function ProcessAfterDataMove()
|
||||
begin
|
||||
|
||||
// TODO : update self-registered files and other processes that
|
||||
// should be performed after the data has been moved.
|
||||
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: SetupRegistry //
|
||||
// //
|
||||
// Purpose: This function makes the registry entries for this setup. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupRegistry()
|
||||
NUMBER nResult;
|
||||
|
||||
begin
|
||||
|
||||
// TODO : Add all your registry entry keys here
|
||||
//
|
||||
//
|
||||
// RegDBCreateKeyEx, RegDBSetKeyValueEx....
|
||||
//
|
||||
|
||||
nResult = CreateRegistrySet( "" );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Function: SetupFolders
|
||||
//
|
||||
// Purpose: This function creates all the folders and shortcuts for the
|
||||
// setup. This includes program groups and items for Windows 3.1.
|
||||
//
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupFolders()
|
||||
NUMBER nResult;
|
||||
|
||||
begin
|
||||
|
||||
|
||||
// TODO : Add all your folder (program group) along with shortcuts (program items)
|
||||
//
|
||||
//
|
||||
// CreateProgramFolder, AddFolderIcon....
|
||||
//
|
||||
|
||||
nResult = CreateShellObjects( "" );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: CleanUpInstall //
|
||||
// //
|
||||
// Purpose: This cleans up the setup. Anything that should //
|
||||
// be released or deleted at the end of the setup should //
|
||||
// be done here. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function CleanUpInstall()
|
||||
begin
|
||||
|
||||
|
||||
if (bInstallAborted) then
|
||||
return 0;
|
||||
endif;
|
||||
|
||||
DialogShowSdFinishReboot();
|
||||
|
||||
if (BATCH_INSTALL) then // ensure locked files are properly written
|
||||
CommitSharedFiles(0);
|
||||
endif;
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: SetupInstall //
|
||||
// //
|
||||
// Purpose: This will setup the installation. Any general initialization //
|
||||
// needed for the installation should be performed here. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupInstall()
|
||||
begin
|
||||
|
||||
Enable( CORECOMPONENTHANDLING );
|
||||
|
||||
bInstallAborted = FALSE;
|
||||
|
||||
if (bIs32BitSetup) then
|
||||
svDir = "C:\\mysql"; //PROGRAMFILES ^ @COMPANY_NAME ^ @PRODUCT_NAME;
|
||||
else
|
||||
svDir = "C:\\mysql"; //PROGRAMFILES ^ @COMPANY_NAME16 ^ @PRODUCT_NAME16; // use shorten names
|
||||
endif;
|
||||
|
||||
TARGETDIR = svDir;
|
||||
|
||||
SdProductName( @PRODUCT_NAME );
|
||||
|
||||
Enable( DIALOGCACHE );
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: SetupScreen //
|
||||
// //
|
||||
// Purpose: This function establishes the screen look. This includes //
|
||||
// colors, fonts, and text to be displayed. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupScreen()
|
||||
begin
|
||||
|
||||
Enable( FULLWINDOWMODE );
|
||||
Enable( INDVFILESTATUS );
|
||||
SetTitle( @TITLE_MAIN, 24, WHITE );
|
||||
|
||||
SetTitle( @TITLE_CAPTIONBAR, 0, BACKGROUNDCAPTION ); // Caption bar text.
|
||||
|
||||
Enable( BACKGROUND );
|
||||
|
||||
Delay( 1 );
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: CheckRequirements //
|
||||
// //
|
||||
// Purpose: This function checks all minimum requirements for the //
|
||||
// application being installed. If any fail, then the user //
|
||||
// is informed and the setup is terminated. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function CheckRequirements()
|
||||
NUMBER nvDx, nvDy, nvResult;
|
||||
STRING svResult;
|
||||
|
||||
begin
|
||||
|
||||
bWinNT = FALSE;
|
||||
bIsShellExplorer = FALSE;
|
||||
|
||||
// Check screen resolution.
|
||||
GetExtents( nvDx, nvDy );
|
||||
|
||||
if (nvDy < 480) then
|
||||
MessageBox( @ERROR_VGARESOLUTION, WARNING );
|
||||
abort;
|
||||
endif;
|
||||
|
||||
// set 'setup' operation mode
|
||||
bIs32BitSetup = TRUE;
|
||||
GetSystemInfo( ISTYPE, nvResult, svResult );
|
||||
if (nvResult = 16) then
|
||||
bIs32BitSetup = FALSE; // running 16-bit setup
|
||||
return 0; // no additional information required
|
||||
endif;
|
||||
|
||||
// --- 32-bit testing after this point ---
|
||||
|
||||
// Determine the target system's operating system.
|
||||
GetSystemInfo( OS, nvResult, svResult );
|
||||
|
||||
if (nvResult = IS_WINDOWSNT) then
|
||||
// Running Windows NT.
|
||||
bWinNT = TRUE;
|
||||
|
||||
// Check to see if the shell being used is EXPLORER shell.
|
||||
if (GetSystemInfo( OSMAJOR, nvResult, svResult ) = 0) then
|
||||
if (nvResult >= 4) then
|
||||
bIsShellExplorer = TRUE;
|
||||
endif;
|
||||
endif;
|
||||
|
||||
elseif (nvResult = IS_WINDOWS95 ) then
|
||||
bIsShellExplorer = TRUE;
|
||||
|
||||
endif;
|
||||
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdWelcome //
|
||||
// //
|
||||
// Purpose: This function handles the standard welcome dialog. //
|
||||
// //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdWelcome()
|
||||
NUMBER nResult;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SdWelcome( szTitle, szMsg );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdShowInfoList //
|
||||
// //
|
||||
// Purpose: This function displays the general information list dialog. //
|
||||
// //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdShowInfoList()
|
||||
NUMBER nResult;
|
||||
LIST list;
|
||||
STRING szTitle, szMsg, szFile;
|
||||
begin
|
||||
|
||||
szFile = SUPPORTDIR ^ "infolist.txt";
|
||||
|
||||
list = ListCreate( STRINGLIST );
|
||||
ListReadFromFile( list, szFile );
|
||||
szTitle = "";
|
||||
szMsg = " ";
|
||||
nResult = SdShowInfoList( szTitle, szMsg, list );
|
||||
|
||||
ListDestroy( list );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdAskDestPath //
|
||||
// //
|
||||
// Purpose: This function asks the user for the destination directory. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdAskDestPath()
|
||||
NUMBER nResult;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SdAskDestPath( szTitle, szMsg, svDir, 0 );
|
||||
|
||||
TARGETDIR = svDir;
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdSetupType //
|
||||
// //
|
||||
// Purpose: This function displays the standard setup type dialog. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdSetupType()
|
||||
NUMBER nResult, nType;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
switch (svSetupType)
|
||||
case "Typical":
|
||||
nType = TYPICAL;
|
||||
case "Custom":
|
||||
nType = CUSTOM;
|
||||
case "Compact":
|
||||
nType = COMPACT;
|
||||
case "":
|
||||
svSetupType = "Typical";
|
||||
nType = TYPICAL;
|
||||
endswitch;
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SetupType( szTitle, szMsg, "", nType, 0 );
|
||||
|
||||
switch (nResult)
|
||||
case COMPACT:
|
||||
svSetupType = "Compact";
|
||||
case TYPICAL:
|
||||
svSetupType = "Typical";
|
||||
case CUSTOM:
|
||||
svSetupType = "Custom";
|
||||
endswitch;
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdComponentDialog2 //
|
||||
// //
|
||||
// Purpose: This function displays the custom component dialog. //
|
||||
// //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdComponentDialog2()
|
||||
NUMBER nResult;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
if ((svSetupType != "Custom") && (svSetupType != "")) then
|
||||
return 0;
|
||||
endif;
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SdComponentDialog2( szTitle, szMsg, svDir, "" );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdFinishReboot //
|
||||
// //
|
||||
// Purpose: This function will show the last dialog of the product. //
|
||||
// It will allow the user to reboot and/or show some readme text. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdFinishReboot()
|
||||
NUMBER nResult, nDefOptions;
|
||||
STRING szTitle, szMsg1, szMsg2, szOption1, szOption2;
|
||||
NUMBER bOpt1, bOpt2;
|
||||
begin
|
||||
|
||||
if (!BATCH_INSTALL) then
|
||||
bOpt1 = FALSE;
|
||||
bOpt2 = FALSE;
|
||||
szMsg1 = "";
|
||||
szMsg2 = "";
|
||||
szOption1 = "";
|
||||
szOption2 = "";
|
||||
nResult = SdFinish( szTitle, szMsg1, szMsg2, szOption1, szOption2, bOpt1, bOpt2 );
|
||||
return 0;
|
||||
endif;
|
||||
|
||||
nDefOptions = SYS_BOOTMACHINE;
|
||||
szTitle = "";
|
||||
szMsg1 = "";
|
||||
szMsg2 = "";
|
||||
nResult = SdFinishReboot( szTitle, szMsg1, nDefOptions, szMsg2, 0 );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
// --- include script file section ---
|
||||
|
||||
#include "sddialog.rul"
|
||||
|
||||
|
|
@ -1,641 +0,0 @@
|
|||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// IIIIIII SSSSSS
|
||||
// II SS InstallShield (R)
|
||||
// II SSSSSS (c) 1996-1997, InstallShield Software Corporation
|
||||
// II SS (c) 1990-1996, InstallShield Corporation
|
||||
// IIIIIII SSSSSS All Rights Reserved.
|
||||
//
|
||||
//
|
||||
// This code is generated as a starting setup template. You should
|
||||
// modify it to provide all necessary steps for your setup.
|
||||
//
|
||||
//
|
||||
// File Name: Setup.rul
|
||||
//
|
||||
// Description: InstallShield script
|
||||
//
|
||||
// Comments: This template script performs a basic setup on a
|
||||
// Windows 95 or Windows NT 4.0 platform. With minor
|
||||
// modifications, this template can be adapted to create
|
||||
// new, customized setups.
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// Include header file
|
||||
#include "sdlang.h"
|
||||
#include "sddialog.h"
|
||||
|
||||
////////////////////// string defines ////////////////////////////
|
||||
|
||||
#define UNINST_LOGFILE_NAME "Uninst.isu"
|
||||
|
||||
//////////////////// installation declarations ///////////////////
|
||||
|
||||
// ----- DLL prototypes -----
|
||||
|
||||
|
||||
// your DLL prototypes
|
||||
|
||||
|
||||
// ---- script prototypes -----
|
||||
|
||||
// generated
|
||||
prototype ShowDialogs();
|
||||
prototype MoveFileData();
|
||||
prototype HandleMoveDataError( NUMBER );
|
||||
prototype ProcessBeforeDataMove();
|
||||
prototype ProcessAfterDataMove();
|
||||
prototype SetupRegistry();
|
||||
prototype SetupFolders();
|
||||
prototype CleanUpInstall();
|
||||
prototype SetupInstall();
|
||||
prototype SetupScreen();
|
||||
prototype CheckRequirements();
|
||||
prototype DialogShowSdWelcome();
|
||||
prototype DialogShowSdShowInfoList();
|
||||
prototype DialogShowSdAskDestPath();
|
||||
prototype DialogShowSdSetupType();
|
||||
prototype DialogShowSdComponentDialog2();
|
||||
prototype DialogShowSdFinishReboot();
|
||||
|
||||
// your prototypes
|
||||
|
||||
|
||||
// ----- global variables ------
|
||||
|
||||
// generated
|
||||
BOOL bWinNT, bIsShellExplorer, bInstallAborted, bIs32BitSetup;
|
||||
STRING svDir;
|
||||
STRING svName, svCompany, svSerial;
|
||||
STRING szAppPath;
|
||||
STRING svSetupType;
|
||||
|
||||
|
||||
// your global variables
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// MAIN PROGRAM
|
||||
//
|
||||
// The setup begins here by hiding the visible setup
|
||||
// window. This is done to allow all the titles, images, etc. to
|
||||
// be established before showing the main window. The following
|
||||
// logic then performs the setup in a series of steps.
|
||||
//
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
program
|
||||
Disable( BACKGROUND );
|
||||
|
||||
CheckRequirements();
|
||||
|
||||
SetupInstall();
|
||||
|
||||
SetupScreen();
|
||||
|
||||
if (ShowDialogs()<0) goto end_install;
|
||||
|
||||
if (ProcessBeforeDataMove()<0) goto end_install;
|
||||
|
||||
if (MoveFileData()<0) goto end_install;
|
||||
|
||||
if (ProcessAfterDataMove()<0) goto end_install;
|
||||
|
||||
if (SetupRegistry()<0) goto end_install;
|
||||
|
||||
if (SetupFolders()<0) goto end_install;
|
||||
|
||||
|
||||
end_install:
|
||||
|
||||
CleanUpInstall();
|
||||
|
||||
// If an unrecoverable error occurred, clean up the partial installation.
|
||||
// Otherwise, exit normally.
|
||||
|
||||
if (bInstallAborted) then
|
||||
abort;
|
||||
endif;
|
||||
|
||||
endprogram
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: ShowDialogs //
|
||||
// //
|
||||
// Purpose: This function manages the display and navigation //
|
||||
// the standard dialogs that exist in a setup. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function ShowDialogs()
|
||||
NUMBER nResult;
|
||||
begin
|
||||
|
||||
Dlg_Start:
|
||||
// beginning of dialogs label
|
||||
|
||||
Dlg_SdWelcome:
|
||||
nResult = DialogShowSdWelcome();
|
||||
if (nResult = BACK) goto Dlg_Start;
|
||||
|
||||
Dlg_SdShowInfoList:
|
||||
nResult = DialogShowSdShowInfoList();
|
||||
if (nResult = BACK) goto Dlg_SdWelcome;
|
||||
|
||||
Dlg_SdAskDestPath:
|
||||
nResult = DialogShowSdAskDestPath();
|
||||
if (nResult = BACK) goto Dlg_SdShowInfoList;
|
||||
|
||||
Dlg_SdSetupType:
|
||||
nResult = DialogShowSdSetupType();
|
||||
if (nResult = BACK) goto Dlg_SdAskDestPath;
|
||||
|
||||
Dlg_SdComponentDialog2:
|
||||
if ((nResult = BACK) && (svSetupType != "Custom") && (svSetupType != "")) then
|
||||
goto Dlg_SdSetupType;
|
||||
endif;
|
||||
nResult = DialogShowSdComponentDialog2();
|
||||
if (nResult = BACK) goto Dlg_SdSetupType;
|
||||
|
||||
return 0;
|
||||
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: ProcessBeforeDataMove //
|
||||
// //
|
||||
// Purpose: This function performs any necessary operations prior to the //
|
||||
// actual data move operation. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function ProcessBeforeDataMove()
|
||||
STRING svLogFile;
|
||||
NUMBER nResult;
|
||||
begin
|
||||
|
||||
InstallationInfo( @COMPANY_NAME, @PRODUCT_NAME, @PRODUCT_VERSION, @PRODUCT_KEY );
|
||||
|
||||
svLogFile = UNINST_LOGFILE_NAME;
|
||||
|
||||
nResult = DeinstallStart( svDir, svLogFile, @UNINST_KEY, 0 );
|
||||
if (nResult < 0) then
|
||||
MessageBox( @ERROR_UNINSTSETUP, WARNING );
|
||||
endif;
|
||||
|
||||
szAppPath = TARGETDIR; // TODO : if your application .exe is in a subdir of TARGETDIR then add subdir
|
||||
|
||||
if ((bIs32BitSetup) && (bIsShellExplorer)) then
|
||||
// RegDBSetItem( REGDB_APPPATH, szAppPath );
|
||||
// RegDBSetItem( REGDB_APPPATH_DEFAULT, szAppPath ^ @PRODUCT_KEY );
|
||||
RegDBSetItem( REGDB_UNINSTALL_NAME, @UNINST_DISPLAY_NAME );
|
||||
endif;
|
||||
|
||||
// TODO : update any items you want to process before moving the data
|
||||
//
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: MoveFileData //
|
||||
// //
|
||||
// Purpose: This function handles the data movement for //
|
||||
// the setup. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function MoveFileData()
|
||||
NUMBER nResult, nDisk;
|
||||
begin
|
||||
|
||||
nDisk = 1;
|
||||
SetStatusWindow( 0, "" );
|
||||
Disable( DIALOGCACHE );
|
||||
Enable( STATUS );
|
||||
StatusUpdate( ON, 100 );
|
||||
nResult = ComponentMoveData( MEDIA, nDisk, 0 );
|
||||
|
||||
HandleMoveDataError( nResult );
|
||||
|
||||
Disable( STATUS );
|
||||
|
||||
return nResult;
|
||||
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: HandleMoveDataError //
|
||||
// //
|
||||
// Purpose: This function handles the error (if any) during the move data //
|
||||
// operation. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function HandleMoveDataError( nResult )
|
||||
STRING szErrMsg, svComponent , svFileGroup , svFile;
|
||||
begin
|
||||
|
||||
svComponent = "";
|
||||
svFileGroup = "";
|
||||
svFile = "";
|
||||
|
||||
switch (nResult)
|
||||
case 0:
|
||||
return 0;
|
||||
default:
|
||||
ComponentError ( MEDIA , svComponent , svFileGroup , svFile , nResult );
|
||||
szErrMsg = @ERROR_MOVEDATA + "\n\n" +
|
||||
@ERROR_COMPONENT + " " + svComponent + "\n" +
|
||||
@ERROR_FILEGROUP + " " + svFileGroup + "\n" +
|
||||
@ERROR_FILE + " " + svFile;
|
||||
SprintfBox( SEVERE, @TITLE_CAPTIONBAR, szErrMsg, nResult );
|
||||
bInstallAborted = TRUE;
|
||||
return nResult;
|
||||
endswitch;
|
||||
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: ProcessAfterDataMove //
|
||||
// //
|
||||
// Purpose: This function performs any necessary operations needed after //
|
||||
// all data has been moved. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function ProcessAfterDataMove()
|
||||
begin
|
||||
|
||||
// TODO : update self-registered files and other processes that
|
||||
// should be performed after the data has been moved.
|
||||
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: SetupRegistry //
|
||||
// //
|
||||
// Purpose: This function makes the registry entries for this setup. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupRegistry()
|
||||
NUMBER nResult;
|
||||
|
||||
begin
|
||||
|
||||
// TODO : Add all your registry entry keys here
|
||||
//
|
||||
//
|
||||
// RegDBCreateKeyEx, RegDBSetKeyValueEx....
|
||||
//
|
||||
|
||||
nResult = CreateRegistrySet( "" );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Function: SetupFolders
|
||||
//
|
||||
// Purpose: This function creates all the folders and shortcuts for the
|
||||
// setup. This includes program groups and items for Windows 3.1.
|
||||
//
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupFolders()
|
||||
NUMBER nResult;
|
||||
|
||||
begin
|
||||
|
||||
|
||||
// TODO : Add all your folder (program group) along with shortcuts (program items)
|
||||
//
|
||||
//
|
||||
// CreateProgramFolder, AddFolderIcon....
|
||||
//
|
||||
|
||||
nResult = CreateShellObjects( "" );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: CleanUpInstall //
|
||||
// //
|
||||
// Purpose: This cleans up the setup. Anything that should //
|
||||
// be released or deleted at the end of the setup should //
|
||||
// be done here. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function CleanUpInstall()
|
||||
begin
|
||||
|
||||
|
||||
if (bInstallAborted) then
|
||||
return 0;
|
||||
endif;
|
||||
|
||||
DialogShowSdFinishReboot();
|
||||
|
||||
if (BATCH_INSTALL) then // ensure locked files are properly written
|
||||
CommitSharedFiles(0);
|
||||
endif;
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: SetupInstall //
|
||||
// //
|
||||
// Purpose: This will setup the installation. Any general initialization //
|
||||
// needed for the installation should be performed here. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupInstall()
|
||||
begin
|
||||
|
||||
Enable( CORECOMPONENTHANDLING );
|
||||
|
||||
bInstallAborted = FALSE;
|
||||
|
||||
if (bIs32BitSetup) then
|
||||
svDir = "C:\\mysql"; //PROGRAMFILES ^ @COMPANY_NAME ^ @PRODUCT_NAME;
|
||||
else
|
||||
svDir = "C:\\mysql"; //PROGRAMFILES ^ @COMPANY_NAME16 ^ @PRODUCT_NAME16; // use shorten names
|
||||
endif;
|
||||
|
||||
TARGETDIR = svDir;
|
||||
|
||||
SdProductName( @PRODUCT_NAME );
|
||||
|
||||
Enable( DIALOGCACHE );
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: SetupScreen //
|
||||
// //
|
||||
// Purpose: This function establishes the screen look. This includes //
|
||||
// colors, fonts, and text to be displayed. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupScreen()
|
||||
begin
|
||||
|
||||
Enable( FULLWINDOWMODE );
|
||||
Enable( INDVFILESTATUS );
|
||||
SetTitle( @TITLE_MAIN, 24, WHITE );
|
||||
|
||||
SetTitle( @TITLE_CAPTIONBAR, 0, BACKGROUNDCAPTION ); // Caption bar text.
|
||||
|
||||
Enable( BACKGROUND );
|
||||
|
||||
Delay( 1 );
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: CheckRequirements //
|
||||
// //
|
||||
// Purpose: This function checks all minimum requirements for the //
|
||||
// application being installed. If any fail, then the user //
|
||||
// is informed and the setup is terminated. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function CheckRequirements()
|
||||
NUMBER nvDx, nvDy, nvResult;
|
||||
STRING svResult;
|
||||
|
||||
begin
|
||||
|
||||
bWinNT = FALSE;
|
||||
bIsShellExplorer = FALSE;
|
||||
|
||||
// Check screen resolution.
|
||||
GetExtents( nvDx, nvDy );
|
||||
|
||||
if (nvDy < 480) then
|
||||
MessageBox( @ERROR_VGARESOLUTION, WARNING );
|
||||
abort;
|
||||
endif;
|
||||
|
||||
// set 'setup' operation mode
|
||||
bIs32BitSetup = TRUE;
|
||||
GetSystemInfo( ISTYPE, nvResult, svResult );
|
||||
if (nvResult = 16) then
|
||||
bIs32BitSetup = FALSE; // running 16-bit setup
|
||||
return 0; // no additional information required
|
||||
endif;
|
||||
|
||||
// --- 32-bit testing after this point ---
|
||||
|
||||
// Determine the target system's operating system.
|
||||
GetSystemInfo( OS, nvResult, svResult );
|
||||
|
||||
if (nvResult = IS_WINDOWSNT) then
|
||||
// Running Windows NT.
|
||||
bWinNT = TRUE;
|
||||
|
||||
// Check to see if the shell being used is EXPLORER shell.
|
||||
if (GetSystemInfo( OSMAJOR, nvResult, svResult ) = 0) then
|
||||
if (nvResult >= 4) then
|
||||
bIsShellExplorer = TRUE;
|
||||
endif;
|
||||
endif;
|
||||
|
||||
elseif (nvResult = IS_WINDOWS95 ) then
|
||||
bIsShellExplorer = TRUE;
|
||||
|
||||
endif;
|
||||
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdWelcome //
|
||||
// //
|
||||
// Purpose: This function handles the standard welcome dialog. //
|
||||
// //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdWelcome()
|
||||
NUMBER nResult;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SdWelcome( szTitle, szMsg );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdShowInfoList //
|
||||
// //
|
||||
// Purpose: This function displays the general information list dialog. //
|
||||
// //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdShowInfoList()
|
||||
NUMBER nResult;
|
||||
LIST list;
|
||||
STRING szTitle, szMsg, szFile;
|
||||
begin
|
||||
|
||||
szFile = SUPPORTDIR ^ "infolist.txt";
|
||||
|
||||
list = ListCreate( STRINGLIST );
|
||||
ListReadFromFile( list, szFile );
|
||||
szTitle = "";
|
||||
szMsg = " ";
|
||||
nResult = SdShowInfoList( szTitle, szMsg, list );
|
||||
|
||||
ListDestroy( list );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdAskDestPath //
|
||||
// //
|
||||
// Purpose: This function asks the user for the destination directory. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdAskDestPath()
|
||||
NUMBER nResult;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SdAskDestPath( szTitle, szMsg, svDir, 0 );
|
||||
|
||||
TARGETDIR = svDir;
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdSetupType //
|
||||
// //
|
||||
// Purpose: This function displays the standard setup type dialog. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdSetupType()
|
||||
NUMBER nResult, nType;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
switch (svSetupType)
|
||||
case "Typical":
|
||||
nType = TYPICAL;
|
||||
case "Custom":
|
||||
nType = CUSTOM;
|
||||
case "Compact":
|
||||
nType = COMPACT;
|
||||
case "":
|
||||
svSetupType = "Typical";
|
||||
nType = TYPICAL;
|
||||
endswitch;
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SetupType( szTitle, szMsg, "", nType, 0 );
|
||||
|
||||
switch (nResult)
|
||||
case COMPACT:
|
||||
svSetupType = "Compact";
|
||||
case TYPICAL:
|
||||
svSetupType = "Typical";
|
||||
case CUSTOM:
|
||||
svSetupType = "Custom";
|
||||
endswitch;
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdComponentDialog2 //
|
||||
// //
|
||||
// Purpose: This function displays the custom component dialog. //
|
||||
// //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdComponentDialog2()
|
||||
NUMBER nResult;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
if ((svSetupType != "Custom") && (svSetupType != "")) then
|
||||
return 0;
|
||||
endif;
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SdComponentDialog2( szTitle, szMsg, svDir, "" );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdFinishReboot //
|
||||
// //
|
||||
// Purpose: This function will show the last dialog of the product. //
|
||||
// It will allow the user to reboot and/or show some readme text. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdFinishReboot()
|
||||
NUMBER nResult, nDefOptions;
|
||||
STRING szTitle, szMsg1, szMsg2, szOption1, szOption2;
|
||||
NUMBER bOpt1, bOpt2;
|
||||
begin
|
||||
|
||||
if (!BATCH_INSTALL) then
|
||||
bOpt1 = FALSE;
|
||||
bOpt2 = FALSE;
|
||||
szMsg1 = "";
|
||||
szMsg2 = "";
|
||||
szOption1 = "";
|
||||
szOption2 = "";
|
||||
nResult = SdFinish( szTitle, szMsg1, szMsg2, szOption1, szOption2, bOpt1, bOpt2 );
|
||||
return 0;
|
||||
endif;
|
||||
|
||||
nDefOptions = SYS_BOOTMACHINE;
|
||||
szTitle = "";
|
||||
szMsg1 = "";
|
||||
szMsg2 = "";
|
||||
nResult = SdFinishReboot( szTitle, szMsg1, nDefOptions, szMsg2, 0 );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
// --- include script file section ---
|
||||
|
||||
#include "sddialog.rul"
|
||||
|
||||
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
This is a release of MySQL Classic @VERSION@ for Win32.
|
||||
|
||||
NOTE: If you install MySQL in a folder other than
|
||||
C:\MYSQL or you intend to start MySQL on NT/Win2000
|
||||
as a service, you must create a file named C:\MY.CNF
|
||||
or \Windows\my.ini or \winnt\my.ini with the following
|
||||
information::
|
||||
|
||||
[mysqld]
|
||||
basedir=E:/installation-path/
|
||||
datadir=E:/data-path/
|
||||
|
||||
After your have installed MySQL, the installation
|
||||
directory will contain 4 files named 'my-small.cnf,
|
||||
my-medium.cnf, my-large.cnf, my-huge.cnf'.
|
||||
You can use this as a starting point for your own
|
||||
C:\my.cnf file.
|
||||
|
||||
If you have any problems, you can mail them to
|
||||
win32@lists.mysql.com after you have consulted the
|
||||
MySQL manual and the MySQL mailing list archive
|
||||
(http://www.mysql.com/documentation/index.html)
|
||||
|
||||
On behalf of the MySQL AB gang,
|
||||
Michael Widenius
|
Binary file not shown.
Before Width: | Height: | Size: 15 KiB |
|
@ -1,12 +0,0 @@
|
|||
[Data]
|
||||
Folder3=<FOLDER_STARTUP>
|
||||
Group0=Main
|
||||
Group1=Startup
|
||||
Folder0=<FOLDER_DESKTOP>
|
||||
Folder1=<FOLDER_STARTMENU>
|
||||
Folder2=<FOLDER_PROGRAMS>
|
||||
|
||||
[Info]
|
||||
Type=ShellObject
|
||||
Version=1.00.000
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
[Data]
|
||||
TITLE_MAIN=MySQL Classic Servers and Clients @VERSION@
|
||||
COMPANY_NAME=MySQL AB
|
||||
ERROR_COMPONENT=Component:
|
||||
COMPANY_NAME16=Company
|
||||
PRODUCT_VERSION=MySQL Classic Servers and Clients @VERSION@
|
||||
ERROR_MOVEDATA=An error occurred during the move data process: %d
|
||||
ERROR_FILEGROUP=File Group:
|
||||
UNINST_KEY=MySQL Classic Servers and Clients @VERSION@
|
||||
TITLE_CAPTIONBAR=MySQL Classic Servers and Clients @VERSION@
|
||||
PRODUCT_NAME16=Product
|
||||
ERROR_VGARESOLUTION=This program requires VGA or better resolution.
|
||||
ERROR_FILE=File:
|
||||
UNINST_DISPLAY_NAME=MySQL Classic Servers and Clients @VERSION@
|
||||
PRODUCT_KEY=yourapp.Exe
|
||||
PRODUCT_NAME=MySQL Classic Servers and Clients @VERSION@
|
||||
ERROR_UNINSTSETUP=unInstaller setup failed to initialize. You may not be able to uninstall this product.
|
||||
|
||||
[General]
|
||||
Language=0009
|
||||
Type=STRINGTABLESPECIFIC
|
||||
Version=1.00.000
|
||||
|
|
@ -1,74 +0,0 @@
|
|||
[TITLE_MAIN]
|
||||
Comment=
|
||||
|
||||
[COMPANY_NAME]
|
||||
Comment=
|
||||
|
||||
[ERROR_COMPONENT]
|
||||
Comment=
|
||||
|
||||
[COMPANY_NAME16]
|
||||
Comment=
|
||||
|
||||
[PRODUCT_VERSION]
|
||||
Comment=
|
||||
|
||||
[ERROR_MOVEDATA]
|
||||
Comment=
|
||||
|
||||
[ERROR_FILEGROUP]
|
||||
Comment=
|
||||
|
||||
[Language]
|
||||
Lang0=0009
|
||||
CurrentLang=0
|
||||
|
||||
[UNINST_KEY]
|
||||
Comment=
|
||||
|
||||
[TITLE_CAPTIONBAR]
|
||||
Comment=
|
||||
|
||||
[Data]
|
||||
Entry0=ERROR_VGARESOLUTION
|
||||
Entry1=TITLE_MAIN
|
||||
Entry2=TITLE_CAPTIONBAR
|
||||
Entry3=UNINST_KEY
|
||||
Entry4=UNINST_DISPLAY_NAME
|
||||
Entry5=COMPANY_NAME
|
||||
Entry6=PRODUCT_NAME
|
||||
Entry7=PRODUCT_VERSION
|
||||
Entry8=PRODUCT_KEY
|
||||
Entry9=ERROR_MOVEDATA
|
||||
Entry10=ERROR_UNINSTSETUP
|
||||
Entry11=COMPANY_NAME16
|
||||
Entry12=PRODUCT_NAME16
|
||||
Entry13=ERROR_COMPONENT
|
||||
Entry14=ERROR_FILEGROUP
|
||||
Entry15=ERROR_FILE
|
||||
|
||||
[PRODUCT_NAME16]
|
||||
Comment=
|
||||
|
||||
[ERROR_VGARESOLUTION]
|
||||
Comment=
|
||||
|
||||
[ERROR_FILE]
|
||||
Comment=
|
||||
|
||||
[General]
|
||||
Type=STRINGTABLE
|
||||
Version=1.00.000
|
||||
|
||||
[UNINST_DISPLAY_NAME]
|
||||
Comment=
|
||||
|
||||
[PRODUCT_KEY]
|
||||
Comment=
|
||||
|
||||
[PRODUCT_NAME]
|
||||
Comment=
|
||||
|
||||
[ERROR_UNINSTSETUP]
|
||||
Comment=
|
||||
|
|
@ -1,56 +0,0 @@
|
|||
[<HKUS>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<HKCR>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<PROGRAMFILES>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<WINSYSDIR>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<COMMONFILES>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<WINDIR>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[Data]
|
||||
Key0=<PROGRAMFILES>
|
||||
Key1=<COMMONFILES>
|
||||
Key2=<WINDIR>
|
||||
Key3=<WINSYSDIR>
|
||||
Key4=<HKLM>
|
||||
Key5=<HKCU>
|
||||
Key6=<HKCC>
|
||||
Key7=<HKDD>
|
||||
Key8=<HKUS>
|
||||
Key9=<HKCR>
|
||||
|
||||
[General]
|
||||
Type=TEXTSUB
|
||||
Version=1.00.000
|
||||
|
||||
[<HKLM>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<HKCU>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<HKCC>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<HKDD>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
|
@ -1,76 +0,0 @@
|
|||
[<SRCDIR>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<HKUS>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<HKCR>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<PROGRAMFILES>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<TARGETDIR>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<WINSYSDIR>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<COMMONFILES>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<WINDIR>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[Data]
|
||||
Key0=<PROGRAMFILES>
|
||||
Key1=<COMMONFILES>
|
||||
Key2=<WINDIR>
|
||||
Key3=<WINSYSDIR>
|
||||
Key4=<TARGETDIR>
|
||||
Key5=<SUPPORTDIR>
|
||||
Key10=<HKDD>
|
||||
Key6=<SRCDIR>
|
||||
Key11=<HKUS>
|
||||
Key7=<HKLM>
|
||||
Key12=<HKCR>
|
||||
Key8=<HKCU>
|
||||
Key13=<SHELL_OBJECT_FOLDER>
|
||||
Key9=<HKCC>
|
||||
|
||||
[<SUPPORTDIR>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<SHELL_OBJECT_FOLDER>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[General]
|
||||
Type=TEXTSUB
|
||||
Version=1.00.000
|
||||
|
||||
[<HKLM>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<HKCU>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<HKCC>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<HKDD>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
|
@ -1,51 +0,0 @@
|
|||
[Language]
|
||||
LanguageSupport0=0009
|
||||
|
||||
[OperatingSystem]
|
||||
OSSupport=0000000000010010
|
||||
|
||||
[Data]
|
||||
CurrentMedia=
|
||||
CurrentComponentDef=Default.cdf
|
||||
ProductName=MySQL Servers and Clients
|
||||
set_mifserial=
|
||||
DevEnvironment=Microsoft Visual C++ 6
|
||||
AppExe=
|
||||
set_dlldebug=No
|
||||
EmailAddresss=
|
||||
Instructions=Instructions.txt
|
||||
set_testmode=No
|
||||
set_mif=No
|
||||
SummaryText=
|
||||
Department=
|
||||
HomeURL=
|
||||
Author=
|
||||
Type=Database Application
|
||||
InstallRoot=D:\MySQL-Install\mysql-4\MySQL Servers and Clients
|
||||
Version=1.00.000
|
||||
InstallationGUID=40744a4d-efed-4cff-84a9-9e6389550f5c
|
||||
set_level=Level 3
|
||||
CurrentFileGroupDef=Default.fdf
|
||||
Notes=Notes.txt
|
||||
set_maxerr=50
|
||||
set_args=
|
||||
set_miffile=Status.mif
|
||||
set_dllcmdline=
|
||||
Copyright=
|
||||
set_warnaserr=No
|
||||
CurrentPlatform=
|
||||
Category=
|
||||
set_preproc=
|
||||
CurrentLanguage=English
|
||||
CompanyName=MySQL
|
||||
Description=Description.txt
|
||||
set_maxwarn=50
|
||||
set_crc=Yes
|
||||
set_compileb4build=No
|
||||
|
||||
[MediaInfo]
|
||||
|
||||
[General]
|
||||
Type=INSTALLMAIN
|
||||
Version=1.10.000
|
||||
|
|
@ -1,192 +0,0 @@
|
|||
[Development]
|
||||
required0=Servers
|
||||
SELECTED=Yes
|
||||
FILENEED=STANDARD
|
||||
required1=Grant Tables
|
||||
HTTPLOCATION=
|
||||
STATUS=Examples, Libraries, Includes and Script files
|
||||
UNINSTALLABLE=Yes
|
||||
TARGET=<TARGETDIR>
|
||||
FTPLOCATION=
|
||||
VISIBLE=Yes
|
||||
DESCRIPTION=Examples, Libraries, Includes and Script files
|
||||
DISPLAYTEXT=Examples, Libraries, Includes and Script files
|
||||
IMAGE=
|
||||
DEFSELECTION=Yes
|
||||
filegroup0=Development
|
||||
COMMENT=
|
||||
INCLUDEINBUILD=Yes
|
||||
INSTALLATION=ALWAYSOVERWRITE
|
||||
COMPRESSIFSEPARATE=No
|
||||
MISC=
|
||||
ENCRYPT=No
|
||||
DISK=ANYDISK
|
||||
TARGETDIRCDROM=
|
||||
PASSWORD=
|
||||
TARGETHIDDEN=General Application Destination
|
||||
|
||||
[Grant Tables]
|
||||
required0=Servers
|
||||
SELECTED=Yes
|
||||
FILENEED=CRITICAL
|
||||
HTTPLOCATION=
|
||||
STATUS=The Grant Tables and Core Files
|
||||
UNINSTALLABLE=Yes
|
||||
TARGET=<TARGETDIR>
|
||||
FTPLOCATION=
|
||||
VISIBLE=Yes
|
||||
DESCRIPTION=The Grant Tables and Core Files
|
||||
DISPLAYTEXT=The Grant Tables and Core Files
|
||||
IMAGE=
|
||||
DEFSELECTION=Yes
|
||||
filegroup0=Grant Tables
|
||||
requiredby0=Development
|
||||
COMMENT=
|
||||
INCLUDEINBUILD=Yes
|
||||
requiredby1=Clients and Tools
|
||||
INSTALLATION=NEVEROVERWRITE
|
||||
requiredby2=Documentation
|
||||
COMPRESSIFSEPARATE=No
|
||||
MISC=
|
||||
ENCRYPT=No
|
||||
DISK=ANYDISK
|
||||
TARGETDIRCDROM=
|
||||
PASSWORD=
|
||||
TARGETHIDDEN=General Application Destination
|
||||
|
||||
[Components]
|
||||
component0=Development
|
||||
component1=Grant Tables
|
||||
component2=Servers
|
||||
component3=Clients and Tools
|
||||
component4=Documentation
|
||||
|
||||
[TopComponents]
|
||||
component0=Servers
|
||||
component1=Clients and Tools
|
||||
component2=Documentation
|
||||
component3=Development
|
||||
component4=Grant Tables
|
||||
|
||||
[SetupType]
|
||||
setuptype0=Compact
|
||||
setuptype1=Typical
|
||||
setuptype2=Custom
|
||||
|
||||
[Clients and Tools]
|
||||
required0=Servers
|
||||
SELECTED=Yes
|
||||
FILENEED=HIGHLYRECOMMENDED
|
||||
required1=Grant Tables
|
||||
HTTPLOCATION=
|
||||
STATUS=The MySQL clients and Maintenance Tools
|
||||
UNINSTALLABLE=Yes
|
||||
TARGET=<TARGETDIR>
|
||||
FTPLOCATION=
|
||||
VISIBLE=Yes
|
||||
DESCRIPTION=The MySQL clients and Maintenance Tools
|
||||
DISPLAYTEXT=The MySQL clients and Maintenance Tools
|
||||
IMAGE=
|
||||
DEFSELECTION=Yes
|
||||
filegroup0=Clients and Tools
|
||||
COMMENT=
|
||||
INCLUDEINBUILD=Yes
|
||||
INSTALLATION=NEWERDATE
|
||||
COMPRESSIFSEPARATE=No
|
||||
MISC=
|
||||
ENCRYPT=No
|
||||
DISK=ANYDISK
|
||||
TARGETDIRCDROM=
|
||||
PASSWORD=
|
||||
TARGETHIDDEN=General Application Destination
|
||||
|
||||
[Servers]
|
||||
SELECTED=Yes
|
||||
FILENEED=CRITICAL
|
||||
HTTPLOCATION=
|
||||
STATUS=The MySQL Servers
|
||||
UNINSTALLABLE=Yes
|
||||
TARGET=<TARGETDIR>
|
||||
FTPLOCATION=
|
||||
VISIBLE=Yes
|
||||
DESCRIPTION=The MySQL Servers
|
||||
DISPLAYTEXT=The MySQL Servers
|
||||
IMAGE=
|
||||
DEFSELECTION=Yes
|
||||
filegroup0=Servers
|
||||
requiredby0=Development
|
||||
COMMENT=
|
||||
INCLUDEINBUILD=Yes
|
||||
requiredby1=Grant Tables
|
||||
INSTALLATION=ALWAYSOVERWRITE
|
||||
requiredby2=Clients and Tools
|
||||
requiredby3=Documentation
|
||||
COMPRESSIFSEPARATE=No
|
||||
MISC=
|
||||
ENCRYPT=No
|
||||
DISK=ANYDISK
|
||||
TARGETDIRCDROM=
|
||||
PASSWORD=
|
||||
TARGETHIDDEN=General Application Destination
|
||||
|
||||
[SetupTypeItem-Compact]
|
||||
Comment=
|
||||
item0=Grant Tables
|
||||
item1=Servers
|
||||
item2=Clients and Tools
|
||||
item3=Documentation
|
||||
Descrip=
|
||||
DisplayText=
|
||||
|
||||
[SetupTypeItem-Custom]
|
||||
Comment=
|
||||
item0=Development
|
||||
item1=Grant Tables
|
||||
item2=Servers
|
||||
item3=Clients and Tools
|
||||
Descrip=
|
||||
item4=Documentation
|
||||
DisplayText=
|
||||
|
||||
[Info]
|
||||
Type=CompDef
|
||||
Version=1.00.000
|
||||
Name=
|
||||
|
||||
[SetupTypeItem-Typical]
|
||||
Comment=
|
||||
item0=Development
|
||||
item1=Grant Tables
|
||||
item2=Servers
|
||||
item3=Clients and Tools
|
||||
Descrip=
|
||||
item4=Documentation
|
||||
DisplayText=
|
||||
|
||||
[Documentation]
|
||||
required0=Servers
|
||||
SELECTED=Yes
|
||||
FILENEED=HIGHLYRECOMMENDED
|
||||
required1=Grant Tables
|
||||
HTTPLOCATION=
|
||||
STATUS=The MySQL Documentation with different formats
|
||||
UNINSTALLABLE=Yes
|
||||
TARGET=<TARGETDIR>
|
||||
FTPLOCATION=
|
||||
VISIBLE=Yes
|
||||
DESCRIPTION=The MySQL Documentation with different formats
|
||||
DISPLAYTEXT=The MySQL Documentation with different formats
|
||||
IMAGE=
|
||||
DEFSELECTION=Yes
|
||||
filegroup0=Documentation
|
||||
COMMENT=
|
||||
INCLUDEINBUILD=Yes
|
||||
INSTALLATION=ALWAYSOVERWRITE
|
||||
COMPRESSIFSEPARATE=No
|
||||
MISC=
|
||||
ENCRYPT=No
|
||||
DISK=ANYDISK
|
||||
TARGETDIRCDROM=
|
||||
PASSWORD=
|
||||
TARGETHIDDEN=General Application Destination
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
[<PROGRAMFILES>\<COMMONFILES>]
|
||||
DISPLAYTEXT=Common Files Folder
|
||||
TYPE=TEXTSUBFIXED
|
||||
fulldirectory=
|
||||
|
||||
[<WINDIR>\<WINSYSDIR>]
|
||||
DISPLAYTEXT=Windows System Folder
|
||||
TYPE=TEXTSUBFIXED
|
||||
fulldirectory=
|
||||
|
||||
[USERDEFINED]
|
||||
DISPLAYTEXT=Script-defined Folders
|
||||
TYPE=USERSTART
|
||||
fulldirectory=
|
||||
|
||||
[<PROGRAMFILES>]
|
||||
DISPLAYTEXT=Program Files Folder
|
||||
SubDir0=<PROGRAMFILES>\<COMMONFILES>
|
||||
TYPE=TEXTSUBFIXED
|
||||
fulldirectory=
|
||||
|
||||
[<TARGETDIR>]
|
||||
DISPLAYTEXT=General Application Destination
|
||||
TYPE=TEXTSUBFIXED
|
||||
fulldirectory=
|
||||
|
||||
[<WINDIR>]
|
||||
DISPLAYTEXT=Windows Operating System
|
||||
SubDir0=<WINDIR>\<WINSYSDIR>
|
||||
TYPE=TEXTSUBFIXED
|
||||
fulldirectory=
|
||||
|
||||
[TopDir]
|
||||
SubDir0=<WINDIR>
|
||||
SubDir1=<PROGRAMFILES>
|
||||
SubDir2=<TARGETDIR>
|
||||
SubDir3=USERDEFINED
|
||||
|
||||
[General]
|
||||
Type=FILELIST
|
||||
Version=1.00.000
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
[bin]
|
||||
file15=C:\mysql\bin\replace.exe
|
||||
file16=C:\mysql\bin\winmysqladmin.cnt
|
||||
file0=C:\mysql\bin\isamchk.exe
|
||||
file17=C:\mysql\bin\WINMYSQLADMIN.HLP
|
||||
file1=C:\mysql\bin\myisamchk.exe
|
||||
file18=C:\mysql\bin\comp-err.exe
|
||||
file2=C:\mysql\bin\myisamlog.exe
|
||||
file19=C:\mysql\bin\my_print_defaults.exe
|
||||
file3=C:\mysql\bin\myisampack.exe
|
||||
file4=C:\mysql\bin\mysql.exe
|
||||
file5=C:\mysql\bin\mysqladmin.exe
|
||||
file6=C:\mysql\bin\mysqlbinlog.exe
|
||||
file7=C:\mysql\bin\mysqlc.exe
|
||||
file8=C:\mysql\bin\mysqlcheck.exe
|
||||
file9=C:\mysql\bin\mysqldump.exe
|
||||
file20=C:\mysql\bin\winmysqladmin.exe
|
||||
file21=C:\mysql\bin\myisam_ftdump.exe
|
||||
file10=C:\mysql\bin\mysqlimport.exe
|
||||
fulldirectory=
|
||||
file11=C:\mysql\bin\mysqlshow.exe
|
||||
file12=C:\mysql\bin\mysqlwatch.exe
|
||||
file13=C:\mysql\bin\pack_isam.exe
|
||||
file14=C:\mysql\bin\perror.exe
|
||||
|
||||
[TopDir]
|
||||
SubDir0=bin
|
||||
|
||||
[General]
|
||||
Type=FILELIST
|
||||
Version=1.00.000
|
||||
|
|
@ -1,82 +0,0 @@
|
|||
[FileGroups]
|
||||
group0=Development
|
||||
group1=Grant Tables
|
||||
group2=Servers
|
||||
group3=Clients and Tools
|
||||
group4=Documentation
|
||||
|
||||
[Development]
|
||||
SELFREGISTERING=No
|
||||
HTTPLOCATION=
|
||||
LANGUAGE=
|
||||
OPERATINGSYSTEM=
|
||||
FTPLOCATION=
|
||||
FILETYPE=No
|
||||
INFOTYPE=Standard
|
||||
COMMENT=
|
||||
COMPRESS=Yes
|
||||
COMPRESSDLL=
|
||||
POTENTIALLY=No
|
||||
MISC=
|
||||
|
||||
[Grant Tables]
|
||||
SELFREGISTERING=No
|
||||
HTTPLOCATION=
|
||||
LANGUAGE=
|
||||
OPERATINGSYSTEM=
|
||||
FTPLOCATION=
|
||||
FILETYPE=No
|
||||
INFOTYPE=Standard
|
||||
COMMENT=
|
||||
COMPRESS=Yes
|
||||
COMPRESSDLL=
|
||||
POTENTIALLY=No
|
||||
MISC=
|
||||
|
||||
[Clients and Tools]
|
||||
SELFREGISTERING=No
|
||||
HTTPLOCATION=
|
||||
LANGUAGE=
|
||||
OPERATINGSYSTEM=0000000000000000
|
||||
FTPLOCATION=
|
||||
FILETYPE=No
|
||||
INFOTYPE=Standard
|
||||
COMMENT=
|
||||
COMPRESS=Yes
|
||||
COMPRESSDLL=
|
||||
POTENTIALLY=No
|
||||
MISC=
|
||||
|
||||
[Servers]
|
||||
SELFREGISTERING=No
|
||||
HTTPLOCATION=
|
||||
LANGUAGE=
|
||||
OPERATINGSYSTEM=
|
||||
FTPLOCATION=
|
||||
FILETYPE=No
|
||||
INFOTYPE=Standard
|
||||
COMMENT=
|
||||
COMPRESS=Yes
|
||||
COMPRESSDLL=
|
||||
POTENTIALLY=No
|
||||
MISC=
|
||||
|
||||
[Info]
|
||||
Type=FileGrp
|
||||
Version=1.00.000
|
||||
Name=
|
||||
|
||||
[Documentation]
|
||||
SELFREGISTERING=No
|
||||
HTTPLOCATION=
|
||||
LANGUAGE=
|
||||
OPERATINGSYSTEM=
|
||||
FTPLOCATION=
|
||||
FILETYPE=No
|
||||
INFOTYPE=Standard
|
||||
COMMENT=
|
||||
COMPRESS=Yes
|
||||
COMPRESSDLL=
|
||||
POTENTIALLY=No
|
||||
MISC=
|
||||
|
|
@ -1,242 +0,0 @@
|
|||
[bench\Data\Wisconsin]
|
||||
file0=C:\mysql\bench\Data\Wisconsin\onek.data
|
||||
file1=C:\mysql\bench\Data\Wisconsin\tenk.data
|
||||
fulldirectory=
|
||||
|
||||
[lib\debug]
|
||||
file0=C:\mysql\lib\debug\libmySQL.dll
|
||||
file1=C:\mysql\lib\debug\libmySQL.lib
|
||||
file2=C:\mysql\lib\debug\mysqlclient.lib
|
||||
file3=C:\mysql\lib\debug\zlib.lib
|
||||
file4=C:\mysql\lib\debug\regex.lib
|
||||
file5=C:\mysql\lib\debug\mysys.lib
|
||||
file6=C:\mysql\lib\debug\strings.lib
|
||||
fulldirectory=
|
||||
|
||||
[bench\output]
|
||||
fulldirectory=
|
||||
|
||||
[examples\libmysqltest]
|
||||
file0=C:\mysql\examples\libmysqltest\myTest.c
|
||||
file1=C:\mysql\examples\libmysqltest\myTest.dsp
|
||||
file2=C:\mysql\examples\libmysqltest\myTest.dsw
|
||||
file3=C:\mysql\examples\libmysqltest\myTest.exe
|
||||
file4=C:\mysql\examples\libmysqltest\myTest.mak
|
||||
file5=C:\mysql\examples\libmysqltest\myTest.ncb
|
||||
file6=C:\mysql\examples\libmysqltest\myTest.opt
|
||||
file7=C:\mysql\examples\libmysqltest\readme
|
||||
fulldirectory=
|
||||
|
||||
[include]
|
||||
file15=C:\mysql\include\libmysqld.def
|
||||
file16=C:\mysql\include\my_alloc.h
|
||||
file0=C:\mysql\include\raid.h
|
||||
file17=C:\mysql\include\my_getopt.h
|
||||
file1=C:\mysql\include\errmsg.h
|
||||
file2=C:\mysql\include\Libmysql.def
|
||||
file3=C:\mysql\include\m_ctype.h
|
||||
file4=C:\mysql\include\m_string.h
|
||||
file5=C:\mysql\include\my_list.h
|
||||
file6=C:\mysql\include\my_pthread.h
|
||||
file7=C:\mysql\include\my_sys.h
|
||||
file8=C:\mysql\include\mysql.h
|
||||
file9=C:\mysql\include\mysql_com.h
|
||||
file10=C:\mysql\include\mysql_version.h
|
||||
fulldirectory=
|
||||
file11=C:\mysql\include\mysqld_error.h
|
||||
file12=C:\mysql\include\dbug.h
|
||||
file13=C:\mysql\include\config-win.h
|
||||
file14=C:\mysql\include\my_global.h
|
||||
|
||||
[examples]
|
||||
SubDir0=examples\libmysqltest
|
||||
SubDir1=examples\tests
|
||||
fulldirectory=
|
||||
|
||||
[lib\opt]
|
||||
file0=C:\mysql\lib\opt\libmySQL.dll
|
||||
file1=C:\mysql\lib\opt\libmySQL.lib
|
||||
file2=C:\mysql\lib\opt\mysqlclient.lib
|
||||
file3=C:\mysql\lib\opt\zlib.lib
|
||||
file4=C:\mysql\lib\opt\strings.lib
|
||||
file5=C:\mysql\lib\opt\mysys-max.lib
|
||||
file6=C:\mysql\lib\opt\regex.lib
|
||||
file7=C:\mysql\lib\opt\mysys.lib
|
||||
fulldirectory=
|
||||
|
||||
[bench\Data]
|
||||
SubDir0=bench\Data\ATIS
|
||||
SubDir1=bench\Data\Wisconsin
|
||||
fulldirectory=
|
||||
|
||||
[bench\limits]
|
||||
file15=C:\mysql\bench\limits\pg.comment
|
||||
file16=C:\mysql\bench\limits\solid.cfg
|
||||
file0=C:\mysql\bench\limits\access.cfg
|
||||
file17=C:\mysql\bench\limits\solid-nt4.cfg
|
||||
file1=C:\mysql\bench\limits\access.comment
|
||||
file18=C:\mysql\bench\limits\sybase.cfg
|
||||
file2=C:\mysql\bench\limits\Adabas.cfg
|
||||
file3=C:\mysql\bench\limits\Adabas.comment
|
||||
file4=C:\mysql\bench\limits\Db2.cfg
|
||||
file5=C:\mysql\bench\limits\empress.cfg
|
||||
file6=C:\mysql\bench\limits\empress.comment
|
||||
file7=C:\mysql\bench\limits\Informix.cfg
|
||||
file8=C:\mysql\bench\limits\Informix.comment
|
||||
file9=C:\mysql\bench\limits\msql.cfg
|
||||
file10=C:\mysql\bench\limits\ms-sql.cfg
|
||||
fulldirectory=
|
||||
file11=C:\mysql\bench\limits\Ms-sql65.cfg
|
||||
file12=C:\mysql\bench\limits\mysql.cfg
|
||||
file13=C:\mysql\bench\limits\oracle.cfg
|
||||
file14=C:\mysql\bench\limits\pg.cfg
|
||||
|
||||
[TopDir]
|
||||
SubDir0=bench
|
||||
SubDir1=examples
|
||||
SubDir2=include
|
||||
SubDir3=lib
|
||||
SubDir4=scripts
|
||||
|
||||
[bench]
|
||||
file15=C:\mysql\bench\test-create
|
||||
file16=C:\mysql\bench\test-insert
|
||||
file0=C:\mysql\bench\uname.bat
|
||||
file17=C:\mysql\bench\test-select
|
||||
file1=C:\mysql\bench\compare-results
|
||||
file18=C:\mysql\bench\test-wisconsin
|
||||
file2=C:\mysql\bench\copy-db
|
||||
file19=C:\mysql\bench\bench-init.pl
|
||||
file3=C:\mysql\bench\crash-me
|
||||
file4=C:\mysql\bench\example.bat
|
||||
file5=C:\mysql\bench\print-limit-table
|
||||
file6=C:\mysql\bench\pwd.bat
|
||||
file7=C:\mysql\bench\Readme
|
||||
SubDir0=bench\Data
|
||||
file8=C:\mysql\bench\run.bat
|
||||
SubDir1=bench\limits
|
||||
file9=C:\mysql\bench\run-all-tests
|
||||
SubDir2=bench\output
|
||||
file10=C:\mysql\bench\server-cfg
|
||||
fulldirectory=
|
||||
file11=C:\mysql\bench\test-alter-table
|
||||
file12=C:\mysql\bench\test-ATIS
|
||||
file13=C:\mysql\bench\test-big-tables
|
||||
file14=C:\mysql\bench\test-connect
|
||||
|
||||
[examples\tests]
|
||||
file15=C:\mysql\examples\tests\lock_test.res
|
||||
file16=C:\mysql\examples\tests\mail_to_db.pl
|
||||
file0=C:\mysql\examples\tests\unique_users.tst
|
||||
file17=C:\mysql\examples\tests\table_types.pl
|
||||
file1=C:\mysql\examples\tests\auto_increment.tst
|
||||
file18=C:\mysql\examples\tests\test_delayed_insert.pl
|
||||
file2=C:\mysql\examples\tests\big_record.pl
|
||||
file19=C:\mysql\examples\tests\udf_test
|
||||
file3=C:\mysql\examples\tests\big_record.res
|
||||
file4=C:\mysql\examples\tests\czech-sorting
|
||||
file5=C:\mysql\examples\tests\deadlock-script.pl
|
||||
file6=C:\mysql\examples\tests\export.pl
|
||||
file7=C:\mysql\examples\tests\fork_test.pl
|
||||
file8=C:\mysql\examples\tests\fork2_test.pl
|
||||
file9=C:\mysql\examples\tests\fork3_test.pl
|
||||
file20=C:\mysql\examples\tests\udf_test.res
|
||||
file21=C:\mysql\examples\tests\auto_increment.res
|
||||
file10=C:\mysql\examples\tests\function.res
|
||||
fulldirectory=
|
||||
file11=C:\mysql\examples\tests\function.tst
|
||||
file12=C:\mysql\examples\tests\grant.pl
|
||||
file13=C:\mysql\examples\tests\grant.res
|
||||
file14=C:\mysql\examples\tests\lock_test.pl
|
||||
|
||||
[bench\Data\ATIS]
|
||||
file26=C:\mysql\bench\Data\ATIS\stop1.txt
|
||||
file15=C:\mysql\bench\Data\ATIS\flight_class.txt
|
||||
file27=C:\mysql\bench\Data\ATIS\time_interval.txt
|
||||
file16=C:\mysql\bench\Data\ATIS\flight_day.txt
|
||||
file0=C:\mysql\bench\Data\ATIS\transport.txt
|
||||
file28=C:\mysql\bench\Data\ATIS\time_zone.txt
|
||||
file17=C:\mysql\bench\Data\ATIS\flight_fare.txt
|
||||
file1=C:\mysql\bench\Data\ATIS\airline.txt
|
||||
file29=C:\mysql\bench\Data\ATIS\aircraft.txt
|
||||
file18=C:\mysql\bench\Data\ATIS\food_service.txt
|
||||
file2=C:\mysql\bench\Data\ATIS\airport.txt
|
||||
file19=C:\mysql\bench\Data\ATIS\ground_service.txt
|
||||
file3=C:\mysql\bench\Data\ATIS\airport_service.txt
|
||||
file4=C:\mysql\bench\Data\ATIS\city.txt
|
||||
file5=C:\mysql\bench\Data\ATIS\class_of_service.txt
|
||||
file6=C:\mysql\bench\Data\ATIS\code_description.txt
|
||||
file7=C:\mysql\bench\Data\ATIS\compound_class.txt
|
||||
file8=C:\mysql\bench\Data\ATIS\connect_leg.txt
|
||||
file9=C:\mysql\bench\Data\ATIS\date_day.txt
|
||||
file20=C:\mysql\bench\Data\ATIS\month_name.txt
|
||||
file21=C:\mysql\bench\Data\ATIS\restrict_carrier.txt
|
||||
file10=C:\mysql\bench\Data\ATIS\day_name.txt
|
||||
fulldirectory=
|
||||
file22=C:\mysql\bench\Data\ATIS\restrict_class.txt
|
||||
file11=C:\mysql\bench\Data\ATIS\dual_carrier.txt
|
||||
file23=C:\mysql\bench\Data\ATIS\restriction.txt
|
||||
file12=C:\mysql\bench\Data\ATIS\fare.txt
|
||||
file24=C:\mysql\bench\Data\ATIS\state.txt
|
||||
file13=C:\mysql\bench\Data\ATIS\fconnection.txt
|
||||
file25=C:\mysql\bench\Data\ATIS\stop.txt
|
||||
file14=C:\mysql\bench\Data\ATIS\flight.txt
|
||||
|
||||
[General]
|
||||
Type=FILELIST
|
||||
Version=1.00.000
|
||||
|
||||
[scripts]
|
||||
file37=C:\mysql\scripts\mysqld_safe-watch.sh
|
||||
file26=C:\mysql\scripts\mysql_zap
|
||||
file15=C:\mysql\scripts\mysql_fix_privilege_tables
|
||||
file38=C:\mysql\scripts\mysqldumpslow
|
||||
file27=C:\mysql\scripts\mysql_zap.sh
|
||||
file16=C:\mysql\scripts\mysql_fix_privilege_tables.sh
|
||||
file0=C:\mysql\scripts\Readme
|
||||
file39=C:\mysql\scripts\mysqldumpslow.sh
|
||||
file28=C:\mysql\scripts\mysqlaccess
|
||||
file17=C:\mysql\scripts\mysql_install_db
|
||||
file1=C:\mysql\scripts\make_binary_distribution.sh
|
||||
file29=C:\mysql\scripts\mysqlaccess.conf
|
||||
file18=C:\mysql\scripts\mysql_install_db.sh
|
||||
file2=C:\mysql\scripts\msql2mysql
|
||||
file19=C:\mysql\scripts\mysql_secure_installation
|
||||
file3=C:\mysql\scripts\msql2mysql.sh
|
||||
file4=C:\mysql\scripts\mysql_config
|
||||
file5=C:\mysql\scripts\mysql_config.sh
|
||||
file6=C:\mysql\scripts\mysql_convert_table_format
|
||||
file7=C:\mysql\scripts\mysql_convert_table_format.sh
|
||||
file40=C:\mysql\scripts\mysqlhotcopy
|
||||
file8=C:\mysql\scripts\mysql_explain_log
|
||||
file41=C:\mysql\scripts\mysqlhotcopy.pl
|
||||
file30=C:\mysql\scripts\mysqlaccess.sh
|
||||
file9=C:\mysql\scripts\mysql_explain_log.sh
|
||||
file42=C:\mysql\scripts\mysqlhotcopy.sh
|
||||
file31=C:\mysql\scripts\mysqlbug
|
||||
file20=C:\mysql\scripts\mysql_secure_installation.sh
|
||||
file43=C:\mysql\scripts\make_binary_distribution
|
||||
file32=C:\mysql\scripts\mysqlbug.sh
|
||||
file21=C:\mysql\scripts\mysql_setpermission
|
||||
file10=C:\mysql\scripts\mysql_find_rows
|
||||
fulldirectory=
|
||||
file44=C:\mysql\scripts\mysql_fix_privilege_tables.sql
|
||||
file33=C:\mysql\scripts\mysqld_multi
|
||||
file22=C:\mysql\scripts\mysql_setpermission.pl
|
||||
file11=C:\mysql\scripts\mysql_find_rows.pl
|
||||
file34=C:\mysql\scripts\mysqld_multi.sh
|
||||
file23=C:\mysql\scripts\mysql_setpermission.sh
|
||||
file12=C:\mysql\scripts\mysql_find_rows.sh
|
||||
file35=C:\mysql\scripts\mysqld_safe
|
||||
file24=C:\mysql\scripts\mysql_tableinfo
|
||||
file13=C:\mysql\scripts\mysql_fix_extensions
|
||||
file36=C:\mysql\scripts\mysqld_safe.sh
|
||||
file25=C:\mysql\scripts\mysql_tableinfo.sh
|
||||
file14=C:\mysql\scripts\mysql_fix_extensions.sh
|
||||
|
||||
[lib]
|
||||
file0=C:\mysql\lib\Readme
|
||||
SubDir0=lib\debug
|
||||
SubDir1=lib\opt
|
||||
fulldirectory=
|
||||
|
|
@ -1,101 +0,0 @@
|
|||
[Docs\Flags]
|
||||
file59=C:\mysql\Docs\Flags\romania.gif
|
||||
file48=C:\mysql\Docs\Flags\kroatia.eps
|
||||
file37=C:\mysql\Docs\Flags\iceland.gif
|
||||
file26=C:\mysql\Docs\Flags\france.eps
|
||||
file15=C:\mysql\Docs\Flags\china.gif
|
||||
file49=C:\mysql\Docs\Flags\kroatia.gif
|
||||
file38=C:\mysql\Docs\Flags\ireland.eps
|
||||
file27=C:\mysql\Docs\Flags\france.gif
|
||||
file16=C:\mysql\Docs\Flags\croatia.eps
|
||||
file0=C:\mysql\Docs\Flags\usa.gif
|
||||
file39=C:\mysql\Docs\Flags\ireland.gif
|
||||
file28=C:\mysql\Docs\Flags\germany.eps
|
||||
file17=C:\mysql\Docs\Flags\croatia.gif
|
||||
file1=C:\mysql\Docs\Flags\argentina.gif
|
||||
file29=C:\mysql\Docs\Flags\germany.gif
|
||||
file18=C:\mysql\Docs\Flags\czech-republic.eps
|
||||
file2=C:\mysql\Docs\Flags\australia.eps
|
||||
file19=C:\mysql\Docs\Flags\czech-republic.gif
|
||||
file3=C:\mysql\Docs\Flags\australia.gif
|
||||
file80=C:\mysql\Docs\Flags\usa.eps
|
||||
file4=C:\mysql\Docs\Flags\austria.eps
|
||||
file81=C:\mysql\Docs\Flags\argentina.eps
|
||||
file70=C:\mysql\Docs\Flags\spain.eps
|
||||
file5=C:\mysql\Docs\Flags\austria.gif
|
||||
file71=C:\mysql\Docs\Flags\spain.gif
|
||||
file60=C:\mysql\Docs\Flags\russia.eps
|
||||
file6=C:\mysql\Docs\Flags\brazil.eps
|
||||
file72=C:\mysql\Docs\Flags\sweden.eps
|
||||
file61=C:\mysql\Docs\Flags\russia.gif
|
||||
file50=C:\mysql\Docs\Flags\latvia.eps
|
||||
file7=C:\mysql\Docs\Flags\brazil.gif
|
||||
file73=C:\mysql\Docs\Flags\sweden.gif
|
||||
file62=C:\mysql\Docs\Flags\singapore.eps
|
||||
file51=C:\mysql\Docs\Flags\latvia.gif
|
||||
file40=C:\mysql\Docs\Flags\island.eps
|
||||
file8=C:\mysql\Docs\Flags\bulgaria.eps
|
||||
file74=C:\mysql\Docs\Flags\switzerland.eps
|
||||
file63=C:\mysql\Docs\Flags\singapore.gif
|
||||
file52=C:\mysql\Docs\Flags\netherlands.eps
|
||||
file41=C:\mysql\Docs\Flags\island.gif
|
||||
file30=C:\mysql\Docs\Flags\great-britain.eps
|
||||
file9=C:\mysql\Docs\Flags\bulgaria.gif
|
||||
file75=C:\mysql\Docs\Flags\switzerland.gif
|
||||
file64=C:\mysql\Docs\Flags\south-africa.eps
|
||||
file53=C:\mysql\Docs\Flags\netherlands.gif
|
||||
file42=C:\mysql\Docs\Flags\israel.eps
|
||||
file31=C:\mysql\Docs\Flags\great-britain.gif
|
||||
file20=C:\mysql\Docs\Flags\denmark.eps
|
||||
file76=C:\mysql\Docs\Flags\taiwan.eps
|
||||
file65=C:\mysql\Docs\Flags\south-africa.gif
|
||||
file54=C:\mysql\Docs\Flags\poland.eps
|
||||
file43=C:\mysql\Docs\Flags\israel.gif
|
||||
file32=C:\mysql\Docs\Flags\greece.eps
|
||||
file21=C:\mysql\Docs\Flags\denmark.gif
|
||||
file10=C:\mysql\Docs\Flags\canada.eps
|
||||
fulldirectory=
|
||||
file77=C:\mysql\Docs\Flags\taiwan.gif
|
||||
file66=C:\mysql\Docs\Flags\south-africa1.eps
|
||||
file55=C:\mysql\Docs\Flags\poland.gif
|
||||
file44=C:\mysql\Docs\Flags\italy.eps
|
||||
file33=C:\mysql\Docs\Flags\greece.gif
|
||||
file22=C:\mysql\Docs\Flags\estonia.eps
|
||||
file11=C:\mysql\Docs\Flags\canada.gif
|
||||
file78=C:\mysql\Docs\Flags\ukraine.eps
|
||||
file67=C:\mysql\Docs\Flags\south-africa1.gif
|
||||
file56=C:\mysql\Docs\Flags\portugal.eps
|
||||
file45=C:\mysql\Docs\Flags\italy.gif
|
||||
file34=C:\mysql\Docs\Flags\hungary.eps
|
||||
file23=C:\mysql\Docs\Flags\estonia.gif
|
||||
file12=C:\mysql\Docs\Flags\chile.eps
|
||||
file79=C:\mysql\Docs\Flags\ukraine.gif
|
||||
file68=C:\mysql\Docs\Flags\south-korea.eps
|
||||
file57=C:\mysql\Docs\Flags\portugal.gif
|
||||
file46=C:\mysql\Docs\Flags\japan.eps
|
||||
file35=C:\mysql\Docs\Flags\hungary.gif
|
||||
file24=C:\mysql\Docs\Flags\finland.eps
|
||||
file13=C:\mysql\Docs\Flags\chile.gif
|
||||
file69=C:\mysql\Docs\Flags\south-korea.gif
|
||||
file58=C:\mysql\Docs\Flags\romania.eps
|
||||
file47=C:\mysql\Docs\Flags\japan.gif
|
||||
file36=C:\mysql\Docs\Flags\iceland.eps
|
||||
file25=C:\mysql\Docs\Flags\finland.gif
|
||||
file14=C:\mysql\Docs\Flags\china.eps
|
||||
|
||||
[Docs]
|
||||
file0=C:\mysql\Docs\manual_toc.html
|
||||
file1=C:\mysql\Docs\Copying
|
||||
file2=C:\mysql\Docs\Copying.lib
|
||||
file3=C:\mysql\Docs\manual.html
|
||||
file4=C:\mysql\Docs\manual.txt
|
||||
SubDir0=Docs\Flags
|
||||
fulldirectory=
|
||||
|
||||
[TopDir]
|
||||
SubDir0=Docs
|
||||
|
||||
[General]
|
||||
Type=FILELIST
|
||||
Version=1.00.000
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
[data\test]
|
||||
fulldirectory=
|
||||
|
||||
[data\mysql]
|
||||
file15=C:\mysql\data\mysql\func.frm
|
||||
file16=C:\mysql\data\mysql\func.MYD
|
||||
file0=C:\mysql\data\mysql\columns_priv.frm
|
||||
file17=C:\mysql\data\mysql\func.MYI
|
||||
file1=C:\mysql\data\mysql\columns_priv.MYD
|
||||
file2=C:\mysql\data\mysql\columns_priv.MYI
|
||||
file3=C:\mysql\data\mysql\db.frm
|
||||
file4=C:\mysql\data\mysql\db.MYD
|
||||
file5=C:\mysql\data\mysql\db.MYI
|
||||
file6=C:\mysql\data\mysql\host.frm
|
||||
file7=C:\mysql\data\mysql\host.MYD
|
||||
file8=C:\mysql\data\mysql\host.MYI
|
||||
file9=C:\mysql\data\mysql\tables_priv.frm
|
||||
file10=C:\mysql\data\mysql\tables_priv.MYD
|
||||
fulldirectory=
|
||||
file11=C:\mysql\data\mysql\tables_priv.MYI
|
||||
file12=C:\mysql\data\mysql\user.frm
|
||||
file13=C:\mysql\data\mysql\user.MYD
|
||||
file14=C:\mysql\data\mysql\user.MYI
|
||||
|
||||
[TopDir]
|
||||
SubDir0=data
|
||||
|
||||
[data]
|
||||
SubDir0=data\mysql
|
||||
SubDir1=data\test
|
||||
fulldirectory=
|
||||
|
||||
[General]
|
||||
Type=FILELIST
|
||||
Version=1.00.000
|
||||
|
|
@ -1,229 +0,0 @@
|
|||
[Embedded\Static\release]
|
||||
file0=C:\mysql\embedded\Static\release\test_stc.dsp
|
||||
file1=C:\mysql\embedded\Static\release\ReadMe.txt
|
||||
file2=C:\mysql\embedded\Static\release\StdAfx.cpp
|
||||
file3=C:\mysql\embedded\Static\release\StdAfx.h
|
||||
file4=C:\mysql\embedded\Static\release\test_stc.cpp
|
||||
file5=C:\mysql\embedded\Static\release\mysqlserver.lib
|
||||
fulldirectory=
|
||||
|
||||
[share\polish]
|
||||
file0=C:\mysql\share\polish\errmsg.sys
|
||||
file1=C:\mysql\share\polish\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\dutch]
|
||||
file0=C:\mysql\share\dutch\errmsg.sys
|
||||
file1=C:\mysql\share\dutch\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\spanish]
|
||||
file0=C:\mysql\share\spanish\errmsg.sys
|
||||
file1=C:\mysql\share\spanish\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\english]
|
||||
file0=C:\mysql\share\english\errmsg.sys
|
||||
file1=C:\mysql\share\english\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[bin]
|
||||
file0=C:\mysql\bin\mysqld-opt.exe
|
||||
file1=C:\mysql\bin\mysqld-max.exe
|
||||
file2=C:\mysql\bin\mysqld-max-nt.exe
|
||||
file3=C:\mysql\bin\mysqld-nt.exe
|
||||
file4=C:\mysql\bin\mysqld.exe
|
||||
file5=C:\mysql\bin\cygwinb19.dll
|
||||
file6=C:\mysql\bin\libmySQL.dll
|
||||
fulldirectory=
|
||||
|
||||
[share\korean]
|
||||
file0=C:\mysql\share\korean\errmsg.sys
|
||||
file1=C:\mysql\share\korean\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\charsets]
|
||||
file15=C:\mysql\share\charsets\latin1.conf
|
||||
file16=C:\mysql\share\charsets\latin2.conf
|
||||
file0=C:\mysql\share\charsets\win1251ukr.conf
|
||||
file17=C:\mysql\share\charsets\latin5.conf
|
||||
file1=C:\mysql\share\charsets\cp1257.conf
|
||||
file18=C:\mysql\share\charsets\Readme
|
||||
file2=C:\mysql\share\charsets\croat.conf
|
||||
file19=C:\mysql\share\charsets\swe7.conf
|
||||
file3=C:\mysql\share\charsets\danish.conf
|
||||
file4=C:\mysql\share\charsets\dec8.conf
|
||||
file5=C:\mysql\share\charsets\dos.conf
|
||||
file6=C:\mysql\share\charsets\estonia.conf
|
||||
file7=C:\mysql\share\charsets\german1.conf
|
||||
file8=C:\mysql\share\charsets\greek.conf
|
||||
file9=C:\mysql\share\charsets\hebrew.conf
|
||||
file20=C:\mysql\share\charsets\usa7.conf
|
||||
file21=C:\mysql\share\charsets\win1250.conf
|
||||
file10=C:\mysql\share\charsets\hp8.conf
|
||||
fulldirectory=
|
||||
file22=C:\mysql\share\charsets\win1251.conf
|
||||
file11=C:\mysql\share\charsets\hungarian.conf
|
||||
file23=C:\mysql\share\charsets\cp1251.conf
|
||||
file12=C:\mysql\share\charsets\Index
|
||||
file13=C:\mysql\share\charsets\koi8_ru.conf
|
||||
file14=C:\mysql\share\charsets\koi8_ukr.conf
|
||||
|
||||
[Embedded\DLL\debug]
|
||||
file0=C:\mysql\embedded\DLL\debug\libmysqld.dll
|
||||
file1=C:\mysql\embedded\DLL\debug\libmysqld.exp
|
||||
file2=C:\mysql\embedded\DLL\debug\libmysqld.lib
|
||||
fulldirectory=
|
||||
|
||||
[Embedded]
|
||||
file0=C:\mysql\embedded\embedded.dsw
|
||||
SubDir0=Embedded\DLL
|
||||
SubDir1=Embedded\Static
|
||||
fulldirectory=
|
||||
|
||||
[share\ukrainian]
|
||||
file0=C:\mysql\share\ukrainian\errmsg.sys
|
||||
file1=C:\mysql\share\ukrainian\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\hungarian]
|
||||
file0=C:\mysql\share\hungarian\errmsg.sys
|
||||
file1=C:\mysql\share\hungarian\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\german]
|
||||
file0=C:\mysql\share\german\errmsg.sys
|
||||
file1=C:\mysql\share\german\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\portuguese]
|
||||
file0=C:\mysql\share\portuguese\errmsg.sys
|
||||
file1=C:\mysql\share\portuguese\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\estonian]
|
||||
file0=C:\mysql\share\estonian\errmsg.sys
|
||||
file1=C:\mysql\share\estonian\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\romanian]
|
||||
file0=C:\mysql\share\romanian\errmsg.sys
|
||||
file1=C:\mysql\share\romanian\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\french]
|
||||
file0=C:\mysql\share\french\errmsg.sys
|
||||
file1=C:\mysql\share\french\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\swedish]
|
||||
file0=C:\mysql\share\swedish\errmsg.sys
|
||||
file1=C:\mysql\share\swedish\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\slovak]
|
||||
file0=C:\mysql\share\slovak\errmsg.sys
|
||||
file1=C:\mysql\share\slovak\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\greek]
|
||||
file0=C:\mysql\share\greek\errmsg.sys
|
||||
file1=C:\mysql\share\greek\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[TopDir]
|
||||
file0=C:\mysql\mysqlbug.txt
|
||||
file1=C:\mysql\my-huge.cnf
|
||||
file2=C:\mysql\my-large.cnf
|
||||
file3=C:\mysql\my-medium.cnf
|
||||
file4=C:\mysql\my-small.cnf
|
||||
file5=C:\mysql\README.txt
|
||||
SubDir0=bin
|
||||
SubDir1=share
|
||||
SubDir2=Embedded
|
||||
|
||||
[share]
|
||||
SubDir8=share\hungarian
|
||||
SubDir9=share\charsets
|
||||
SubDir20=share\spanish
|
||||
SubDir21=share\swedish
|
||||
SubDir10=share\italian
|
||||
SubDir22=share\ukrainian
|
||||
SubDir11=share\japanese
|
||||
SubDir12=share\korean
|
||||
SubDir13=share\norwegian
|
||||
SubDir14=share\norwegian-ny
|
||||
SubDir15=share\polish
|
||||
SubDir16=share\portuguese
|
||||
SubDir0=share\czech
|
||||
SubDir17=share\romanian
|
||||
SubDir1=share\danish
|
||||
SubDir18=share\russian
|
||||
SubDir2=share\dutch
|
||||
SubDir19=share\slovak
|
||||
SubDir3=share\english
|
||||
fulldirectory=
|
||||
SubDir4=share\estonian
|
||||
SubDir5=share\french
|
||||
SubDir6=share\german
|
||||
SubDir7=share\greek
|
||||
|
||||
[share\norwegian-ny]
|
||||
file0=C:\mysql\share\norwegian-ny\errmsg.sys
|
||||
file1=C:\mysql\share\norwegian-ny\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[Embedded\DLL]
|
||||
file0=C:\mysql\embedded\DLL\test_dll.dsp
|
||||
file1=C:\mysql\embedded\DLL\StdAfx.h
|
||||
file2=C:\mysql\embedded\DLL\test_dll.cpp
|
||||
file3=C:\mysql\embedded\DLL\StdAfx.cpp
|
||||
SubDir0=Embedded\DLL\debug
|
||||
SubDir1=Embedded\DLL\release
|
||||
fulldirectory=
|
||||
|
||||
[Embedded\Static]
|
||||
SubDir0=Embedded\Static\release
|
||||
fulldirectory=
|
||||
|
||||
[Embedded\DLL\release]
|
||||
file0=C:\mysql\embedded\DLL\release\libmysqld.dll
|
||||
file1=C:\mysql\embedded\DLL\release\libmysqld.exp
|
||||
file2=C:\mysql\embedded\DLL\release\libmysqld.lib
|
||||
file3=C:\mysql\embedded\DLL\release\mysql-server.exe
|
||||
fulldirectory=
|
||||
|
||||
[share\danish]
|
||||
file0=C:\mysql\share\danish\errmsg.sys
|
||||
file1=C:\mysql\share\danish\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\czech]
|
||||
file0=C:\mysql\share\czech\errmsg.sys
|
||||
file1=C:\mysql\share\czech\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[General]
|
||||
Type=FILELIST
|
||||
Version=1.00.000
|
||||
|
||||
[share\russian]
|
||||
file0=C:\mysql\share\russian\errmsg.sys
|
||||
file1=C:\mysql\share\russian\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\norwegian]
|
||||
file0=C:\mysql\share\norwegian\errmsg.sys
|
||||
file1=C:\mysql\share\norwegian\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\japanese]
|
||||
file0=C:\mysql\share\japanese\errmsg.sys
|
||||
file1=C:\mysql\share\japanese\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\italian]
|
||||
file0=C:\mysql\share\italian\errmsg.sys
|
||||
file1=C:\mysql\share\italian\errmsg.txt
|
||||
fulldirectory=
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[General]
|
||||
Type=REGISTRYDATA
|
||||
Version=1.00.000
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,640 +0,0 @@
|
|||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// IIIIIII SSSSSS
|
||||
// II SS InstallShield (R)
|
||||
// II SSSSSS (c) 1996-1997, InstallShield Software Corporation
|
||||
// II SS (c) 1990-1996, InstallShield Corporation
|
||||
// IIIIIII SSSSSS All Rights Reserved.
|
||||
//
|
||||
//
|
||||
// This code is generated as a starting setup template. You should
|
||||
// modify it to provide all necessary steps for your setup.
|
||||
//
|
||||
//
|
||||
// File Name: Setup.rul
|
||||
//
|
||||
// Description: InstallShield script
|
||||
//
|
||||
// Comments: This template script performs a basic setup on a
|
||||
// Windows 95 or Windows NT 4.0 platform. With minor
|
||||
// modifications, this template can be adapted to create
|
||||
// new, customized setups.
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// Include header file
|
||||
#include "sdlang.h"
|
||||
#include "sddialog.h"
|
||||
|
||||
////////////////////// string defines ////////////////////////////
|
||||
|
||||
#define UNINST_LOGFILE_NAME "Uninst.isu"
|
||||
|
||||
//////////////////// installation declarations ///////////////////
|
||||
|
||||
// ----- DLL prototypes -----
|
||||
|
||||
|
||||
// your DLL prototypes
|
||||
|
||||
|
||||
// ---- script prototypes -----
|
||||
|
||||
// generated
|
||||
prototype ShowDialogs();
|
||||
prototype MoveFileData();
|
||||
prototype HandleMoveDataError( NUMBER );
|
||||
prototype ProcessBeforeDataMove();
|
||||
prototype ProcessAfterDataMove();
|
||||
prototype SetupRegistry();
|
||||
prototype SetupFolders();
|
||||
prototype CleanUpInstall();
|
||||
prototype SetupInstall();
|
||||
prototype SetupScreen();
|
||||
prototype CheckRequirements();
|
||||
prototype DialogShowSdWelcome();
|
||||
prototype DialogShowSdShowInfoList();
|
||||
prototype DialogShowSdAskDestPath();
|
||||
prototype DialogShowSdSetupType();
|
||||
prototype DialogShowSdComponentDialog2();
|
||||
prototype DialogShowSdFinishReboot();
|
||||
|
||||
// your prototypes
|
||||
|
||||
|
||||
// ----- global variables ------
|
||||
|
||||
// generated
|
||||
BOOL bWinNT, bIsShellExplorer, bInstallAborted, bIs32BitSetup;
|
||||
STRING svDir;
|
||||
STRING svName, svCompany, svSerial;
|
||||
STRING szAppPath;
|
||||
STRING svSetupType;
|
||||
|
||||
|
||||
// your global variables
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// MAIN PROGRAM
|
||||
//
|
||||
// The setup begins here by hiding the visible setup
|
||||
// window. This is done to allow all the titles, images, etc. to
|
||||
// be established before showing the main window. The following
|
||||
// logic then performs the setup in a series of steps.
|
||||
//
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
program
|
||||
Disable( BACKGROUND );
|
||||
|
||||
CheckRequirements();
|
||||
|
||||
SetupInstall();
|
||||
|
||||
SetupScreen();
|
||||
|
||||
if (ShowDialogs()<0) goto end_install;
|
||||
|
||||
if (ProcessBeforeDataMove()<0) goto end_install;
|
||||
|
||||
if (MoveFileData()<0) goto end_install;
|
||||
|
||||
if (ProcessAfterDataMove()<0) goto end_install;
|
||||
|
||||
if (SetupRegistry()<0) goto end_install;
|
||||
|
||||
if (SetupFolders()<0) goto end_install;
|
||||
|
||||
|
||||
end_install:
|
||||
|
||||
CleanUpInstall();
|
||||
|
||||
// If an unrecoverable error occurred, clean up the partial installation.
|
||||
// Otherwise, exit normally.
|
||||
|
||||
if (bInstallAborted) then
|
||||
abort;
|
||||
endif;
|
||||
|
||||
endprogram
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: ShowDialogs //
|
||||
// //
|
||||
// Purpose: This function manages the display and navigation //
|
||||
// the standard dialogs that exist in a setup. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function ShowDialogs()
|
||||
NUMBER nResult;
|
||||
begin
|
||||
|
||||
Dlg_Start:
|
||||
// beginning of dialogs label
|
||||
|
||||
Dlg_SdWelcome:
|
||||
nResult = DialogShowSdWelcome();
|
||||
if (nResult = BACK) goto Dlg_Start;
|
||||
|
||||
Dlg_SdShowInfoList:
|
||||
nResult = DialogShowSdShowInfoList();
|
||||
if (nResult = BACK) goto Dlg_SdWelcome;
|
||||
|
||||
Dlg_SdAskDestPath:
|
||||
nResult = DialogShowSdAskDestPath();
|
||||
if (nResult = BACK) goto Dlg_SdShowInfoList;
|
||||
|
||||
Dlg_SdSetupType:
|
||||
nResult = DialogShowSdSetupType();
|
||||
if (nResult = BACK) goto Dlg_SdAskDestPath;
|
||||
|
||||
Dlg_SdComponentDialog2:
|
||||
if ((nResult = BACK) && (svSetupType != "Custom") && (svSetupType != "")) then
|
||||
goto Dlg_SdSetupType;
|
||||
endif;
|
||||
nResult = DialogShowSdComponentDialog2();
|
||||
if (nResult = BACK) goto Dlg_SdSetupType;
|
||||
|
||||
return 0;
|
||||
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: ProcessBeforeDataMove //
|
||||
// //
|
||||
// Purpose: This function performs any necessary operations prior to the //
|
||||
// actual data move operation. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function ProcessBeforeDataMove()
|
||||
STRING svLogFile;
|
||||
NUMBER nResult;
|
||||
begin
|
||||
|
||||
InstallationInfo( @COMPANY_NAME, @PRODUCT_NAME, @PRODUCT_VERSION, @PRODUCT_KEY );
|
||||
|
||||
svLogFile = UNINST_LOGFILE_NAME;
|
||||
|
||||
nResult = DeinstallStart( svDir, svLogFile, @UNINST_KEY, 0 );
|
||||
if (nResult < 0) then
|
||||
MessageBox( @ERROR_UNINSTSETUP, WARNING );
|
||||
endif;
|
||||
|
||||
szAppPath = TARGETDIR; // TODO : if your application .exe is in a subdir of TARGETDIR then add subdir
|
||||
|
||||
if ((bIs32BitSetup) && (bIsShellExplorer)) then
|
||||
RegDBSetItem( REGDB_APPPATH, szAppPath );
|
||||
RegDBSetItem( REGDB_APPPATH_DEFAULT, szAppPath ^ @PRODUCT_KEY );
|
||||
RegDBSetItem( REGDB_UNINSTALL_NAME, @UNINST_DISPLAY_NAME );
|
||||
endif;
|
||||
|
||||
// TODO : update any items you want to process before moving the data
|
||||
//
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: MoveFileData //
|
||||
// //
|
||||
// Purpose: This function handles the data movement for //
|
||||
// the setup. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function MoveFileData()
|
||||
NUMBER nResult, nDisk;
|
||||
begin
|
||||
|
||||
nDisk = 1;
|
||||
SetStatusWindow( 0, "" );
|
||||
Disable( DIALOGCACHE );
|
||||
Enable( STATUS );
|
||||
StatusUpdate( ON, 100 );
|
||||
nResult = ComponentMoveData( MEDIA, nDisk, 0 );
|
||||
|
||||
HandleMoveDataError( nResult );
|
||||
|
||||
Disable( STATUS );
|
||||
|
||||
return nResult;
|
||||
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: HandleMoveDataError //
|
||||
// //
|
||||
// Purpose: This function handles the error (if any) during the move data //
|
||||
// operation. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function HandleMoveDataError( nResult )
|
||||
STRING szErrMsg, svComponent , svFileGroup , svFile;
|
||||
begin
|
||||
|
||||
svComponent = "";
|
||||
svFileGroup = "";
|
||||
svFile = "";
|
||||
|
||||
switch (nResult)
|
||||
case 0:
|
||||
return 0;
|
||||
default:
|
||||
ComponentError ( MEDIA , svComponent , svFileGroup , svFile , nResult );
|
||||
szErrMsg = @ERROR_MOVEDATA + "\n\n" +
|
||||
@ERROR_COMPONENT + " " + svComponent + "\n" +
|
||||
@ERROR_FILEGROUP + " " + svFileGroup + "\n" +
|
||||
@ERROR_FILE + " " + svFile;
|
||||
SprintfBox( SEVERE, @TITLE_CAPTIONBAR, szErrMsg, nResult );
|
||||
bInstallAborted = TRUE;
|
||||
return nResult;
|
||||
endswitch;
|
||||
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: ProcessAfterDataMove //
|
||||
// //
|
||||
// Purpose: This function performs any necessary operations needed after //
|
||||
// all data has been moved. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function ProcessAfterDataMove()
|
||||
begin
|
||||
|
||||
// TODO : update self-registered files and other processes that
|
||||
// should be performed after the data has been moved.
|
||||
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: SetupRegistry //
|
||||
// //
|
||||
// Purpose: This function makes the registry entries for this setup. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupRegistry()
|
||||
NUMBER nResult;
|
||||
|
||||
begin
|
||||
|
||||
// TODO : Add all your registry entry keys here
|
||||
//
|
||||
//
|
||||
// RegDBCreateKeyEx, RegDBSetKeyValueEx....
|
||||
//
|
||||
|
||||
nResult = CreateRegistrySet( "" );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Function: SetupFolders
|
||||
//
|
||||
// Purpose: This function creates all the folders and shortcuts for the
|
||||
// setup. This includes program groups and items for Windows 3.1.
|
||||
//
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupFolders()
|
||||
NUMBER nResult;
|
||||
|
||||
begin
|
||||
|
||||
|
||||
// TODO : Add all your folder (program group) along with shortcuts (program items)
|
||||
//
|
||||
//
|
||||
// CreateProgramFolder, AddFolderIcon....
|
||||
//
|
||||
|
||||
nResult = CreateShellObjects( "" );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: CleanUpInstall //
|
||||
// //
|
||||
// Purpose: This cleans up the setup. Anything that should //
|
||||
// be released or deleted at the end of the setup should //
|
||||
// be done here. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function CleanUpInstall()
|
||||
begin
|
||||
|
||||
|
||||
if (bInstallAborted) then
|
||||
return 0;
|
||||
endif;
|
||||
|
||||
DialogShowSdFinishReboot();
|
||||
|
||||
if (BATCH_INSTALL) then // ensure locked files are properly written
|
||||
CommitSharedFiles(0);
|
||||
endif;
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: SetupInstall //
|
||||
// //
|
||||
// Purpose: This will setup the installation. Any general initialization //
|
||||
// needed for the installation should be performed here. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupInstall()
|
||||
begin
|
||||
|
||||
Enable( CORECOMPONENTHANDLING );
|
||||
|
||||
bInstallAborted = FALSE;
|
||||
|
||||
if (bIs32BitSetup) then
|
||||
svDir = "C:\\mysql"; //PROGRAMFILES ^ @COMPANY_NAME ^ @PRODUCT_NAME;
|
||||
else
|
||||
svDir = "C:\\mysql"; //PROGRAMFILES ^ @COMPANY_NAME16 ^ @PRODUCT_NAME16; // use shorten names
|
||||
endif;
|
||||
|
||||
TARGETDIR = svDir;
|
||||
|
||||
SdProductName( @PRODUCT_NAME );
|
||||
|
||||
Enable( DIALOGCACHE );
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: SetupScreen //
|
||||
// //
|
||||
// Purpose: This function establishes the screen look. This includes //
|
||||
// colors, fonts, and text to be displayed. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupScreen()
|
||||
begin
|
||||
|
||||
Enable( FULLWINDOWMODE );
|
||||
Enable( INDVFILESTATUS );
|
||||
SetTitle( @TITLE_MAIN, 24, WHITE );
|
||||
|
||||
SetTitle( @TITLE_CAPTIONBAR, 0, BACKGROUNDCAPTION ); // Caption bar text.
|
||||
|
||||
Enable( BACKGROUND );
|
||||
|
||||
Delay( 1 );
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: CheckRequirements //
|
||||
// //
|
||||
// Purpose: This function checks all minimum requirements for the //
|
||||
// application being installed. If any fail, then the user //
|
||||
// is informed and the setup is terminated. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function CheckRequirements()
|
||||
NUMBER nvDx, nvDy, nvResult;
|
||||
STRING svResult;
|
||||
|
||||
begin
|
||||
|
||||
bWinNT = FALSE;
|
||||
bIsShellExplorer = FALSE;
|
||||
|
||||
// Check screen resolution.
|
||||
GetExtents( nvDx, nvDy );
|
||||
|
||||
if (nvDy < 480) then
|
||||
MessageBox( @ERROR_VGARESOLUTION, WARNING );
|
||||
abort;
|
||||
endif;
|
||||
|
||||
// set 'setup' operation mode
|
||||
bIs32BitSetup = TRUE;
|
||||
GetSystemInfo( ISTYPE, nvResult, svResult );
|
||||
if (nvResult = 16) then
|
||||
bIs32BitSetup = FALSE; // running 16-bit setup
|
||||
return 0; // no additional information required
|
||||
endif;
|
||||
|
||||
// --- 32-bit testing after this point ---
|
||||
|
||||
// Determine the target system's operating system.
|
||||
GetSystemInfo( OS, nvResult, svResult );
|
||||
|
||||
if (nvResult = IS_WINDOWSNT) then
|
||||
// Running Windows NT.
|
||||
bWinNT = TRUE;
|
||||
|
||||
// Check to see if the shell being used is EXPLORER shell.
|
||||
if (GetSystemInfo( OSMAJOR, nvResult, svResult ) = 0) then
|
||||
if (nvResult >= 4) then
|
||||
bIsShellExplorer = TRUE;
|
||||
endif;
|
||||
endif;
|
||||
|
||||
elseif (nvResult = IS_WINDOWS95 ) then
|
||||
bIsShellExplorer = TRUE;
|
||||
|
||||
endif;
|
||||
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdWelcome //
|
||||
// //
|
||||
// Purpose: This function handles the standard welcome dialog. //
|
||||
// //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdWelcome()
|
||||
NUMBER nResult;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SdWelcome( szTitle, szMsg );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdShowInfoList //
|
||||
// //
|
||||
// Purpose: This function displays the general information list dialog. //
|
||||
// //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdShowInfoList()
|
||||
NUMBER nResult;
|
||||
LIST list;
|
||||
STRING szTitle, szMsg, szFile;
|
||||
begin
|
||||
|
||||
szFile = SUPPORTDIR ^ "infolist.txt";
|
||||
|
||||
list = ListCreate( STRINGLIST );
|
||||
ListReadFromFile( list, szFile );
|
||||
szTitle = "";
|
||||
szMsg = " ";
|
||||
nResult = SdShowInfoList( szTitle, szMsg, list );
|
||||
|
||||
ListDestroy( list );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdAskDestPath //
|
||||
// //
|
||||
// Purpose: This function asks the user for the destination directory. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdAskDestPath()
|
||||
NUMBER nResult;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SdAskDestPath( szTitle, szMsg, svDir, 0 );
|
||||
|
||||
TARGETDIR = svDir;
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdSetupType //
|
||||
// //
|
||||
// Purpose: This function displays the standard setup type dialog. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdSetupType()
|
||||
NUMBER nResult, nType;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
switch (svSetupType)
|
||||
case "Typical":
|
||||
nType = TYPICAL;
|
||||
case "Custom":
|
||||
nType = CUSTOM;
|
||||
case "Compact":
|
||||
nType = COMPACT;
|
||||
case "":
|
||||
svSetupType = "Typical";
|
||||
nType = TYPICAL;
|
||||
endswitch;
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SetupType( szTitle, szMsg, "", nType, 0 );
|
||||
|
||||
switch (nResult)
|
||||
case COMPACT:
|
||||
svSetupType = "Compact";
|
||||
case TYPICAL:
|
||||
svSetupType = "Typical";
|
||||
case CUSTOM:
|
||||
svSetupType = "Custom";
|
||||
endswitch;
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdComponentDialog2 //
|
||||
// //
|
||||
// Purpose: This function displays the custom component dialog. //
|
||||
// //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdComponentDialog2()
|
||||
NUMBER nResult;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
if ((svSetupType != "Custom") && (svSetupType != "")) then
|
||||
return 0;
|
||||
endif;
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SdComponentDialog2( szTitle, szMsg, svDir, "" );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdFinishReboot //
|
||||
// //
|
||||
// Purpose: This function will show the last dialog of the product. //
|
||||
// It will allow the user to reboot and/or show some readme text. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdFinishReboot()
|
||||
NUMBER nResult, nDefOptions;
|
||||
STRING szTitle, szMsg1, szMsg2, szOption1, szOption2;
|
||||
NUMBER bOpt1, bOpt2;
|
||||
begin
|
||||
|
||||
if (!BATCH_INSTALL) then
|
||||
bOpt1 = FALSE;
|
||||
bOpt2 = FALSE;
|
||||
szMsg1 = "";
|
||||
szMsg2 = "";
|
||||
szOption1 = "";
|
||||
szOption2 = "";
|
||||
nResult = SdFinish( szTitle, szMsg1, szMsg2, szOption1, szOption2, bOpt1, bOpt2 );
|
||||
return 0;
|
||||
endif;
|
||||
|
||||
nDefOptions = SYS_BOOTMACHINE;
|
||||
szTitle = "";
|
||||
szMsg1 = "";
|
||||
szMsg2 = "";
|
||||
nResult = SdFinishReboot( szTitle, szMsg1, nDefOptions, szMsg2, 0 );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
// --- include script file section ---
|
||||
|
||||
#include "sddialog.rul"
|
||||
|
||||
|
|
@ -1,641 +0,0 @@
|
|||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// IIIIIII SSSSSS
|
||||
// II SS InstallShield (R)
|
||||
// II SSSSSS (c) 1996-1997, InstallShield Software Corporation
|
||||
// II SS (c) 1990-1996, InstallShield Corporation
|
||||
// IIIIIII SSSSSS All Rights Reserved.
|
||||
//
|
||||
//
|
||||
// This code is generated as a starting setup template. You should
|
||||
// modify it to provide all necessary steps for your setup.
|
||||
//
|
||||
//
|
||||
// File Name: Setup.rul
|
||||
//
|
||||
// Description: InstallShield script
|
||||
//
|
||||
// Comments: This template script performs a basic setup on a
|
||||
// Windows 95 or Windows NT 4.0 platform. With minor
|
||||
// modifications, this template can be adapted to create
|
||||
// new, customized setups.
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// Include header file
|
||||
#include "sdlang.h"
|
||||
#include "sddialog.h"
|
||||
|
||||
////////////////////// string defines ////////////////////////////
|
||||
|
||||
#define UNINST_LOGFILE_NAME "Uninst.isu"
|
||||
|
||||
//////////////////// installation declarations ///////////////////
|
||||
|
||||
// ----- DLL prototypes -----
|
||||
|
||||
|
||||
// your DLL prototypes
|
||||
|
||||
|
||||
// ---- script prototypes -----
|
||||
|
||||
// generated
|
||||
prototype ShowDialogs();
|
||||
prototype MoveFileData();
|
||||
prototype HandleMoveDataError( NUMBER );
|
||||
prototype ProcessBeforeDataMove();
|
||||
prototype ProcessAfterDataMove();
|
||||
prototype SetupRegistry();
|
||||
prototype SetupFolders();
|
||||
prototype CleanUpInstall();
|
||||
prototype SetupInstall();
|
||||
prototype SetupScreen();
|
||||
prototype CheckRequirements();
|
||||
prototype DialogShowSdWelcome();
|
||||
prototype DialogShowSdShowInfoList();
|
||||
prototype DialogShowSdAskDestPath();
|
||||
prototype DialogShowSdSetupType();
|
||||
prototype DialogShowSdComponentDialog2();
|
||||
prototype DialogShowSdFinishReboot();
|
||||
|
||||
// your prototypes
|
||||
|
||||
|
||||
// ----- global variables ------
|
||||
|
||||
// generated
|
||||
BOOL bWinNT, bIsShellExplorer, bInstallAborted, bIs32BitSetup;
|
||||
STRING svDir;
|
||||
STRING svName, svCompany, svSerial;
|
||||
STRING szAppPath;
|
||||
STRING svSetupType;
|
||||
|
||||
|
||||
// your global variables
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// MAIN PROGRAM
|
||||
//
|
||||
// The setup begins here by hiding the visible setup
|
||||
// window. This is done to allow all the titles, images, etc. to
|
||||
// be established before showing the main window. The following
|
||||
// logic then performs the setup in a series of steps.
|
||||
//
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
program
|
||||
Disable( BACKGROUND );
|
||||
|
||||
CheckRequirements();
|
||||
|
||||
SetupInstall();
|
||||
|
||||
SetupScreen();
|
||||
|
||||
if (ShowDialogs()<0) goto end_install;
|
||||
|
||||
if (ProcessBeforeDataMove()<0) goto end_install;
|
||||
|
||||
if (MoveFileData()<0) goto end_install;
|
||||
|
||||
if (ProcessAfterDataMove()<0) goto end_install;
|
||||
|
||||
if (SetupRegistry()<0) goto end_install;
|
||||
|
||||
if (SetupFolders()<0) goto end_install;
|
||||
|
||||
|
||||
end_install:
|
||||
|
||||
CleanUpInstall();
|
||||
|
||||
// If an unrecoverable error occurred, clean up the partial installation.
|
||||
// Otherwise, exit normally.
|
||||
|
||||
if (bInstallAborted) then
|
||||
abort;
|
||||
endif;
|
||||
|
||||
endprogram
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: ShowDialogs //
|
||||
// //
|
||||
// Purpose: This function manages the display and navigation //
|
||||
// the standard dialogs that exist in a setup. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function ShowDialogs()
|
||||
NUMBER nResult;
|
||||
begin
|
||||
|
||||
Dlg_Start:
|
||||
// beginning of dialogs label
|
||||
|
||||
Dlg_SdWelcome:
|
||||
nResult = DialogShowSdWelcome();
|
||||
if (nResult = BACK) goto Dlg_Start;
|
||||
|
||||
Dlg_SdShowInfoList:
|
||||
nResult = DialogShowSdShowInfoList();
|
||||
if (nResult = BACK) goto Dlg_SdWelcome;
|
||||
|
||||
Dlg_SdAskDestPath:
|
||||
nResult = DialogShowSdAskDestPath();
|
||||
if (nResult = BACK) goto Dlg_SdShowInfoList;
|
||||
|
||||
Dlg_SdSetupType:
|
||||
nResult = DialogShowSdSetupType();
|
||||
if (nResult = BACK) goto Dlg_SdAskDestPath;
|
||||
|
||||
Dlg_SdComponentDialog2:
|
||||
if ((nResult = BACK) && (svSetupType != "Custom") && (svSetupType != "")) then
|
||||
goto Dlg_SdSetupType;
|
||||
endif;
|
||||
nResult = DialogShowSdComponentDialog2();
|
||||
if (nResult = BACK) goto Dlg_SdSetupType;
|
||||
|
||||
return 0;
|
||||
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: ProcessBeforeDataMove //
|
||||
// //
|
||||
// Purpose: This function performs any necessary operations prior to the //
|
||||
// actual data move operation. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function ProcessBeforeDataMove()
|
||||
STRING svLogFile;
|
||||
NUMBER nResult;
|
||||
begin
|
||||
|
||||
InstallationInfo( @COMPANY_NAME, @PRODUCT_NAME, @PRODUCT_VERSION, @PRODUCT_KEY );
|
||||
|
||||
svLogFile = UNINST_LOGFILE_NAME;
|
||||
|
||||
nResult = DeinstallStart( svDir, svLogFile, @UNINST_KEY, 0 );
|
||||
if (nResult < 0) then
|
||||
MessageBox( @ERROR_UNINSTSETUP, WARNING );
|
||||
endif;
|
||||
|
||||
szAppPath = TARGETDIR; // TODO : if your application .exe is in a subdir of TARGETDIR then add subdir
|
||||
|
||||
if ((bIs32BitSetup) && (bIsShellExplorer)) then
|
||||
// RegDBSetItem( REGDB_APPPATH, szAppPath );
|
||||
// RegDBSetItem( REGDB_APPPATH_DEFAULT, szAppPath ^ @PRODUCT_KEY );
|
||||
RegDBSetItem( REGDB_UNINSTALL_NAME, @UNINST_DISPLAY_NAME );
|
||||
endif;
|
||||
|
||||
// TODO : update any items you want to process before moving the data
|
||||
//
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: MoveFileData //
|
||||
// //
|
||||
// Purpose: This function handles the data movement for //
|
||||
// the setup. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function MoveFileData()
|
||||
NUMBER nResult, nDisk;
|
||||
begin
|
||||
|
||||
nDisk = 1;
|
||||
SetStatusWindow( 0, "" );
|
||||
Disable( DIALOGCACHE );
|
||||
Enable( STATUS );
|
||||
StatusUpdate( ON, 100 );
|
||||
nResult = ComponentMoveData( MEDIA, nDisk, 0 );
|
||||
|
||||
HandleMoveDataError( nResult );
|
||||
|
||||
Disable( STATUS );
|
||||
|
||||
return nResult;
|
||||
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: HandleMoveDataError //
|
||||
// //
|
||||
// Purpose: This function handles the error (if any) during the move data //
|
||||
// operation. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function HandleMoveDataError( nResult )
|
||||
STRING szErrMsg, svComponent , svFileGroup , svFile;
|
||||
begin
|
||||
|
||||
svComponent = "";
|
||||
svFileGroup = "";
|
||||
svFile = "";
|
||||
|
||||
switch (nResult)
|
||||
case 0:
|
||||
return 0;
|
||||
default:
|
||||
ComponentError ( MEDIA , svComponent , svFileGroup , svFile , nResult );
|
||||
szErrMsg = @ERROR_MOVEDATA + "\n\n" +
|
||||
@ERROR_COMPONENT + " " + svComponent + "\n" +
|
||||
@ERROR_FILEGROUP + " " + svFileGroup + "\n" +
|
||||
@ERROR_FILE + " " + svFile;
|
||||
SprintfBox( SEVERE, @TITLE_CAPTIONBAR, szErrMsg, nResult );
|
||||
bInstallAborted = TRUE;
|
||||
return nResult;
|
||||
endswitch;
|
||||
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: ProcessAfterDataMove //
|
||||
// //
|
||||
// Purpose: This function performs any necessary operations needed after //
|
||||
// all data has been moved. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function ProcessAfterDataMove()
|
||||
begin
|
||||
|
||||
// TODO : update self-registered files and other processes that
|
||||
// should be performed after the data has been moved.
|
||||
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: SetupRegistry //
|
||||
// //
|
||||
// Purpose: This function makes the registry entries for this setup. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupRegistry()
|
||||
NUMBER nResult;
|
||||
|
||||
begin
|
||||
|
||||
// TODO : Add all your registry entry keys here
|
||||
//
|
||||
//
|
||||
// RegDBCreateKeyEx, RegDBSetKeyValueEx....
|
||||
//
|
||||
|
||||
nResult = CreateRegistrySet( "" );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Function: SetupFolders
|
||||
//
|
||||
// Purpose: This function creates all the folders and shortcuts for the
|
||||
// setup. This includes program groups and items for Windows 3.1.
|
||||
//
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupFolders()
|
||||
NUMBER nResult;
|
||||
|
||||
begin
|
||||
|
||||
|
||||
// TODO : Add all your folder (program group) along with shortcuts (program items)
|
||||
//
|
||||
//
|
||||
// CreateProgramFolder, AddFolderIcon....
|
||||
//
|
||||
|
||||
nResult = CreateShellObjects( "" );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: CleanUpInstall //
|
||||
// //
|
||||
// Purpose: This cleans up the setup. Anything that should //
|
||||
// be released or deleted at the end of the setup should //
|
||||
// be done here. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function CleanUpInstall()
|
||||
begin
|
||||
|
||||
|
||||
if (bInstallAborted) then
|
||||
return 0;
|
||||
endif;
|
||||
|
||||
DialogShowSdFinishReboot();
|
||||
|
||||
if (BATCH_INSTALL) then // ensure locked files are properly written
|
||||
CommitSharedFiles(0);
|
||||
endif;
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: SetupInstall //
|
||||
// //
|
||||
// Purpose: This will setup the installation. Any general initialization //
|
||||
// needed for the installation should be performed here. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupInstall()
|
||||
begin
|
||||
|
||||
Enable( CORECOMPONENTHANDLING );
|
||||
|
||||
bInstallAborted = FALSE;
|
||||
|
||||
if (bIs32BitSetup) then
|
||||
svDir = "C:\\mysql"; //PROGRAMFILES ^ @COMPANY_NAME ^ @PRODUCT_NAME;
|
||||
else
|
||||
svDir = "C:\\mysql"; //PROGRAMFILES ^ @COMPANY_NAME16 ^ @PRODUCT_NAME16; // use shorten names
|
||||
endif;
|
||||
|
||||
TARGETDIR = svDir;
|
||||
|
||||
SdProductName( @PRODUCT_NAME );
|
||||
|
||||
Enable( DIALOGCACHE );
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: SetupScreen //
|
||||
// //
|
||||
// Purpose: This function establishes the screen look. This includes //
|
||||
// colors, fonts, and text to be displayed. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupScreen()
|
||||
begin
|
||||
|
||||
Enable( FULLWINDOWMODE );
|
||||
Enable( INDVFILESTATUS );
|
||||
SetTitle( @TITLE_MAIN, 24, WHITE );
|
||||
|
||||
SetTitle( @TITLE_CAPTIONBAR, 0, BACKGROUNDCAPTION ); // Caption bar text.
|
||||
|
||||
Enable( BACKGROUND );
|
||||
|
||||
Delay( 1 );
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: CheckRequirements //
|
||||
// //
|
||||
// Purpose: This function checks all minimum requirements for the //
|
||||
// application being installed. If any fail, then the user //
|
||||
// is informed and the setup is terminated. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function CheckRequirements()
|
||||
NUMBER nvDx, nvDy, nvResult;
|
||||
STRING svResult;
|
||||
|
||||
begin
|
||||
|
||||
bWinNT = FALSE;
|
||||
bIsShellExplorer = FALSE;
|
||||
|
||||
// Check screen resolution.
|
||||
GetExtents( nvDx, nvDy );
|
||||
|
||||
if (nvDy < 480) then
|
||||
MessageBox( @ERROR_VGARESOLUTION, WARNING );
|
||||
abort;
|
||||
endif;
|
||||
|
||||
// set 'setup' operation mode
|
||||
bIs32BitSetup = TRUE;
|
||||
GetSystemInfo( ISTYPE, nvResult, svResult );
|
||||
if (nvResult = 16) then
|
||||
bIs32BitSetup = FALSE; // running 16-bit setup
|
||||
return 0; // no additional information required
|
||||
endif;
|
||||
|
||||
// --- 32-bit testing after this point ---
|
||||
|
||||
// Determine the target system's operating system.
|
||||
GetSystemInfo( OS, nvResult, svResult );
|
||||
|
||||
if (nvResult = IS_WINDOWSNT) then
|
||||
// Running Windows NT.
|
||||
bWinNT = TRUE;
|
||||
|
||||
// Check to see if the shell being used is EXPLORER shell.
|
||||
if (GetSystemInfo( OSMAJOR, nvResult, svResult ) = 0) then
|
||||
if (nvResult >= 4) then
|
||||
bIsShellExplorer = TRUE;
|
||||
endif;
|
||||
endif;
|
||||
|
||||
elseif (nvResult = IS_WINDOWS95 ) then
|
||||
bIsShellExplorer = TRUE;
|
||||
|
||||
endif;
|
||||
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdWelcome //
|
||||
// //
|
||||
// Purpose: This function handles the standard welcome dialog. //
|
||||
// //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdWelcome()
|
||||
NUMBER nResult;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SdWelcome( szTitle, szMsg );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdShowInfoList //
|
||||
// //
|
||||
// Purpose: This function displays the general information list dialog. //
|
||||
// //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdShowInfoList()
|
||||
NUMBER nResult;
|
||||
LIST list;
|
||||
STRING szTitle, szMsg, szFile;
|
||||
begin
|
||||
|
||||
szFile = SUPPORTDIR ^ "infolist.txt";
|
||||
|
||||
list = ListCreate( STRINGLIST );
|
||||
ListReadFromFile( list, szFile );
|
||||
szTitle = "";
|
||||
szMsg = " ";
|
||||
nResult = SdShowInfoList( szTitle, szMsg, list );
|
||||
|
||||
ListDestroy( list );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdAskDestPath //
|
||||
// //
|
||||
// Purpose: This function asks the user for the destination directory. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdAskDestPath()
|
||||
NUMBER nResult;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SdAskDestPath( szTitle, szMsg, svDir, 0 );
|
||||
|
||||
TARGETDIR = svDir;
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdSetupType //
|
||||
// //
|
||||
// Purpose: This function displays the standard setup type dialog. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdSetupType()
|
||||
NUMBER nResult, nType;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
switch (svSetupType)
|
||||
case "Typical":
|
||||
nType = TYPICAL;
|
||||
case "Custom":
|
||||
nType = CUSTOM;
|
||||
case "Compact":
|
||||
nType = COMPACT;
|
||||
case "":
|
||||
svSetupType = "Typical";
|
||||
nType = TYPICAL;
|
||||
endswitch;
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SetupType( szTitle, szMsg, "", nType, 0 );
|
||||
|
||||
switch (nResult)
|
||||
case COMPACT:
|
||||
svSetupType = "Compact";
|
||||
case TYPICAL:
|
||||
svSetupType = "Typical";
|
||||
case CUSTOM:
|
||||
svSetupType = "Custom";
|
||||
endswitch;
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdComponentDialog2 //
|
||||
// //
|
||||
// Purpose: This function displays the custom component dialog. //
|
||||
// //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdComponentDialog2()
|
||||
NUMBER nResult;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
if ((svSetupType != "Custom") && (svSetupType != "")) then
|
||||
return 0;
|
||||
endif;
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SdComponentDialog2( szTitle, szMsg, svDir, "" );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdFinishReboot //
|
||||
// //
|
||||
// Purpose: This function will show the last dialog of the product. //
|
||||
// It will allow the user to reboot and/or show some readme text. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdFinishReboot()
|
||||
NUMBER nResult, nDefOptions;
|
||||
STRING szTitle, szMsg1, szMsg2, szOption1, szOption2;
|
||||
NUMBER bOpt1, bOpt2;
|
||||
begin
|
||||
|
||||
if (!BATCH_INSTALL) then
|
||||
bOpt1 = FALSE;
|
||||
bOpt2 = FALSE;
|
||||
szMsg1 = "";
|
||||
szMsg2 = "";
|
||||
szOption1 = "";
|
||||
szOption2 = "";
|
||||
nResult = SdFinish( szTitle, szMsg1, szMsg2, szOption1, szOption2, bOpt1, bOpt2 );
|
||||
return 0;
|
||||
endif;
|
||||
|
||||
nDefOptions = SYS_BOOTMACHINE;
|
||||
szTitle = "";
|
||||
szMsg1 = "";
|
||||
szMsg2 = "";
|
||||
nResult = SdFinishReboot( szTitle, szMsg1, nDefOptions, szMsg2, 0 );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
// --- include script file section ---
|
||||
|
||||
#include "sddialog.rul"
|
||||
|
||||
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
This is a release of MySQL @VERSION@ for Win32.
|
||||
|
||||
NOTE: If you install MySQL in a folder other than
|
||||
C:\MYSQL or you intend to start MySQL on NT/Win2000
|
||||
as a service, you must create a file named C:\MY.CNF
|
||||
or \Windows\my.ini or \winnt\my.ini with the following
|
||||
information::
|
||||
|
||||
[mysqld]
|
||||
basedir=E:/installation-path/
|
||||
datadir=E:/data-path/
|
||||
|
||||
After your have installed MySQL, the installation
|
||||
directory will contain 4 files named 'my-small.cnf,
|
||||
my-medium.cnf, my-large.cnf, my-huge.cnf'.
|
||||
You can use this as a starting point for your own
|
||||
C:\my.cnf file.
|
||||
|
||||
If you have any problems, you can mail them to
|
||||
win32@lists.mysql.com after you have consulted the
|
||||
MySQL manual and the MySQL mailing list archive
|
||||
(http://www.mysql.com/documentation/index.html)
|
||||
|
||||
On behalf of the MySQL AB gang,
|
||||
Michael Widenius
|
Binary file not shown.
Before Width: | Height: | Size: 15 KiB |
|
@ -1,12 +0,0 @@
|
|||
[Data]
|
||||
Folder3=<FOLDER_STARTUP>
|
||||
Group0=Main
|
||||
Group1=Startup
|
||||
Folder0=<FOLDER_DESKTOP>
|
||||
Folder1=<FOLDER_STARTMENU>
|
||||
Folder2=<FOLDER_PROGRAMS>
|
||||
|
||||
[Info]
|
||||
Type=ShellObject
|
||||
Version=1.00.000
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
[Data]
|
||||
TITLE_MAIN=MySQL Servers and Clients @VERSION@
|
||||
COMPANY_NAME=MySQL AB
|
||||
ERROR_COMPONENT=Component:
|
||||
COMPANY_NAME16=Company
|
||||
PRODUCT_VERSION=MySQL Servers and Clients @VERSION@
|
||||
ERROR_MOVEDATA=An error occurred during the move data process: %d
|
||||
ERROR_FILEGROUP=File Group:
|
||||
UNINST_KEY=MySQL Servers and Clients @VERSION@
|
||||
TITLE_CAPTIONBAR=MySQL Servers and Clients @VERSION@
|
||||
PRODUCT_NAME16=Product
|
||||
ERROR_VGARESOLUTION=This program requires VGA or better resolution.
|
||||
ERROR_FILE=File:
|
||||
UNINST_DISPLAY_NAME=MySQL Servers and Clients @VERSION@
|
||||
PRODUCT_KEY=yourapp.Exe
|
||||
PRODUCT_NAME=MySQL Servers and Clients @VERSION@
|
||||
ERROR_UNINSTSETUP=unInstaller setup failed to initialize. You may not be able to uninstall this product.
|
||||
|
||||
[General]
|
||||
Language=0009
|
||||
Type=STRINGTABLESPECIFIC
|
||||
Version=1.00.000
|
||||
|
|
@ -1,74 +0,0 @@
|
|||
[TITLE_MAIN]
|
||||
Comment=
|
||||
|
||||
[COMPANY_NAME]
|
||||
Comment=
|
||||
|
||||
[ERROR_COMPONENT]
|
||||
Comment=
|
||||
|
||||
[COMPANY_NAME16]
|
||||
Comment=
|
||||
|
||||
[PRODUCT_VERSION]
|
||||
Comment=
|
||||
|
||||
[ERROR_MOVEDATA]
|
||||
Comment=
|
||||
|
||||
[ERROR_FILEGROUP]
|
||||
Comment=
|
||||
|
||||
[Language]
|
||||
Lang0=0009
|
||||
CurrentLang=0
|
||||
|
||||
[UNINST_KEY]
|
||||
Comment=
|
||||
|
||||
[TITLE_CAPTIONBAR]
|
||||
Comment=
|
||||
|
||||
[Data]
|
||||
Entry0=ERROR_VGARESOLUTION
|
||||
Entry1=TITLE_MAIN
|
||||
Entry2=TITLE_CAPTIONBAR
|
||||
Entry3=UNINST_KEY
|
||||
Entry4=UNINST_DISPLAY_NAME
|
||||
Entry5=COMPANY_NAME
|
||||
Entry6=PRODUCT_NAME
|
||||
Entry7=PRODUCT_VERSION
|
||||
Entry8=PRODUCT_KEY
|
||||
Entry9=ERROR_MOVEDATA
|
||||
Entry10=ERROR_UNINSTSETUP
|
||||
Entry11=COMPANY_NAME16
|
||||
Entry12=PRODUCT_NAME16
|
||||
Entry13=ERROR_COMPONENT
|
||||
Entry14=ERROR_FILEGROUP
|
||||
Entry15=ERROR_FILE
|
||||
|
||||
[PRODUCT_NAME16]
|
||||
Comment=
|
||||
|
||||
[ERROR_VGARESOLUTION]
|
||||
Comment=
|
||||
|
||||
[ERROR_FILE]
|
||||
Comment=
|
||||
|
||||
[General]
|
||||
Type=STRINGTABLE
|
||||
Version=1.00.000
|
||||
|
||||
[UNINST_DISPLAY_NAME]
|
||||
Comment=
|
||||
|
||||
[PRODUCT_KEY]
|
||||
Comment=
|
||||
|
||||
[PRODUCT_NAME]
|
||||
Comment=
|
||||
|
||||
[ERROR_UNINSTSETUP]
|
||||
Comment=
|
||||
|
|
@ -1,56 +0,0 @@
|
|||
[<HKUS>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<HKCR>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<PROGRAMFILES>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<WINSYSDIR>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<COMMONFILES>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<WINDIR>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[Data]
|
||||
Key0=<PROGRAMFILES>
|
||||
Key1=<COMMONFILES>
|
||||
Key2=<WINDIR>
|
||||
Key3=<WINSYSDIR>
|
||||
Key4=<HKLM>
|
||||
Key5=<HKCU>
|
||||
Key6=<HKCC>
|
||||
Key7=<HKDD>
|
||||
Key8=<HKUS>
|
||||
Key9=<HKCR>
|
||||
|
||||
[General]
|
||||
Type=TEXTSUB
|
||||
Version=1.00.000
|
||||
|
||||
[<HKLM>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<HKCU>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<HKCC>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<HKDD>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
|
@ -1,76 +0,0 @@
|
|||
[<SRCDIR>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<HKUS>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<HKCR>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<PROGRAMFILES>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<TARGETDIR>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<WINSYSDIR>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<COMMONFILES>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<WINDIR>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[Data]
|
||||
Key0=<PROGRAMFILES>
|
||||
Key1=<COMMONFILES>
|
||||
Key2=<WINDIR>
|
||||
Key3=<WINSYSDIR>
|
||||
Key4=<TARGETDIR>
|
||||
Key5=<SUPPORTDIR>
|
||||
Key10=<HKDD>
|
||||
Key6=<SRCDIR>
|
||||
Key11=<HKUS>
|
||||
Key7=<HKLM>
|
||||
Key12=<HKCR>
|
||||
Key8=<HKCU>
|
||||
Key13=<SHELL_OBJECT_FOLDER>
|
||||
Key9=<HKCC>
|
||||
|
||||
[<SUPPORTDIR>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<SHELL_OBJECT_FOLDER>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[General]
|
||||
Type=TEXTSUB
|
||||
Version=1.00.000
|
||||
|
||||
[<HKLM>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<HKCU>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<HKCC>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<HKDD>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
|
@ -1,52 +0,0 @@
|
|||
[Language]
|
||||
LanguageSupport0=0009
|
||||
|
||||
[OperatingSystem]
|
||||
OSSupport=0000000000010010
|
||||
|
||||
[Data]
|
||||
CurrentMedia=New Media
|
||||
CurrentComponentDef=Default.cdf
|
||||
ProductName=MySQL Servers and Clients
|
||||
set_mifserial=
|
||||
DevEnvironment=Microsoft Visual C++ 6
|
||||
AppExe=
|
||||
set_dlldebug=No
|
||||
EmailAddresss=
|
||||
Instructions=Instructions.txt
|
||||
set_testmode=No
|
||||
set_mif=No
|
||||
SummaryText=
|
||||
Department=
|
||||
HomeURL=
|
||||
Author=
|
||||
Type=Database Application
|
||||
InstallRoot=D:\MySQL-Install\4.0.xpro
|
||||
Version=1.00.000
|
||||
InstallationGUID=40744a4d-efed-4cff-84a9-9e6389550f5c
|
||||
set_level=Level 3
|
||||
CurrentFileGroupDef=Default.fdf
|
||||
Notes=Notes.txt
|
||||
set_maxerr=50
|
||||
set_args=
|
||||
set_miffile=Status.mif
|
||||
set_dllcmdline=
|
||||
Copyright=
|
||||
set_warnaserr=No
|
||||
CurrentPlatform=
|
||||
Category=
|
||||
set_preproc=
|
||||
CurrentLanguage=English
|
||||
CompanyName=MySQL
|
||||
Description=Description.txt
|
||||
set_maxwarn=50
|
||||
set_crc=Yes
|
||||
set_compileb4build=No
|
||||
|
||||
[MediaInfo]
|
||||
mediadata0=New Media/
|
||||
|
||||
[General]
|
||||
Type=INSTALLMAIN
|
||||
Version=1.10.000
|
||||
|
|
@ -1,192 +0,0 @@
|
|||
[Development]
|
||||
required0=Servers
|
||||
SELECTED=Yes
|
||||
FILENEED=STANDARD
|
||||
required1=Grant Tables
|
||||
HTTPLOCATION=
|
||||
STATUS=Examples, Libraries, Includes and Script files
|
||||
UNINSTALLABLE=Yes
|
||||
TARGET=<TARGETDIR>
|
||||
FTPLOCATION=
|
||||
VISIBLE=Yes
|
||||
DESCRIPTION=Examples, Libraries, Includes and Script files
|
||||
DISPLAYTEXT=Examples, Libraries, Includes and Script files
|
||||
IMAGE=
|
||||
DEFSELECTION=Yes
|
||||
filegroup0=Development
|
||||
COMMENT=
|
||||
INCLUDEINBUILD=Yes
|
||||
INSTALLATION=ALWAYSOVERWRITE
|
||||
COMPRESSIFSEPARATE=No
|
||||
MISC=
|
||||
ENCRYPT=No
|
||||
DISK=ANYDISK
|
||||
TARGETDIRCDROM=
|
||||
PASSWORD=
|
||||
TARGETHIDDEN=General Application Destination
|
||||
|
||||
[Grant Tables]
|
||||
required0=Servers
|
||||
SELECTED=Yes
|
||||
FILENEED=CRITICAL
|
||||
HTTPLOCATION=
|
||||
STATUS=The Grant Tables and Core Files
|
||||
UNINSTALLABLE=Yes
|
||||
TARGET=<TARGETDIR>
|
||||
FTPLOCATION=
|
||||
VISIBLE=Yes
|
||||
DESCRIPTION=The Grant Tables and Core Files
|
||||
DISPLAYTEXT=The Grant Tables and Core Files
|
||||
IMAGE=
|
||||
DEFSELECTION=Yes
|
||||
filegroup0=Grant Tables
|
||||
requiredby0=Development
|
||||
COMMENT=
|
||||
INCLUDEINBUILD=Yes
|
||||
requiredby1=Clients and Tools
|
||||
INSTALLATION=NEVEROVERWRITE
|
||||
requiredby2=Documentation
|
||||
COMPRESSIFSEPARATE=No
|
||||
MISC=
|
||||
ENCRYPT=No
|
||||
DISK=ANYDISK
|
||||
TARGETDIRCDROM=
|
||||
PASSWORD=
|
||||
TARGETHIDDEN=General Application Destination
|
||||
|
||||
[Components]
|
||||
component0=Development
|
||||
component1=Grant Tables
|
||||
component2=Servers
|
||||
component3=Clients and Tools
|
||||
component4=Documentation
|
||||
|
||||
[TopComponents]
|
||||
component0=Servers
|
||||
component1=Clients and Tools
|
||||
component2=Documentation
|
||||
component3=Development
|
||||
component4=Grant Tables
|
||||
|
||||
[SetupType]
|
||||
setuptype0=Compact
|
||||
setuptype1=Typical
|
||||
setuptype2=Custom
|
||||
|
||||
[Clients and Tools]
|
||||
required0=Servers
|
||||
SELECTED=Yes
|
||||
FILENEED=HIGHLYRECOMMENDED
|
||||
required1=Grant Tables
|
||||
HTTPLOCATION=
|
||||
STATUS=The MySQL clients and Maintenance Tools
|
||||
UNINSTALLABLE=Yes
|
||||
TARGET=<TARGETDIR>
|
||||
FTPLOCATION=
|
||||
VISIBLE=Yes
|
||||
DESCRIPTION=The MySQL clients and Maintenance Tools
|
||||
DISPLAYTEXT=The MySQL clients and Maintenance Tools
|
||||
IMAGE=
|
||||
DEFSELECTION=Yes
|
||||
filegroup0=Clients and Tools
|
||||
COMMENT=
|
||||
INCLUDEINBUILD=Yes
|
||||
INSTALLATION=NEWERDATE
|
||||
COMPRESSIFSEPARATE=No
|
||||
MISC=
|
||||
ENCRYPT=No
|
||||
DISK=ANYDISK
|
||||
TARGETDIRCDROM=
|
||||
PASSWORD=
|
||||
TARGETHIDDEN=General Application Destination
|
||||
|
||||
[Servers]
|
||||
SELECTED=Yes
|
||||
FILENEED=CRITICAL
|
||||
HTTPLOCATION=
|
||||
STATUS=The MySQL Servers
|
||||
UNINSTALLABLE=Yes
|
||||
TARGET=<TARGETDIR>
|
||||
FTPLOCATION=
|
||||
VISIBLE=Yes
|
||||
DESCRIPTION=The MySQL Servers
|
||||
DISPLAYTEXT=The MySQL Servers
|
||||
IMAGE=
|
||||
DEFSELECTION=Yes
|
||||
filegroup0=Servers
|
||||
requiredby0=Development
|
||||
COMMENT=
|
||||
INCLUDEINBUILD=Yes
|
||||
requiredby1=Grant Tables
|
||||
INSTALLATION=ALWAYSOVERWRITE
|
||||
requiredby2=Clients and Tools
|
||||
requiredby3=Documentation
|
||||
COMPRESSIFSEPARATE=No
|
||||
MISC=
|
||||
ENCRYPT=No
|
||||
DISK=ANYDISK
|
||||
TARGETDIRCDROM=
|
||||
PASSWORD=
|
||||
TARGETHIDDEN=General Application Destination
|
||||
|
||||
[SetupTypeItem-Compact]
|
||||
Comment=
|
||||
item0=Grant Tables
|
||||
item1=Servers
|
||||
item2=Clients and Tools
|
||||
item3=Documentation
|
||||
Descrip=
|
||||
DisplayText=
|
||||
|
||||
[SetupTypeItem-Custom]
|
||||
Comment=
|
||||
item0=Development
|
||||
item1=Grant Tables
|
||||
item2=Servers
|
||||
item3=Clients and Tools
|
||||
Descrip=
|
||||
item4=Documentation
|
||||
DisplayText=
|
||||
|
||||
[Info]
|
||||
Type=CompDef
|
||||
Version=1.00.000
|
||||
Name=
|
||||
|
||||
[SetupTypeItem-Typical]
|
||||
Comment=
|
||||
item0=Development
|
||||
item1=Grant Tables
|
||||
item2=Servers
|
||||
item3=Clients and Tools
|
||||
Descrip=
|
||||
item4=Documentation
|
||||
DisplayText=
|
||||
|
||||
[Documentation]
|
||||
required0=Servers
|
||||
SELECTED=Yes
|
||||
FILENEED=HIGHLYRECOMMENDED
|
||||
required1=Grant Tables
|
||||
HTTPLOCATION=
|
||||
STATUS=The MySQL Documentation with different formats
|
||||
UNINSTALLABLE=Yes
|
||||
TARGET=<TARGETDIR>
|
||||
FTPLOCATION=
|
||||
VISIBLE=Yes
|
||||
DESCRIPTION=The MySQL Documentation with different formats
|
||||
DISPLAYTEXT=The MySQL Documentation with different formats
|
||||
IMAGE=
|
||||
DEFSELECTION=Yes
|
||||
filegroup0=Documentation
|
||||
COMMENT=
|
||||
INCLUDEINBUILD=Yes
|
||||
INSTALLATION=ALWAYSOVERWRITE
|
||||
COMPRESSIFSEPARATE=No
|
||||
MISC=
|
||||
ENCRYPT=No
|
||||
DISK=ANYDISK
|
||||
TARGETDIRCDROM=
|
||||
PASSWORD=
|
||||
TARGETHIDDEN=General Application Destination
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
[<PROGRAMFILES>\<COMMONFILES>]
|
||||
DISPLAYTEXT=Common Files Folder
|
||||
TYPE=TEXTSUBFIXED
|
||||
fulldirectory=
|
||||
|
||||
[<WINDIR>\<WINSYSDIR>]
|
||||
DISPLAYTEXT=Windows System Folder
|
||||
TYPE=TEXTSUBFIXED
|
||||
fulldirectory=
|
||||
|
||||
[USERDEFINED]
|
||||
DISPLAYTEXT=Script-defined Folders
|
||||
TYPE=USERSTART
|
||||
fulldirectory=
|
||||
|
||||
[<PROGRAMFILES>]
|
||||
DISPLAYTEXT=Program Files Folder
|
||||
SubDir0=<PROGRAMFILES>\<COMMONFILES>
|
||||
TYPE=TEXTSUBFIXED
|
||||
fulldirectory=
|
||||
|
||||
[<TARGETDIR>]
|
||||
DISPLAYTEXT=General Application Destination
|
||||
TYPE=TEXTSUBFIXED
|
||||
fulldirectory=
|
||||
|
||||
[<WINDIR>]
|
||||
DISPLAYTEXT=Windows Operating System
|
||||
SubDir0=<WINDIR>\<WINSYSDIR>
|
||||
TYPE=TEXTSUBFIXED
|
||||
fulldirectory=
|
||||
|
||||
[TopDir]
|
||||
SubDir0=<WINDIR>
|
||||
SubDir1=<PROGRAMFILES>
|
||||
SubDir2=<TARGETDIR>
|
||||
SubDir3=USERDEFINED
|
||||
|
||||
[General]
|
||||
Type=FILELIST
|
||||
Version=1.00.000
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
[bin]
|
||||
file15=C:\mysql\bin\replace.exe
|
||||
file16=C:\mysql\bin\winmysqladmin.cnt
|
||||
file0=C:\mysql\bin\isamchk.exe
|
||||
file17=C:\mysql\bin\WINMYSQLADMIN.HLP
|
||||
file1=C:\mysql\bin\myisamchk.exe
|
||||
file18=C:\mysql\bin\comp-err.exe
|
||||
file2=C:\mysql\bin\myisamlog.exe
|
||||
file19=C:\mysql\bin\my_print_defaults.exe
|
||||
file3=C:\mysql\bin\myisampack.exe
|
||||
file4=C:\mysql\bin\mysql.exe
|
||||
file5=C:\mysql\bin\mysqladmin.exe
|
||||
file6=C:\mysql\bin\mysqlbinlog.exe
|
||||
file7=C:\mysql\bin\mysqlc.exe
|
||||
file8=C:\mysql\bin\mysqlcheck.exe
|
||||
file9=C:\mysql\bin\mysqldump.exe
|
||||
file20=C:\mysql\bin\winmysqladmin.exe
|
||||
file21=C:\mysql\bin\myisam_ftdump.exe
|
||||
file10=C:\mysql\bin\mysqlimport.exe
|
||||
fulldirectory=
|
||||
file11=C:\mysql\bin\mysqlshow.exe
|
||||
file12=C:\mysql\bin\mysqlwatch.exe
|
||||
file13=C:\mysql\bin\pack_isam.exe
|
||||
file14=C:\mysql\bin\perror.exe
|
||||
|
||||
[TopDir]
|
||||
SubDir0=bin
|
||||
|
||||
[General]
|
||||
Type=FILELIST
|
||||
Version=1.00.000
|
||||
|
|
@ -1,82 +0,0 @@
|
|||
[FileGroups]
|
||||
group0=Development
|
||||
group1=Grant Tables
|
||||
group2=Servers
|
||||
group3=Clients and Tools
|
||||
group4=Documentation
|
||||
|
||||
[Development]
|
||||
SELFREGISTERING=No
|
||||
HTTPLOCATION=
|
||||
LANGUAGE=
|
||||
OPERATINGSYSTEM=
|
||||
FTPLOCATION=
|
||||
FILETYPE=No
|
||||
INFOTYPE=Standard
|
||||
COMMENT=
|
||||
COMPRESS=Yes
|
||||
COMPRESSDLL=
|
||||
POTENTIALLY=No
|
||||
MISC=
|
||||
|
||||
[Grant Tables]
|
||||
SELFREGISTERING=No
|
||||
HTTPLOCATION=
|
||||
LANGUAGE=
|
||||
OPERATINGSYSTEM=
|
||||
FTPLOCATION=
|
||||
FILETYPE=No
|
||||
INFOTYPE=Standard
|
||||
COMMENT=
|
||||
COMPRESS=Yes
|
||||
COMPRESSDLL=
|
||||
POTENTIALLY=No
|
||||
MISC=
|
||||
|
||||
[Clients and Tools]
|
||||
SELFREGISTERING=No
|
||||
HTTPLOCATION=
|
||||
LANGUAGE=
|
||||
OPERATINGSYSTEM=0000000000000000
|
||||
FTPLOCATION=
|
||||
FILETYPE=No
|
||||
INFOTYPE=Standard
|
||||
COMMENT=
|
||||
COMPRESS=Yes
|
||||
COMPRESSDLL=
|
||||
POTENTIALLY=No
|
||||
MISC=
|
||||
|
||||
[Servers]
|
||||
SELFREGISTERING=No
|
||||
HTTPLOCATION=
|
||||
LANGUAGE=
|
||||
OPERATINGSYSTEM=
|
||||
FTPLOCATION=
|
||||
FILETYPE=No
|
||||
INFOTYPE=Standard
|
||||
COMMENT=
|
||||
COMPRESS=Yes
|
||||
COMPRESSDLL=
|
||||
POTENTIALLY=No
|
||||
MISC=
|
||||
|
||||
[Info]
|
||||
Type=FileGrp
|
||||
Version=1.00.000
|
||||
Name=
|
||||
|
||||
[Documentation]
|
||||
SELFREGISTERING=No
|
||||
HTTPLOCATION=
|
||||
LANGUAGE=
|
||||
OPERATINGSYSTEM=
|
||||
FTPLOCATION=
|
||||
FILETYPE=No
|
||||
INFOTYPE=Standard
|
||||
COMMENT=
|
||||
COMPRESS=Yes
|
||||
COMPRESSDLL=
|
||||
POTENTIALLY=No
|
||||
MISC=
|
||||
|
|
@ -1,240 +0,0 @@
|
|||
[bench\Data\Wisconsin]
|
||||
file0=C:\mysql\bench\Data\Wisconsin\onek.data
|
||||
file1=C:\mysql\bench\Data\Wisconsin\tenk.data
|
||||
fulldirectory=
|
||||
|
||||
[lib\debug]
|
||||
file0=C:\mysql\lib\debug\libmySQL.dll
|
||||
file1=C:\mysql\lib\debug\libmySQL.lib
|
||||
file2=C:\mysql\lib\debug\mysqlclient.lib
|
||||
file3=C:\mysql\lib\debug\zlib.lib
|
||||
file4=C:\mysql\lib\debug\mysys.lib
|
||||
file5=C:\mysql\lib\debug\regex.lib
|
||||
file6=C:\mysql\lib\debug\strings.lib
|
||||
fulldirectory=
|
||||
|
||||
[bench\output]
|
||||
fulldirectory=
|
||||
|
||||
[examples\libmysqltest]
|
||||
file0=C:\mysql\examples\libmysqltest\myTest.c
|
||||
file1=C:\mysql\examples\libmysqltest\myTest.dsp
|
||||
file2=C:\mysql\examples\libmysqltest\myTest.dsw
|
||||
file3=C:\mysql\examples\libmysqltest\myTest.exe
|
||||
file4=C:\mysql\examples\libmysqltest\myTest.mak
|
||||
file5=C:\mysql\examples\libmysqltest\myTest.ncb
|
||||
file6=C:\mysql\examples\libmysqltest\myTest.opt
|
||||
file7=C:\mysql\examples\libmysqltest\readme
|
||||
fulldirectory=
|
||||
|
||||
[include]
|
||||
file15=C:\mysql\include\libmysqld.def
|
||||
file16=C:\mysql\include\my_alloc.h
|
||||
file0=C:\mysql\include\raid.h
|
||||
file17=C:\mysql\include\my_getopt.h
|
||||
file1=C:\mysql\include\errmsg.h
|
||||
file2=C:\mysql\include\Libmysql.def
|
||||
file3=C:\mysql\include\m_ctype.h
|
||||
file4=C:\mysql\include\m_string.h
|
||||
file5=C:\mysql\include\my_list.h
|
||||
file6=C:\mysql\include\my_pthread.h
|
||||
file7=C:\mysql\include\my_sys.h
|
||||
file8=C:\mysql\include\mysql.h
|
||||
file9=C:\mysql\include\mysql_com.h
|
||||
file10=C:\mysql\include\mysql_version.h
|
||||
fulldirectory=
|
||||
file11=C:\mysql\include\mysqld_error.h
|
||||
file12=C:\mysql\include\dbug.h
|
||||
file13=C:\mysql\include\config-win.h
|
||||
file14=C:\mysql\include\my_global.h
|
||||
|
||||
[examples]
|
||||
SubDir0=examples\libmysqltest
|
||||
SubDir1=examples\tests
|
||||
fulldirectory=
|
||||
|
||||
[lib\opt]
|
||||
file0=C:\mysql\lib\opt\libmySQL.dll
|
||||
file1=C:\mysql\lib\opt\libmySQL.lib
|
||||
file2=C:\mysql\lib\opt\mysqlclient.lib
|
||||
file3=C:\mysql\lib\opt\zlib.lib
|
||||
file4=C:\mysql\lib\opt\strings.lib
|
||||
file5=C:\mysql\lib\opt\regex.lib
|
||||
file6=C:\mysql\lib\opt\mysys.lib
|
||||
fulldirectory=
|
||||
|
||||
[bench\Data]
|
||||
SubDir0=bench\Data\ATIS
|
||||
SubDir1=bench\Data\Wisconsin
|
||||
fulldirectory=
|
||||
|
||||
[bench\limits]
|
||||
file15=C:\mysql\bench\limits\pg.comment
|
||||
file16=C:\mysql\bench\limits\solid.cfg
|
||||
file0=C:\mysql\bench\limits\access.cfg
|
||||
file17=C:\mysql\bench\limits\solid-nt4.cfg
|
||||
file1=C:\mysql\bench\limits\access.comment
|
||||
file18=C:\mysql\bench\limits\sybase.cfg
|
||||
file2=C:\mysql\bench\limits\Adabas.cfg
|
||||
file3=C:\mysql\bench\limits\Adabas.comment
|
||||
file4=C:\mysql\bench\limits\Db2.cfg
|
||||
file5=C:\mysql\bench\limits\empress.cfg
|
||||
file6=C:\mysql\bench\limits\empress.comment
|
||||
file7=C:\mysql\bench\limits\Informix.cfg
|
||||
file8=C:\mysql\bench\limits\Informix.comment
|
||||
file9=C:\mysql\bench\limits\msql.cfg
|
||||
file10=C:\mysql\bench\limits\ms-sql.cfg
|
||||
fulldirectory=
|
||||
file11=C:\mysql\bench\limits\Ms-sql65.cfg
|
||||
file12=C:\mysql\bench\limits\mysql.cfg
|
||||
file13=C:\mysql\bench\limits\oracle.cfg
|
||||
file14=C:\mysql\bench\limits\pg.cfg
|
||||
|
||||
[TopDir]
|
||||
SubDir0=bench
|
||||
SubDir1=examples
|
||||
SubDir2=include
|
||||
SubDir3=lib
|
||||
SubDir4=scripts
|
||||
|
||||
[bench]
|
||||
file15=C:\mysql\bench\test-create
|
||||
file16=C:\mysql\bench\test-insert
|
||||
file0=C:\mysql\bench\uname.bat
|
||||
file17=C:\mysql\bench\test-select
|
||||
file1=C:\mysql\bench\compare-results
|
||||
file18=C:\mysql\bench\test-wisconsin
|
||||
file2=C:\mysql\bench\copy-db
|
||||
file19=C:\mysql\bench\bench-init.pl
|
||||
file3=C:\mysql\bench\crash-me
|
||||
file4=C:\mysql\bench\example.bat
|
||||
file5=C:\mysql\bench\print-limit-table
|
||||
file6=C:\mysql\bench\pwd.bat
|
||||
file7=C:\mysql\bench\Readme
|
||||
SubDir0=bench\Data
|
||||
file8=C:\mysql\bench\run.bat
|
||||
SubDir1=bench\limits
|
||||
file9=C:\mysql\bench\run-all-tests
|
||||
SubDir2=bench\output
|
||||
file10=C:\mysql\bench\server-cfg
|
||||
fulldirectory=
|
||||
file11=C:\mysql\bench\test-alter-table
|
||||
file12=C:\mysql\bench\test-ATIS
|
||||
file13=C:\mysql\bench\test-big-tables
|
||||
file14=C:\mysql\bench\test-connect
|
||||
|
||||
[examples\tests]
|
||||
file15=C:\mysql\examples\tests\lock_test.res
|
||||
file16=C:\mysql\examples\tests\mail_to_db.pl
|
||||
file0=C:\mysql\examples\tests\unique_users.tst
|
||||
file17=C:\mysql\examples\tests\table_types.pl
|
||||
file1=C:\mysql\examples\tests\auto_increment.tst
|
||||
file18=C:\mysql\examples\tests\test_delayed_insert.pl
|
||||
file2=C:\mysql\examples\tests\big_record.pl
|
||||
file19=C:\mysql\examples\tests\udf_test
|
||||
file3=C:\mysql\examples\tests\big_record.res
|
||||
file4=C:\mysql\examples\tests\czech-sorting
|
||||
file5=C:\mysql\examples\tests\deadlock-script.pl
|
||||
file6=C:\mysql\examples\tests\export.pl
|
||||
file7=C:\mysql\examples\tests\fork_test.pl
|
||||
file8=C:\mysql\examples\tests\fork2_test.pl
|
||||
file9=C:\mysql\examples\tests\fork3_test.pl
|
||||
file20=C:\mysql\examples\tests\udf_test.res
|
||||
file21=C:\mysql\examples\tests\auto_increment.res
|
||||
file10=C:\mysql\examples\tests\function.res
|
||||
fulldirectory=
|
||||
file11=C:\mysql\examples\tests\function.tst
|
||||
file12=C:\mysql\examples\tests\grant.pl
|
||||
file13=C:\mysql\examples\tests\grant.res
|
||||
file14=C:\mysql\examples\tests\lock_test.pl
|
||||
|
||||
[bench\Data\ATIS]
|
||||
file26=C:\mysql\bench\Data\ATIS\stop1.txt
|
||||
file15=C:\mysql\bench\Data\ATIS\flight_class.txt
|
||||
file27=C:\mysql\bench\Data\ATIS\time_interval.txt
|
||||
file16=C:\mysql\bench\Data\ATIS\flight_day.txt
|
||||
file0=C:\mysql\bench\Data\ATIS\transport.txt
|
||||
file28=C:\mysql\bench\Data\ATIS\time_zone.txt
|
||||
file17=C:\mysql\bench\Data\ATIS\flight_fare.txt
|
||||
file1=C:\mysql\bench\Data\ATIS\airline.txt
|
||||
file29=C:\mysql\bench\Data\ATIS\aircraft.txt
|
||||
file18=C:\mysql\bench\Data\ATIS\food_service.txt
|
||||
file2=C:\mysql\bench\Data\ATIS\airport.txt
|
||||
file19=C:\mysql\bench\Data\ATIS\ground_service.txt
|
||||
file3=C:\mysql\bench\Data\ATIS\airport_service.txt
|
||||
file4=C:\mysql\bench\Data\ATIS\city.txt
|
||||
file5=C:\mysql\bench\Data\ATIS\class_of_service.txt
|
||||
file6=C:\mysql\bench\Data\ATIS\code_description.txt
|
||||
file7=C:\mysql\bench\Data\ATIS\compound_class.txt
|
||||
file8=C:\mysql\bench\Data\ATIS\connect_leg.txt
|
||||
file9=C:\mysql\bench\Data\ATIS\date_day.txt
|
||||
file20=C:\mysql\bench\Data\ATIS\month_name.txt
|
||||
file21=C:\mysql\bench\Data\ATIS\restrict_carrier.txt
|
||||
file10=C:\mysql\bench\Data\ATIS\day_name.txt
|
||||
fulldirectory=
|
||||
file22=C:\mysql\bench\Data\ATIS\restrict_class.txt
|
||||
file11=C:\mysql\bench\Data\ATIS\dual_carrier.txt
|
||||
file23=C:\mysql\bench\Data\ATIS\restriction.txt
|
||||
file12=C:\mysql\bench\Data\ATIS\fare.txt
|
||||
file24=C:\mysql\bench\Data\ATIS\state.txt
|
||||
file13=C:\mysql\bench\Data\ATIS\fconnection.txt
|
||||
file25=C:\mysql\bench\Data\ATIS\stop.txt
|
||||
file14=C:\mysql\bench\Data\ATIS\flight.txt
|
||||
|
||||
[General]
|
||||
Type=FILELIST
|
||||
Version=1.00.000
|
||||
|
||||
[scripts]
|
||||
file37=C:\mysql\scripts\mysqld_safe-watch.sh
|
||||
file26=C:\mysql\scripts\mysql_zap
|
||||
file15=C:\mysql\scripts\mysql_fix_privilege_tables
|
||||
file38=C:\mysql\scripts\mysqldumpslow
|
||||
file27=C:\mysql\scripts\mysql_zap.sh
|
||||
file16=C:\mysql\scripts\mysql_fix_privilege_tables.sh
|
||||
file0=C:\mysql\scripts\Readme
|
||||
file39=C:\mysql\scripts\mysqldumpslow.sh
|
||||
file28=C:\mysql\scripts\mysqlaccess
|
||||
file17=C:\mysql\scripts\mysql_install_db
|
||||
file1=C:\mysql\scripts\make_binary_distribution.sh
|
||||
file29=C:\mysql\scripts\mysqlaccess.conf
|
||||
file18=C:\mysql\scripts\mysql_install_db.sh
|
||||
file2=C:\mysql\scripts\msql2mysql
|
||||
file19=C:\mysql\scripts\mysql_secure_installation
|
||||
file3=C:\mysql\scripts\msql2mysql.sh
|
||||
file4=C:\mysql\scripts\mysql_config
|
||||
file5=C:\mysql\scripts\mysql_config.sh
|
||||
file6=C:\mysql\scripts\mysql_convert_table_format
|
||||
file7=C:\mysql\scripts\mysql_convert_table_format.sh
|
||||
file40=C:\mysql\scripts\mysqlhotcopy
|
||||
file8=C:\mysql\scripts\mysql_explain_log
|
||||
file41=C:\mysql\scripts\mysqlhotcopy.pl
|
||||
file30=C:\mysql\scripts\mysqlaccess.sh
|
||||
file9=C:\mysql\scripts\mysql_explain_log.sh
|
||||
file42=C:\mysql\scripts\mysqlhotcopy.sh
|
||||
file31=C:\mysql\scripts\mysqlbug
|
||||
file20=C:\mysql\scripts\mysql_secure_installation.sh
|
||||
file43=C:\mysql\scripts\make_binary_distribution
|
||||
file32=C:\mysql\scripts\mysqlbug.sh
|
||||
file21=C:\mysql\scripts\mysql_setpermission
|
||||
file10=C:\mysql\scripts\mysql_find_rows
|
||||
fulldirectory=
|
||||
file44=C:\mysql\scripts\mysql_fix_privilege_tables.sql
|
||||
file33=C:\mysql\scripts\mysqld_multi
|
||||
file22=C:\mysql\scripts\mysql_setpermission.pl
|
||||
file11=C:\mysql\scripts\mysql_find_rows.pl
|
||||
file34=C:\mysql\scripts\mysqld_multi.sh
|
||||
file23=C:\mysql\scripts\mysql_setpermission.sh
|
||||
file12=C:\mysql\scripts\mysql_find_rows.sh
|
||||
file35=C:\mysql\scripts\mysqld_safe
|
||||
file24=C:\mysql\scripts\mysql_tableinfo
|
||||
file13=C:\mysql\scripts\mysql_fix_extensions
|
||||
file36=C:\mysql\scripts\mysqld_safe.sh
|
||||
file25=C:\mysql\scripts\mysql_tableinfo.sh
|
||||
file14=C:\mysql\scripts\mysql_fix_extensions.sh
|
||||
|
||||
[lib]
|
||||
SubDir0=lib\debug
|
||||
SubDir1=lib\opt
|
||||
fulldirectory=
|
||||
|
|
@ -1,99 +0,0 @@
|
|||
[Docs\Flags]
|
||||
file59=C:\mysql\Docs\Flags\romania.gif
|
||||
file48=C:\mysql\Docs\Flags\kroatia.eps
|
||||
file37=C:\mysql\Docs\Flags\iceland.gif
|
||||
file26=C:\mysql\Docs\Flags\france.eps
|
||||
file15=C:\mysql\Docs\Flags\china.gif
|
||||
file49=C:\mysql\Docs\Flags\kroatia.gif
|
||||
file38=C:\mysql\Docs\Flags\ireland.eps
|
||||
file27=C:\mysql\Docs\Flags\france.gif
|
||||
file16=C:\mysql\Docs\Flags\croatia.eps
|
||||
file0=C:\mysql\Docs\Flags\usa.gif
|
||||
file39=C:\mysql\Docs\Flags\ireland.gif
|
||||
file28=C:\mysql\Docs\Flags\germany.eps
|
||||
file17=C:\mysql\Docs\Flags\croatia.gif
|
||||
file1=C:\mysql\Docs\Flags\argentina.gif
|
||||
file29=C:\mysql\Docs\Flags\germany.gif
|
||||
file18=C:\mysql\Docs\Flags\czech-republic.eps
|
||||
file2=C:\mysql\Docs\Flags\australia.eps
|
||||
file19=C:\mysql\Docs\Flags\czech-republic.gif
|
||||
file3=C:\mysql\Docs\Flags\australia.gif
|
||||
file80=C:\mysql\Docs\Flags\usa.eps
|
||||
file4=C:\mysql\Docs\Flags\austria.eps
|
||||
file81=C:\mysql\Docs\Flags\argentina.eps
|
||||
file70=C:\mysql\Docs\Flags\spain.eps
|
||||
file5=C:\mysql\Docs\Flags\austria.gif
|
||||
file71=C:\mysql\Docs\Flags\spain.gif
|
||||
file60=C:\mysql\Docs\Flags\russia.eps
|
||||
file6=C:\mysql\Docs\Flags\brazil.eps
|
||||
file72=C:\mysql\Docs\Flags\sweden.eps
|
||||
file61=C:\mysql\Docs\Flags\russia.gif
|
||||
file50=C:\mysql\Docs\Flags\latvia.eps
|
||||
file7=C:\mysql\Docs\Flags\brazil.gif
|
||||
file73=C:\mysql\Docs\Flags\sweden.gif
|
||||
file62=C:\mysql\Docs\Flags\singapore.eps
|
||||
file51=C:\mysql\Docs\Flags\latvia.gif
|
||||
file40=C:\mysql\Docs\Flags\island.eps
|
||||
file8=C:\mysql\Docs\Flags\bulgaria.eps
|
||||
file74=C:\mysql\Docs\Flags\switzerland.eps
|
||||
file63=C:\mysql\Docs\Flags\singapore.gif
|
||||
file52=C:\mysql\Docs\Flags\netherlands.eps
|
||||
file41=C:\mysql\Docs\Flags\island.gif
|
||||
file30=C:\mysql\Docs\Flags\great-britain.eps
|
||||
file9=C:\mysql\Docs\Flags\bulgaria.gif
|
||||
file75=C:\mysql\Docs\Flags\switzerland.gif
|
||||
file64=C:\mysql\Docs\Flags\south-africa.eps
|
||||
file53=C:\mysql\Docs\Flags\netherlands.gif
|
||||
file42=C:\mysql\Docs\Flags\israel.eps
|
||||
file31=C:\mysql\Docs\Flags\great-britain.gif
|
||||
file20=C:\mysql\Docs\Flags\denmark.eps
|
||||
file76=C:\mysql\Docs\Flags\taiwan.eps
|
||||
file65=C:\mysql\Docs\Flags\south-africa.gif
|
||||
file54=C:\mysql\Docs\Flags\poland.eps
|
||||
file43=C:\mysql\Docs\Flags\israel.gif
|
||||
file32=C:\mysql\Docs\Flags\greece.eps
|
||||
file21=C:\mysql\Docs\Flags\denmark.gif
|
||||
file10=C:\mysql\Docs\Flags\canada.eps
|
||||
fulldirectory=
|
||||
file77=C:\mysql\Docs\Flags\taiwan.gif
|
||||
file66=C:\mysql\Docs\Flags\south-africa1.eps
|
||||
file55=C:\mysql\Docs\Flags\poland.gif
|
||||
file44=C:\mysql\Docs\Flags\italy.eps
|
||||
file33=C:\mysql\Docs\Flags\greece.gif
|
||||
file22=C:\mysql\Docs\Flags\estonia.eps
|
||||
file11=C:\mysql\Docs\Flags\canada.gif
|
||||
file78=C:\mysql\Docs\Flags\ukraine.eps
|
||||
file67=C:\mysql\Docs\Flags\south-africa1.gif
|
||||
file56=C:\mysql\Docs\Flags\portugal.eps
|
||||
file45=C:\mysql\Docs\Flags\italy.gif
|
||||
file34=C:\mysql\Docs\Flags\hungary.eps
|
||||
file23=C:\mysql\Docs\Flags\estonia.gif
|
||||
file12=C:\mysql\Docs\Flags\chile.eps
|
||||
file79=C:\mysql\Docs\Flags\ukraine.gif
|
||||
file68=C:\mysql\Docs\Flags\south-korea.eps
|
||||
file57=C:\mysql\Docs\Flags\portugal.gif
|
||||
file46=C:\mysql\Docs\Flags\japan.eps
|
||||
file35=C:\mysql\Docs\Flags\hungary.gif
|
||||
file24=C:\mysql\Docs\Flags\finland.eps
|
||||
file13=C:\mysql\Docs\Flags\chile.gif
|
||||
file69=C:\mysql\Docs\Flags\south-korea.gif
|
||||
file58=C:\mysql\Docs\Flags\romania.eps
|
||||
file47=C:\mysql\Docs\Flags\japan.gif
|
||||
file36=C:\mysql\Docs\Flags\iceland.eps
|
||||
file25=C:\mysql\Docs\Flags\finland.gif
|
||||
file14=C:\mysql\Docs\Flags\china.eps
|
||||
|
||||
[Docs]
|
||||
file0=C:\mysql\Docs\manual_toc.html
|
||||
file1=C:\mysql\Docs\manual.html
|
||||
file2=C:\mysql\Docs\manual.txt
|
||||
SubDir0=Docs\Flags
|
||||
fulldirectory=
|
||||
|
||||
[TopDir]
|
||||
SubDir0=Docs
|
||||
|
||||
[General]
|
||||
Type=FILELIST
|
||||
Version=1.00.000
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
[data\test]
|
||||
fulldirectory=
|
||||
|
||||
[data\mysql]
|
||||
file15=C:\mysql\data\mysql\func.frm
|
||||
file16=C:\mysql\data\mysql\func.MYD
|
||||
file0=C:\mysql\data\mysql\columns_priv.frm
|
||||
file17=C:\mysql\data\mysql\func.MYI
|
||||
file1=C:\mysql\data\mysql\columns_priv.MYD
|
||||
file2=C:\mysql\data\mysql\columns_priv.MYI
|
||||
file3=C:\mysql\data\mysql\db.frm
|
||||
file4=C:\mysql\data\mysql\db.MYD
|
||||
file5=C:\mysql\data\mysql\db.MYI
|
||||
file6=C:\mysql\data\mysql\host.frm
|
||||
file7=C:\mysql\data\mysql\host.MYD
|
||||
file8=C:\mysql\data\mysql\host.MYI
|
||||
file9=C:\mysql\data\mysql\tables_priv.frm
|
||||
file10=C:\mysql\data\mysql\tables_priv.MYD
|
||||
fulldirectory=
|
||||
file11=C:\mysql\data\mysql\tables_priv.MYI
|
||||
file12=C:\mysql\data\mysql\user.frm
|
||||
file13=C:\mysql\data\mysql\user.MYD
|
||||
file14=C:\mysql\data\mysql\user.MYI
|
||||
|
||||
[TopDir]
|
||||
SubDir0=data
|
||||
|
||||
[data]
|
||||
SubDir0=data\mysql
|
||||
SubDir1=data\test
|
||||
fulldirectory=
|
||||
|
||||
[General]
|
||||
Type=FILELIST
|
||||
Version=1.00.000
|
||||
|
|
@ -1,227 +0,0 @@
|
|||
[Embedded\Static\release]
|
||||
file0=C:\mysql\embedded\Static\release\test_stc.dsp
|
||||
file1=C:\mysql\embedded\Static\release\ReadMe.txt
|
||||
file2=C:\mysql\embedded\Static\release\StdAfx.cpp
|
||||
file3=C:\mysql\embedded\Static\release\StdAfx.h
|
||||
file4=C:\mysql\embedded\Static\release\test_stc.cpp
|
||||
file5=C:\mysql\embedded\Static\release\mysqlserver.lib
|
||||
fulldirectory=
|
||||
|
||||
[share\polish]
|
||||
file0=C:\mysql\share\polish\errmsg.sys
|
||||
file1=C:\mysql\share\polish\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\dutch]
|
||||
file0=C:\mysql\share\dutch\errmsg.sys
|
||||
file1=C:\mysql\share\dutch\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\spanish]
|
||||
file0=C:\mysql\share\spanish\errmsg.sys
|
||||
file1=C:\mysql\share\spanish\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\english]
|
||||
file0=C:\mysql\share\english\errmsg.sys
|
||||
file1=C:\mysql\share\english\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[bin]
|
||||
file0=C:\mysql\bin\mysqld-opt.exe
|
||||
file1=C:\mysql\bin\mysqld-nt.exe
|
||||
file2=C:\mysql\bin\mysqld.exe
|
||||
file3=C:\mysql\bin\cygwinb19.dll
|
||||
file4=C:\mysql\bin\libmySQL.dll
|
||||
fulldirectory=
|
||||
|
||||
[share\korean]
|
||||
file0=C:\mysql\share\korean\errmsg.sys
|
||||
file1=C:\mysql\share\korean\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\charsets]
|
||||
file15=C:\mysql\share\charsets\latin1.conf
|
||||
file16=C:\mysql\share\charsets\latin2.conf
|
||||
file0=C:\mysql\share\charsets\win1251ukr.conf
|
||||
file17=C:\mysql\share\charsets\latin5.conf
|
||||
file1=C:\mysql\share\charsets\cp1257.conf
|
||||
file18=C:\mysql\share\charsets\Readme
|
||||
file2=C:\mysql\share\charsets\croat.conf
|
||||
file19=C:\mysql\share\charsets\swe7.conf
|
||||
file3=C:\mysql\share\charsets\danish.conf
|
||||
file4=C:\mysql\share\charsets\dec8.conf
|
||||
file5=C:\mysql\share\charsets\dos.conf
|
||||
file6=C:\mysql\share\charsets\estonia.conf
|
||||
file7=C:\mysql\share\charsets\german1.conf
|
||||
file8=C:\mysql\share\charsets\greek.conf
|
||||
file9=C:\mysql\share\charsets\hebrew.conf
|
||||
file20=C:\mysql\share\charsets\usa7.conf
|
||||
file21=C:\mysql\share\charsets\win1250.conf
|
||||
file10=C:\mysql\share\charsets\hp8.conf
|
||||
fulldirectory=
|
||||
file22=C:\mysql\share\charsets\win1251.conf
|
||||
file11=C:\mysql\share\charsets\hungarian.conf
|
||||
file23=C:\mysql\share\charsets\cp1251.conf
|
||||
file12=C:\mysql\share\charsets\Index
|
||||
file13=C:\mysql\share\charsets\koi8_ru.conf
|
||||
file14=C:\mysql\share\charsets\koi8_ukr.conf
|
||||
|
||||
[Embedded\DLL\debug]
|
||||
file0=C:\mysql\embedded\DLL\debug\libmysqld.dll
|
||||
file1=C:\mysql\embedded\DLL\debug\libmysqld.exp
|
||||
file2=C:\mysql\embedded\DLL\debug\libmysqld.lib
|
||||
fulldirectory=
|
||||
|
||||
[Embedded]
|
||||
file0=C:\mysql\embedded\embedded.dsw
|
||||
SubDir0=Embedded\DLL
|
||||
SubDir1=Embedded\Static
|
||||
fulldirectory=
|
||||
|
||||
[share\ukrainian]
|
||||
file0=C:\mysql\share\ukrainian\errmsg.sys
|
||||
file1=C:\mysql\share\ukrainian\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\hungarian]
|
||||
file0=C:\mysql\share\hungarian\errmsg.sys
|
||||
file1=C:\mysql\share\hungarian\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\german]
|
||||
file0=C:\mysql\share\german\errmsg.sys
|
||||
file1=C:\mysql\share\german\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\portuguese]
|
||||
file0=C:\mysql\share\portuguese\errmsg.sys
|
||||
file1=C:\mysql\share\portuguese\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\estonian]
|
||||
file0=C:\mysql\share\estonian\errmsg.sys
|
||||
file1=C:\mysql\share\estonian\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\romanian]
|
||||
file0=C:\mysql\share\romanian\errmsg.sys
|
||||
file1=C:\mysql\share\romanian\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\french]
|
||||
file0=C:\mysql\share\french\errmsg.sys
|
||||
file1=C:\mysql\share\french\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\swedish]
|
||||
file0=C:\mysql\share\swedish\errmsg.sys
|
||||
file1=C:\mysql\share\swedish\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\slovak]
|
||||
file0=C:\mysql\share\slovak\errmsg.sys
|
||||
file1=C:\mysql\share\slovak\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\greek]
|
||||
file0=C:\mysql\share\greek\errmsg.sys
|
||||
file1=C:\mysql\share\greek\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[TopDir]
|
||||
file0=C:\mysql\my-huge.cnf
|
||||
file1=C:\mysql\my-large.cnf
|
||||
file2=C:\mysql\my-medium.cnf
|
||||
file3=C:\mysql\my-small.cnf
|
||||
file4=C:\mysql\MySQLEULA.txt
|
||||
file5=C:\mysql\README.txt
|
||||
SubDir0=bin
|
||||
SubDir1=share
|
||||
SubDir2=Embedded
|
||||
|
||||
[share]
|
||||
SubDir8=share\hungarian
|
||||
SubDir9=share\charsets
|
||||
SubDir20=share\spanish
|
||||
SubDir21=share\swedish
|
||||
SubDir10=share\italian
|
||||
SubDir22=share\ukrainian
|
||||
SubDir11=share\japanese
|
||||
SubDir12=share\korean
|
||||
SubDir13=share\norwegian
|
||||
SubDir14=share\norwegian-ny
|
||||
SubDir15=share\polish
|
||||
SubDir16=share\portuguese
|
||||
SubDir0=share\czech
|
||||
SubDir17=share\romanian
|
||||
SubDir1=share\danish
|
||||
SubDir18=share\russian
|
||||
SubDir2=share\dutch
|
||||
SubDir19=share\slovak
|
||||
SubDir3=share\english
|
||||
fulldirectory=
|
||||
SubDir4=share\estonian
|
||||
SubDir5=share\french
|
||||
SubDir6=share\german
|
||||
SubDir7=share\greek
|
||||
|
||||
[share\norwegian-ny]
|
||||
file0=C:\mysql\share\norwegian-ny\errmsg.sys
|
||||
file1=C:\mysql\share\norwegian-ny\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[Embedded\DLL]
|
||||
file0=C:\mysql\embedded\DLL\test_dll.dsp
|
||||
file1=C:\mysql\embedded\DLL\StdAfx.h
|
||||
file2=C:\mysql\embedded\DLL\test_dll.cpp
|
||||
file3=C:\mysql\embedded\DLL\StdAfx.cpp
|
||||
SubDir0=Embedded\DLL\debug
|
||||
SubDir1=Embedded\DLL\release
|
||||
fulldirectory=
|
||||
|
||||
[Embedded\Static]
|
||||
SubDir0=Embedded\Static\release
|
||||
fulldirectory=
|
||||
|
||||
[Embedded\DLL\release]
|
||||
file0=C:\mysql\embedded\DLL\release\libmysqld.dll
|
||||
file1=C:\mysql\embedded\DLL\release\libmysqld.exp
|
||||
file2=C:\mysql\embedded\DLL\release\libmysqld.lib
|
||||
file3=C:\mysql\embedded\DLL\release\mysql-server.exe
|
||||
fulldirectory=
|
||||
|
||||
[share\danish]
|
||||
file0=C:\mysql\share\danish\errmsg.sys
|
||||
file1=C:\mysql\share\danish\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\czech]
|
||||
file0=C:\mysql\share\czech\errmsg.sys
|
||||
file1=C:\mysql\share\czech\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[General]
|
||||
Type=FILELIST
|
||||
Version=1.00.000
|
||||
|
||||
[share\russian]
|
||||
file0=C:\mysql\share\russian\errmsg.sys
|
||||
file1=C:\mysql\share\russian\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\norwegian]
|
||||
file0=C:\mysql\share\norwegian\errmsg.sys
|
||||
file1=C:\mysql\share\norwegian\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\japanese]
|
||||
file0=C:\mysql\share\japanese\errmsg.sys
|
||||
file1=C:\mysql\share\japanese\errmsg.txt
|
||||
fulldirectory=
|
||||
|
||||
[share\italian]
|
||||
file0=C:\mysql\share\italian\errmsg.sys
|
||||
file1=C:\mysql\share\italian\errmsg.txt
|
||||
fulldirectory=
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[General]
|
||||
Type=REGISTRYDATA
|
||||
Version=1.00.000
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,640 +0,0 @@
|
|||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// IIIIIII SSSSSS
|
||||
// II SS InstallShield (R)
|
||||
// II SSSSSS (c) 1996-1997, InstallShield Software Corporation
|
||||
// II SS (c) 1990-1996, InstallShield Corporation
|
||||
// IIIIIII SSSSSS All Rights Reserved.
|
||||
//
|
||||
//
|
||||
// This code is generated as a starting setup template. You should
|
||||
// modify it to provide all necessary steps for your setup.
|
||||
//
|
||||
//
|
||||
// File Name: Setup.rul
|
||||
//
|
||||
// Description: InstallShield script
|
||||
//
|
||||
// Comments: This template script performs a basic setup on a
|
||||
// Windows 95 or Windows NT 4.0 platform. With minor
|
||||
// modifications, this template can be adapted to create
|
||||
// new, customized setups.
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// Include header file
|
||||
#include "sdlang.h"
|
||||
#include "sddialog.h"
|
||||
|
||||
////////////////////// string defines ////////////////////////////
|
||||
|
||||
#define UNINST_LOGFILE_NAME "Uninst.isu"
|
||||
|
||||
//////////////////// installation declarations ///////////////////
|
||||
|
||||
// ----- DLL prototypes -----
|
||||
|
||||
|
||||
// your DLL prototypes
|
||||
|
||||
|
||||
// ---- script prototypes -----
|
||||
|
||||
// generated
|
||||
prototype ShowDialogs();
|
||||
prototype MoveFileData();
|
||||
prototype HandleMoveDataError( NUMBER );
|
||||
prototype ProcessBeforeDataMove();
|
||||
prototype ProcessAfterDataMove();
|
||||
prototype SetupRegistry();
|
||||
prototype SetupFolders();
|
||||
prototype CleanUpInstall();
|
||||
prototype SetupInstall();
|
||||
prototype SetupScreen();
|
||||
prototype CheckRequirements();
|
||||
prototype DialogShowSdWelcome();
|
||||
prototype DialogShowSdShowInfoList();
|
||||
prototype DialogShowSdAskDestPath();
|
||||
prototype DialogShowSdSetupType();
|
||||
prototype DialogShowSdComponentDialog2();
|
||||
prototype DialogShowSdFinishReboot();
|
||||
|
||||
// your prototypes
|
||||
|
||||
|
||||
// ----- global variables ------
|
||||
|
||||
// generated
|
||||
BOOL bWinNT, bIsShellExplorer, bInstallAborted, bIs32BitSetup;
|
||||
STRING svDir;
|
||||
STRING svName, svCompany, svSerial;
|
||||
STRING szAppPath;
|
||||
STRING svSetupType;
|
||||
|
||||
|
||||
// your global variables
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// MAIN PROGRAM
|
||||
//
|
||||
// The setup begins here by hiding the visible setup
|
||||
// window. This is done to allow all the titles, images, etc. to
|
||||
// be established before showing the main window. The following
|
||||
// logic then performs the setup in a series of steps.
|
||||
//
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
program
|
||||
Disable( BACKGROUND );
|
||||
|
||||
CheckRequirements();
|
||||
|
||||
SetupInstall();
|
||||
|
||||
SetupScreen();
|
||||
|
||||
if (ShowDialogs()<0) goto end_install;
|
||||
|
||||
if (ProcessBeforeDataMove()<0) goto end_install;
|
||||
|
||||
if (MoveFileData()<0) goto end_install;
|
||||
|
||||
if (ProcessAfterDataMove()<0) goto end_install;
|
||||
|
||||
if (SetupRegistry()<0) goto end_install;
|
||||
|
||||
if (SetupFolders()<0) goto end_install;
|
||||
|
||||
|
||||
end_install:
|
||||
|
||||
CleanUpInstall();
|
||||
|
||||
// If an unrecoverable error occurred, clean up the partial installation.
|
||||
// Otherwise, exit normally.
|
||||
|
||||
if (bInstallAborted) then
|
||||
abort;
|
||||
endif;
|
||||
|
||||
endprogram
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: ShowDialogs //
|
||||
// //
|
||||
// Purpose: This function manages the display and navigation //
|
||||
// the standard dialogs that exist in a setup. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function ShowDialogs()
|
||||
NUMBER nResult;
|
||||
begin
|
||||
|
||||
Dlg_Start:
|
||||
// beginning of dialogs label
|
||||
|
||||
Dlg_SdWelcome:
|
||||
nResult = DialogShowSdWelcome();
|
||||
if (nResult = BACK) goto Dlg_Start;
|
||||
|
||||
Dlg_SdShowInfoList:
|
||||
nResult = DialogShowSdShowInfoList();
|
||||
if (nResult = BACK) goto Dlg_SdWelcome;
|
||||
|
||||
Dlg_SdAskDestPath:
|
||||
nResult = DialogShowSdAskDestPath();
|
||||
if (nResult = BACK) goto Dlg_SdShowInfoList;
|
||||
|
||||
Dlg_SdSetupType:
|
||||
nResult = DialogShowSdSetupType();
|
||||
if (nResult = BACK) goto Dlg_SdAskDestPath;
|
||||
|
||||
Dlg_SdComponentDialog2:
|
||||
if ((nResult = BACK) && (svSetupType != "Custom") && (svSetupType != "")) then
|
||||
goto Dlg_SdSetupType;
|
||||
endif;
|
||||
nResult = DialogShowSdComponentDialog2();
|
||||
if (nResult = BACK) goto Dlg_SdSetupType;
|
||||
|
||||
return 0;
|
||||
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: ProcessBeforeDataMove //
|
||||
// //
|
||||
// Purpose: This function performs any necessary operations prior to the //
|
||||
// actual data move operation. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function ProcessBeforeDataMove()
|
||||
STRING svLogFile;
|
||||
NUMBER nResult;
|
||||
begin
|
||||
|
||||
InstallationInfo( @COMPANY_NAME, @PRODUCT_NAME, @PRODUCT_VERSION, @PRODUCT_KEY );
|
||||
|
||||
svLogFile = UNINST_LOGFILE_NAME;
|
||||
|
||||
nResult = DeinstallStart( svDir, svLogFile, @UNINST_KEY, 0 );
|
||||
if (nResult < 0) then
|
||||
MessageBox( @ERROR_UNINSTSETUP, WARNING );
|
||||
endif;
|
||||
|
||||
szAppPath = TARGETDIR; // TODO : if your application .exe is in a subdir of TARGETDIR then add subdir
|
||||
|
||||
if ((bIs32BitSetup) && (bIsShellExplorer)) then
|
||||
RegDBSetItem( REGDB_APPPATH, szAppPath );
|
||||
RegDBSetItem( REGDB_APPPATH_DEFAULT, szAppPath ^ @PRODUCT_KEY );
|
||||
RegDBSetItem( REGDB_UNINSTALL_NAME, @UNINST_DISPLAY_NAME );
|
||||
endif;
|
||||
|
||||
// TODO : update any items you want to process before moving the data
|
||||
//
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: MoveFileData //
|
||||
// //
|
||||
// Purpose: This function handles the data movement for //
|
||||
// the setup. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function MoveFileData()
|
||||
NUMBER nResult, nDisk;
|
||||
begin
|
||||
|
||||
nDisk = 1;
|
||||
SetStatusWindow( 0, "" );
|
||||
Disable( DIALOGCACHE );
|
||||
Enable( STATUS );
|
||||
StatusUpdate( ON, 100 );
|
||||
nResult = ComponentMoveData( MEDIA, nDisk, 0 );
|
||||
|
||||
HandleMoveDataError( nResult );
|
||||
|
||||
Disable( STATUS );
|
||||
|
||||
return nResult;
|
||||
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: HandleMoveDataError //
|
||||
// //
|
||||
// Purpose: This function handles the error (if any) during the move data //
|
||||
// operation. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function HandleMoveDataError( nResult )
|
||||
STRING szErrMsg, svComponent , svFileGroup , svFile;
|
||||
begin
|
||||
|
||||
svComponent = "";
|
||||
svFileGroup = "";
|
||||
svFile = "";
|
||||
|
||||
switch (nResult)
|
||||
case 0:
|
||||
return 0;
|
||||
default:
|
||||
ComponentError ( MEDIA , svComponent , svFileGroup , svFile , nResult );
|
||||
szErrMsg = @ERROR_MOVEDATA + "\n\n" +
|
||||
@ERROR_COMPONENT + " " + svComponent + "\n" +
|
||||
@ERROR_FILEGROUP + " " + svFileGroup + "\n" +
|
||||
@ERROR_FILE + " " + svFile;
|
||||
SprintfBox( SEVERE, @TITLE_CAPTIONBAR, szErrMsg, nResult );
|
||||
bInstallAborted = TRUE;
|
||||
return nResult;
|
||||
endswitch;
|
||||
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: ProcessAfterDataMove //
|
||||
// //
|
||||
// Purpose: This function performs any necessary operations needed after //
|
||||
// all data has been moved. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function ProcessAfterDataMove()
|
||||
begin
|
||||
|
||||
// TODO : update self-registered files and other processes that
|
||||
// should be performed after the data has been moved.
|
||||
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: SetupRegistry //
|
||||
// //
|
||||
// Purpose: This function makes the registry entries for this setup. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupRegistry()
|
||||
NUMBER nResult;
|
||||
|
||||
begin
|
||||
|
||||
// TODO : Add all your registry entry keys here
|
||||
//
|
||||
//
|
||||
// RegDBCreateKeyEx, RegDBSetKeyValueEx....
|
||||
//
|
||||
|
||||
nResult = CreateRegistrySet( "" );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Function: SetupFolders
|
||||
//
|
||||
// Purpose: This function creates all the folders and shortcuts for the
|
||||
// setup. This includes program groups and items for Windows 3.1.
|
||||
//
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupFolders()
|
||||
NUMBER nResult;
|
||||
|
||||
begin
|
||||
|
||||
|
||||
// TODO : Add all your folder (program group) along with shortcuts (program items)
|
||||
//
|
||||
//
|
||||
// CreateProgramFolder, AddFolderIcon....
|
||||
//
|
||||
|
||||
nResult = CreateShellObjects( "" );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: CleanUpInstall //
|
||||
// //
|
||||
// Purpose: This cleans up the setup. Anything that should //
|
||||
// be released or deleted at the end of the setup should //
|
||||
// be done here. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function CleanUpInstall()
|
||||
begin
|
||||
|
||||
|
||||
if (bInstallAborted) then
|
||||
return 0;
|
||||
endif;
|
||||
|
||||
DialogShowSdFinishReboot();
|
||||
|
||||
if (BATCH_INSTALL) then // ensure locked files are properly written
|
||||
CommitSharedFiles(0);
|
||||
endif;
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: SetupInstall //
|
||||
// //
|
||||
// Purpose: This will setup the installation. Any general initialization //
|
||||
// needed for the installation should be performed here. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupInstall()
|
||||
begin
|
||||
|
||||
Enable( CORECOMPONENTHANDLING );
|
||||
|
||||
bInstallAborted = FALSE;
|
||||
|
||||
if (bIs32BitSetup) then
|
||||
svDir = "C:\\mysql"; //PROGRAMFILES ^ @COMPANY_NAME ^ @PRODUCT_NAME;
|
||||
else
|
||||
svDir = "C:\\mysql"; //PROGRAMFILES ^ @COMPANY_NAME16 ^ @PRODUCT_NAME16; // use shorten names
|
||||
endif;
|
||||
|
||||
TARGETDIR = svDir;
|
||||
|
||||
SdProductName( @PRODUCT_NAME );
|
||||
|
||||
Enable( DIALOGCACHE );
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: SetupScreen //
|
||||
// //
|
||||
// Purpose: This function establishes the screen look. This includes //
|
||||
// colors, fonts, and text to be displayed. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupScreen()
|
||||
begin
|
||||
|
||||
Enable( FULLWINDOWMODE );
|
||||
Enable( INDVFILESTATUS );
|
||||
SetTitle( @TITLE_MAIN, 24, WHITE );
|
||||
|
||||
SetTitle( @TITLE_CAPTIONBAR, 0, BACKGROUNDCAPTION ); // Caption bar text.
|
||||
|
||||
Enable( BACKGROUND );
|
||||
|
||||
Delay( 1 );
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: CheckRequirements //
|
||||
// //
|
||||
// Purpose: This function checks all minimum requirements for the //
|
||||
// application being installed. If any fail, then the user //
|
||||
// is informed and the setup is terminated. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function CheckRequirements()
|
||||
NUMBER nvDx, nvDy, nvResult;
|
||||
STRING svResult;
|
||||
|
||||
begin
|
||||
|
||||
bWinNT = FALSE;
|
||||
bIsShellExplorer = FALSE;
|
||||
|
||||
// Check screen resolution.
|
||||
GetExtents( nvDx, nvDy );
|
||||
|
||||
if (nvDy < 480) then
|
||||
MessageBox( @ERROR_VGARESOLUTION, WARNING );
|
||||
abort;
|
||||
endif;
|
||||
|
||||
// set 'setup' operation mode
|
||||
bIs32BitSetup = TRUE;
|
||||
GetSystemInfo( ISTYPE, nvResult, svResult );
|
||||
if (nvResult = 16) then
|
||||
bIs32BitSetup = FALSE; // running 16-bit setup
|
||||
return 0; // no additional information required
|
||||
endif;
|
||||
|
||||
// --- 32-bit testing after this point ---
|
||||
|
||||
// Determine the target system's operating system.
|
||||
GetSystemInfo( OS, nvResult, svResult );
|
||||
|
||||
if (nvResult = IS_WINDOWSNT) then
|
||||
// Running Windows NT.
|
||||
bWinNT = TRUE;
|
||||
|
||||
// Check to see if the shell being used is EXPLORER shell.
|
||||
if (GetSystemInfo( OSMAJOR, nvResult, svResult ) = 0) then
|
||||
if (nvResult >= 4) then
|
||||
bIsShellExplorer = TRUE;
|
||||
endif;
|
||||
endif;
|
||||
|
||||
elseif (nvResult = IS_WINDOWS95 ) then
|
||||
bIsShellExplorer = TRUE;
|
||||
|
||||
endif;
|
||||
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdWelcome //
|
||||
// //
|
||||
// Purpose: This function handles the standard welcome dialog. //
|
||||
// //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdWelcome()
|
||||
NUMBER nResult;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SdWelcome( szTitle, szMsg );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdShowInfoList //
|
||||
// //
|
||||
// Purpose: This function displays the general information list dialog. //
|
||||
// //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdShowInfoList()
|
||||
NUMBER nResult;
|
||||
LIST list;
|
||||
STRING szTitle, szMsg, szFile;
|
||||
begin
|
||||
|
||||
szFile = SUPPORTDIR ^ "infolist.txt";
|
||||
|
||||
list = ListCreate( STRINGLIST );
|
||||
ListReadFromFile( list, szFile );
|
||||
szTitle = "";
|
||||
szMsg = " ";
|
||||
nResult = SdShowInfoList( szTitle, szMsg, list );
|
||||
|
||||
ListDestroy( list );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdAskDestPath //
|
||||
// //
|
||||
// Purpose: This function asks the user for the destination directory. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdAskDestPath()
|
||||
NUMBER nResult;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SdAskDestPath( szTitle, szMsg, svDir, 0 );
|
||||
|
||||
TARGETDIR = svDir;
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdSetupType //
|
||||
// //
|
||||
// Purpose: This function displays the standard setup type dialog. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdSetupType()
|
||||
NUMBER nResult, nType;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
switch (svSetupType)
|
||||
case "Typical":
|
||||
nType = TYPICAL;
|
||||
case "Custom":
|
||||
nType = CUSTOM;
|
||||
case "Compact":
|
||||
nType = COMPACT;
|
||||
case "":
|
||||
svSetupType = "Typical";
|
||||
nType = TYPICAL;
|
||||
endswitch;
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SetupType( szTitle, szMsg, "", nType, 0 );
|
||||
|
||||
switch (nResult)
|
||||
case COMPACT:
|
||||
svSetupType = "Compact";
|
||||
case TYPICAL:
|
||||
svSetupType = "Typical";
|
||||
case CUSTOM:
|
||||
svSetupType = "Custom";
|
||||
endswitch;
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdComponentDialog2 //
|
||||
// //
|
||||
// Purpose: This function displays the custom component dialog. //
|
||||
// //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdComponentDialog2()
|
||||
NUMBER nResult;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
if ((svSetupType != "Custom") && (svSetupType != "")) then
|
||||
return 0;
|
||||
endif;
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SdComponentDialog2( szTitle, szMsg, svDir, "" );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdFinishReboot //
|
||||
// //
|
||||
// Purpose: This function will show the last dialog of the product. //
|
||||
// It will allow the user to reboot and/or show some readme text. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdFinishReboot()
|
||||
NUMBER nResult, nDefOptions;
|
||||
STRING szTitle, szMsg1, szMsg2, szOption1, szOption2;
|
||||
NUMBER bOpt1, bOpt2;
|
||||
begin
|
||||
|
||||
if (!BATCH_INSTALL) then
|
||||
bOpt1 = FALSE;
|
||||
bOpt2 = FALSE;
|
||||
szMsg1 = "";
|
||||
szMsg2 = "";
|
||||
szOption1 = "";
|
||||
szOption2 = "";
|
||||
nResult = SdFinish( szTitle, szMsg1, szMsg2, szOption1, szOption2, bOpt1, bOpt2 );
|
||||
return 0;
|
||||
endif;
|
||||
|
||||
nDefOptions = SYS_BOOTMACHINE;
|
||||
szTitle = "";
|
||||
szMsg1 = "";
|
||||
szMsg2 = "";
|
||||
nResult = SdFinishReboot( szTitle, szMsg1, nDefOptions, szMsg2, 0 );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
// --- include script file section ---
|
||||
|
||||
#include "sddialog.rul"
|
||||
|
||||
|
|
@ -1,641 +0,0 @@
|
|||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// IIIIIII SSSSSS
|
||||
// II SS InstallShield (R)
|
||||
// II SSSSSS (c) 1996-1997, InstallShield Software Corporation
|
||||
// II SS (c) 1990-1996, InstallShield Corporation
|
||||
// IIIIIII SSSSSS All Rights Reserved.
|
||||
//
|
||||
//
|
||||
// This code is generated as a starting setup template. You should
|
||||
// modify it to provide all necessary steps for your setup.
|
||||
//
|
||||
//
|
||||
// File Name: Setup.rul
|
||||
//
|
||||
// Description: InstallShield script
|
||||
//
|
||||
// Comments: This template script performs a basic setup on a
|
||||
// Windows 95 or Windows NT 4.0 platform. With minor
|
||||
// modifications, this template can be adapted to create
|
||||
// new, customized setups.
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// Include header file
|
||||
#include "sdlang.h"
|
||||
#include "sddialog.h"
|
||||
|
||||
////////////////////// string defines ////////////////////////////
|
||||
|
||||
#define UNINST_LOGFILE_NAME "Uninst.isu"
|
||||
|
||||
//////////////////// installation declarations ///////////////////
|
||||
|
||||
// ----- DLL prototypes -----
|
||||
|
||||
|
||||
// your DLL prototypes
|
||||
|
||||
|
||||
// ---- script prototypes -----
|
||||
|
||||
// generated
|
||||
prototype ShowDialogs();
|
||||
prototype MoveFileData();
|
||||
prototype HandleMoveDataError( NUMBER );
|
||||
prototype ProcessBeforeDataMove();
|
||||
prototype ProcessAfterDataMove();
|
||||
prototype SetupRegistry();
|
||||
prototype SetupFolders();
|
||||
prototype CleanUpInstall();
|
||||
prototype SetupInstall();
|
||||
prototype SetupScreen();
|
||||
prototype CheckRequirements();
|
||||
prototype DialogShowSdWelcome();
|
||||
prototype DialogShowSdShowInfoList();
|
||||
prototype DialogShowSdAskDestPath();
|
||||
prototype DialogShowSdSetupType();
|
||||
prototype DialogShowSdComponentDialog2();
|
||||
prototype DialogShowSdFinishReboot();
|
||||
|
||||
// your prototypes
|
||||
|
||||
|
||||
// ----- global variables ------
|
||||
|
||||
// generated
|
||||
BOOL bWinNT, bIsShellExplorer, bInstallAborted, bIs32BitSetup;
|
||||
STRING svDir;
|
||||
STRING svName, svCompany, svSerial;
|
||||
STRING szAppPath;
|
||||
STRING svSetupType;
|
||||
|
||||
|
||||
// your global variables
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// MAIN PROGRAM
|
||||
//
|
||||
// The setup begins here by hiding the visible setup
|
||||
// window. This is done to allow all the titles, images, etc. to
|
||||
// be established before showing the main window. The following
|
||||
// logic then performs the setup in a series of steps.
|
||||
//
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
program
|
||||
Disable( BACKGROUND );
|
||||
|
||||
CheckRequirements();
|
||||
|
||||
SetupInstall();
|
||||
|
||||
SetupScreen();
|
||||
|
||||
if (ShowDialogs()<0) goto end_install;
|
||||
|
||||
if (ProcessBeforeDataMove()<0) goto end_install;
|
||||
|
||||
if (MoveFileData()<0) goto end_install;
|
||||
|
||||
if (ProcessAfterDataMove()<0) goto end_install;
|
||||
|
||||
if (SetupRegistry()<0) goto end_install;
|
||||
|
||||
if (SetupFolders()<0) goto end_install;
|
||||
|
||||
|
||||
end_install:
|
||||
|
||||
CleanUpInstall();
|
||||
|
||||
// If an unrecoverable error occurred, clean up the partial installation.
|
||||
// Otherwise, exit normally.
|
||||
|
||||
if (bInstallAborted) then
|
||||
abort;
|
||||
endif;
|
||||
|
||||
endprogram
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: ShowDialogs //
|
||||
// //
|
||||
// Purpose: This function manages the display and navigation //
|
||||
// the standard dialogs that exist in a setup. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function ShowDialogs()
|
||||
NUMBER nResult;
|
||||
begin
|
||||
|
||||
Dlg_Start:
|
||||
// beginning of dialogs label
|
||||
|
||||
Dlg_SdWelcome:
|
||||
nResult = DialogShowSdWelcome();
|
||||
if (nResult = BACK) goto Dlg_Start;
|
||||
|
||||
Dlg_SdShowInfoList:
|
||||
nResult = DialogShowSdShowInfoList();
|
||||
if (nResult = BACK) goto Dlg_SdWelcome;
|
||||
|
||||
Dlg_SdAskDestPath:
|
||||
nResult = DialogShowSdAskDestPath();
|
||||
if (nResult = BACK) goto Dlg_SdShowInfoList;
|
||||
|
||||
Dlg_SdSetupType:
|
||||
nResult = DialogShowSdSetupType();
|
||||
if (nResult = BACK) goto Dlg_SdAskDestPath;
|
||||
|
||||
Dlg_SdComponentDialog2:
|
||||
if ((nResult = BACK) && (svSetupType != "Custom") && (svSetupType != "")) then
|
||||
goto Dlg_SdSetupType;
|
||||
endif;
|
||||
nResult = DialogShowSdComponentDialog2();
|
||||
if (nResult = BACK) goto Dlg_SdSetupType;
|
||||
|
||||
return 0;
|
||||
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: ProcessBeforeDataMove //
|
||||
// //
|
||||
// Purpose: This function performs any necessary operations prior to the //
|
||||
// actual data move operation. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function ProcessBeforeDataMove()
|
||||
STRING svLogFile;
|
||||
NUMBER nResult;
|
||||
begin
|
||||
|
||||
InstallationInfo( @COMPANY_NAME, @PRODUCT_NAME, @PRODUCT_VERSION, @PRODUCT_KEY );
|
||||
|
||||
svLogFile = UNINST_LOGFILE_NAME;
|
||||
|
||||
nResult = DeinstallStart( svDir, svLogFile, @UNINST_KEY, 0 );
|
||||
if (nResult < 0) then
|
||||
MessageBox( @ERROR_UNINSTSETUP, WARNING );
|
||||
endif;
|
||||
|
||||
szAppPath = TARGETDIR; // TODO : if your application .exe is in a subdir of TARGETDIR then add subdir
|
||||
|
||||
if ((bIs32BitSetup) && (bIsShellExplorer)) then
|
||||
// RegDBSetItem( REGDB_APPPATH, szAppPath );
|
||||
// RegDBSetItem( REGDB_APPPATH_DEFAULT, szAppPath ^ @PRODUCT_KEY );
|
||||
RegDBSetItem( REGDB_UNINSTALL_NAME, @UNINST_DISPLAY_NAME );
|
||||
endif;
|
||||
|
||||
// TODO : update any items you want to process before moving the data
|
||||
//
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: MoveFileData //
|
||||
// //
|
||||
// Purpose: This function handles the data movement for //
|
||||
// the setup. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function MoveFileData()
|
||||
NUMBER nResult, nDisk;
|
||||
begin
|
||||
|
||||
nDisk = 1;
|
||||
SetStatusWindow( 0, "" );
|
||||
Disable( DIALOGCACHE );
|
||||
Enable( STATUS );
|
||||
StatusUpdate( ON, 100 );
|
||||
nResult = ComponentMoveData( MEDIA, nDisk, 0 );
|
||||
|
||||
HandleMoveDataError( nResult );
|
||||
|
||||
Disable( STATUS );
|
||||
|
||||
return nResult;
|
||||
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: HandleMoveDataError //
|
||||
// //
|
||||
// Purpose: This function handles the error (if any) during the move data //
|
||||
// operation. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function HandleMoveDataError( nResult )
|
||||
STRING szErrMsg, svComponent , svFileGroup , svFile;
|
||||
begin
|
||||
|
||||
svComponent = "";
|
||||
svFileGroup = "";
|
||||
svFile = "";
|
||||
|
||||
switch (nResult)
|
||||
case 0:
|
||||
return 0;
|
||||
default:
|
||||
ComponentError ( MEDIA , svComponent , svFileGroup , svFile , nResult );
|
||||
szErrMsg = @ERROR_MOVEDATA + "\n\n" +
|
||||
@ERROR_COMPONENT + " " + svComponent + "\n" +
|
||||
@ERROR_FILEGROUP + " " + svFileGroup + "\n" +
|
||||
@ERROR_FILE + " " + svFile;
|
||||
SprintfBox( SEVERE, @TITLE_CAPTIONBAR, szErrMsg, nResult );
|
||||
bInstallAborted = TRUE;
|
||||
return nResult;
|
||||
endswitch;
|
||||
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: ProcessAfterDataMove //
|
||||
// //
|
||||
// Purpose: This function performs any necessary operations needed after //
|
||||
// all data has been moved. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function ProcessAfterDataMove()
|
||||
begin
|
||||
|
||||
// TODO : update self-registered files and other processes that
|
||||
// should be performed after the data has been moved.
|
||||
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: SetupRegistry //
|
||||
// //
|
||||
// Purpose: This function makes the registry entries for this setup. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupRegistry()
|
||||
NUMBER nResult;
|
||||
|
||||
begin
|
||||
|
||||
// TODO : Add all your registry entry keys here
|
||||
//
|
||||
//
|
||||
// RegDBCreateKeyEx, RegDBSetKeyValueEx....
|
||||
//
|
||||
|
||||
nResult = CreateRegistrySet( "" );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Function: SetupFolders
|
||||
//
|
||||
// Purpose: This function creates all the folders and shortcuts for the
|
||||
// setup. This includes program groups and items for Windows 3.1.
|
||||
//
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupFolders()
|
||||
NUMBER nResult;
|
||||
|
||||
begin
|
||||
|
||||
|
||||
// TODO : Add all your folder (program group) along with shortcuts (program items)
|
||||
//
|
||||
//
|
||||
// CreateProgramFolder, AddFolderIcon....
|
||||
//
|
||||
|
||||
nResult = CreateShellObjects( "" );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: CleanUpInstall //
|
||||
// //
|
||||
// Purpose: This cleans up the setup. Anything that should //
|
||||
// be released or deleted at the end of the setup should //
|
||||
// be done here. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function CleanUpInstall()
|
||||
begin
|
||||
|
||||
|
||||
if (bInstallAborted) then
|
||||
return 0;
|
||||
endif;
|
||||
|
||||
DialogShowSdFinishReboot();
|
||||
|
||||
if (BATCH_INSTALL) then // ensure locked files are properly written
|
||||
CommitSharedFiles(0);
|
||||
endif;
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: SetupInstall //
|
||||
// //
|
||||
// Purpose: This will setup the installation. Any general initialization //
|
||||
// needed for the installation should be performed here. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupInstall()
|
||||
begin
|
||||
|
||||
Enable( CORECOMPONENTHANDLING );
|
||||
|
||||
bInstallAborted = FALSE;
|
||||
|
||||
if (bIs32BitSetup) then
|
||||
svDir = "C:\\mysql"; //PROGRAMFILES ^ @COMPANY_NAME ^ @PRODUCT_NAME;
|
||||
else
|
||||
svDir = "C:\\mysql"; //PROGRAMFILES ^ @COMPANY_NAME16 ^ @PRODUCT_NAME16; // use shorten names
|
||||
endif;
|
||||
|
||||
TARGETDIR = svDir;
|
||||
|
||||
SdProductName( @PRODUCT_NAME );
|
||||
|
||||
Enable( DIALOGCACHE );
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: SetupScreen //
|
||||
// //
|
||||
// Purpose: This function establishes the screen look. This includes //
|
||||
// colors, fonts, and text to be displayed. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupScreen()
|
||||
begin
|
||||
|
||||
Enable( FULLWINDOWMODE );
|
||||
Enable( INDVFILESTATUS );
|
||||
SetTitle( @TITLE_MAIN, 24, WHITE );
|
||||
|
||||
SetTitle( @TITLE_CAPTIONBAR, 0, BACKGROUNDCAPTION ); // Caption bar text.
|
||||
|
||||
Enable( BACKGROUND );
|
||||
|
||||
Delay( 1 );
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: CheckRequirements //
|
||||
// //
|
||||
// Purpose: This function checks all minimum requirements for the //
|
||||
// application being installed. If any fail, then the user //
|
||||
// is informed and the setup is terminated. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function CheckRequirements()
|
||||
NUMBER nvDx, nvDy, nvResult;
|
||||
STRING svResult;
|
||||
|
||||
begin
|
||||
|
||||
bWinNT = FALSE;
|
||||
bIsShellExplorer = FALSE;
|
||||
|
||||
// Check screen resolution.
|
||||
GetExtents( nvDx, nvDy );
|
||||
|
||||
if (nvDy < 480) then
|
||||
MessageBox( @ERROR_VGARESOLUTION, WARNING );
|
||||
abort;
|
||||
endif;
|
||||
|
||||
// set 'setup' operation mode
|
||||
bIs32BitSetup = TRUE;
|
||||
GetSystemInfo( ISTYPE, nvResult, svResult );
|
||||
if (nvResult = 16) then
|
||||
bIs32BitSetup = FALSE; // running 16-bit setup
|
||||
return 0; // no additional information required
|
||||
endif;
|
||||
|
||||
// --- 32-bit testing after this point ---
|
||||
|
||||
// Determine the target system's operating system.
|
||||
GetSystemInfo( OS, nvResult, svResult );
|
||||
|
||||
if (nvResult = IS_WINDOWSNT) then
|
||||
// Running Windows NT.
|
||||
bWinNT = TRUE;
|
||||
|
||||
// Check to see if the shell being used is EXPLORER shell.
|
||||
if (GetSystemInfo( OSMAJOR, nvResult, svResult ) = 0) then
|
||||
if (nvResult >= 4) then
|
||||
bIsShellExplorer = TRUE;
|
||||
endif;
|
||||
endif;
|
||||
|
||||
elseif (nvResult = IS_WINDOWS95 ) then
|
||||
bIsShellExplorer = TRUE;
|
||||
|
||||
endif;
|
||||
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdWelcome //
|
||||
// //
|
||||
// Purpose: This function handles the standard welcome dialog. //
|
||||
// //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdWelcome()
|
||||
NUMBER nResult;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SdWelcome( szTitle, szMsg );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdShowInfoList //
|
||||
// //
|
||||
// Purpose: This function displays the general information list dialog. //
|
||||
// //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdShowInfoList()
|
||||
NUMBER nResult;
|
||||
LIST list;
|
||||
STRING szTitle, szMsg, szFile;
|
||||
begin
|
||||
|
||||
szFile = SUPPORTDIR ^ "infolist.txt";
|
||||
|
||||
list = ListCreate( STRINGLIST );
|
||||
ListReadFromFile( list, szFile );
|
||||
szTitle = "";
|
||||
szMsg = " ";
|
||||
nResult = SdShowInfoList( szTitle, szMsg, list );
|
||||
|
||||
ListDestroy( list );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdAskDestPath //
|
||||
// //
|
||||
// Purpose: This function asks the user for the destination directory. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdAskDestPath()
|
||||
NUMBER nResult;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SdAskDestPath( szTitle, szMsg, svDir, 0 );
|
||||
|
||||
TARGETDIR = svDir;
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdSetupType //
|
||||
// //
|
||||
// Purpose: This function displays the standard setup type dialog. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdSetupType()
|
||||
NUMBER nResult, nType;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
switch (svSetupType)
|
||||
case "Typical":
|
||||
nType = TYPICAL;
|
||||
case "Custom":
|
||||
nType = CUSTOM;
|
||||
case "Compact":
|
||||
nType = COMPACT;
|
||||
case "":
|
||||
svSetupType = "Typical";
|
||||
nType = TYPICAL;
|
||||
endswitch;
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SetupType( szTitle, szMsg, "", nType, 0 );
|
||||
|
||||
switch (nResult)
|
||||
case COMPACT:
|
||||
svSetupType = "Compact";
|
||||
case TYPICAL:
|
||||
svSetupType = "Typical";
|
||||
case CUSTOM:
|
||||
svSetupType = "Custom";
|
||||
endswitch;
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdComponentDialog2 //
|
||||
// //
|
||||
// Purpose: This function displays the custom component dialog. //
|
||||
// //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdComponentDialog2()
|
||||
NUMBER nResult;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
if ((svSetupType != "Custom") && (svSetupType != "")) then
|
||||
return 0;
|
||||
endif;
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SdComponentDialog2( szTitle, szMsg, svDir, "" );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdFinishReboot //
|
||||
// //
|
||||
// Purpose: This function will show the last dialog of the product. //
|
||||
// It will allow the user to reboot and/or show some readme text. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdFinishReboot()
|
||||
NUMBER nResult, nDefOptions;
|
||||
STRING szTitle, szMsg1, szMsg2, szOption1, szOption2;
|
||||
NUMBER bOpt1, bOpt2;
|
||||
begin
|
||||
|
||||
if (!BATCH_INSTALL) then
|
||||
bOpt1 = FALSE;
|
||||
bOpt2 = FALSE;
|
||||
szMsg1 = "";
|
||||
szMsg2 = "";
|
||||
szOption1 = "";
|
||||
szOption2 = "";
|
||||
nResult = SdFinish( szTitle, szMsg1, szMsg2, szOption1, szOption2, bOpt1, bOpt2 );
|
||||
return 0;
|
||||
endif;
|
||||
|
||||
nDefOptions = SYS_BOOTMACHINE;
|
||||
szTitle = "";
|
||||
szMsg1 = "";
|
||||
szMsg2 = "";
|
||||
nResult = SdFinishReboot( szTitle, szMsg1, nDefOptions, szMsg2, 0 );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
// --- include script file section ---
|
||||
|
||||
#include "sddialog.rul"
|
||||
|
||||
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
This is a release of MySQL Pro @VERSION@ for Win32.
|
||||
|
||||
NOTE: If you install MySQL in a folder other than
|
||||
C:\MYSQL or you intend to start MySQL on NT/Win2000
|
||||
as a service, you must create a file named C:\MY.CNF
|
||||
or \Windows\my.ini or \winnt\my.ini with the following
|
||||
information::
|
||||
|
||||
[mysqld]
|
||||
basedir=E:/installation-path/
|
||||
datadir=E:/data-path/
|
||||
|
||||
After your have installed MySQL, the installation
|
||||
directory will contain 4 files named 'my-small.cnf,
|
||||
my-medium.cnf, my-large.cnf, my-huge.cnf'.
|
||||
You can use this as a starting point for your own
|
||||
C:\my.cnf file.
|
||||
|
||||
If you have any problems, you can mail them to
|
||||
win32@lists.mysql.com after you have consulted the
|
||||
MySQL manual and the MySQL mailing list archive
|
||||
(http://www.mysql.com/documentation/index.html)
|
||||
|
||||
On behalf of the MySQL AB gang,
|
||||
Michael Widenius
|
Binary file not shown.
Before Width: | Height: | Size: 15 KiB |
|
@ -1,12 +0,0 @@
|
|||
[Data]
|
||||
Folder3=<FOLDER_STARTUP>
|
||||
Group0=Main
|
||||
Group1=Startup
|
||||
Folder0=<FOLDER_DESKTOP>
|
||||
Folder1=<FOLDER_STARTMENU>
|
||||
Folder2=<FOLDER_PROGRAMS>
|
||||
|
||||
[Info]
|
||||
Type=ShellObject
|
||||
Version=1.00.000
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
[Data]
|
||||
TITLE_MAIN=MySQL Pro Servers and Clients @VERSION@
|
||||
COMPANY_NAME=MySQL AB
|
||||
ERROR_COMPONENT=Component:
|
||||
COMPANY_NAME16=Company
|
||||
PRODUCT_VERSION=MySQL Pro Servers and Clients @VERSION@
|
||||
ERROR_MOVEDATA=An error occurred during the move data process: %d
|
||||
ERROR_FILEGROUP=File Group:
|
||||
UNINST_KEY=MySQL Pro Servers and Clients @VERSION@
|
||||
TITLE_CAPTIONBAR=MySQL Pro Servers and Clients @VERSION@
|
||||
PRODUCT_NAME16=Product
|
||||
ERROR_VGARESOLUTION=This program requires VGA or better resolution.
|
||||
ERROR_FILE=File:
|
||||
UNINST_DISPLAY_NAME=MySQL Pro Servers and Clients @VERSION@
|
||||
PRODUCT_KEY=yourapp.Exe
|
||||
PRODUCT_NAME=MySQL Pro Servers and Clients @VERSION@
|
||||
ERROR_UNINSTSETUP=unInstaller setup failed to initialize. You may not be able to uninstall this product.
|
||||
|
||||
[General]
|
||||
Language=0009
|
||||
Type=STRINGTABLESPECIFIC
|
||||
Version=1.00.000
|
||||
|
|
@ -1,74 +0,0 @@
|
|||
[TITLE_MAIN]
|
||||
Comment=
|
||||
|
||||
[COMPANY_NAME]
|
||||
Comment=
|
||||
|
||||
[ERROR_COMPONENT]
|
||||
Comment=
|
||||
|
||||
[COMPANY_NAME16]
|
||||
Comment=
|
||||
|
||||
[PRODUCT_VERSION]
|
||||
Comment=
|
||||
|
||||
[ERROR_MOVEDATA]
|
||||
Comment=
|
||||
|
||||
[ERROR_FILEGROUP]
|
||||
Comment=
|
||||
|
||||
[Language]
|
||||
Lang0=0009
|
||||
CurrentLang=0
|
||||
|
||||
[UNINST_KEY]
|
||||
Comment=
|
||||
|
||||
[TITLE_CAPTIONBAR]
|
||||
Comment=
|
||||
|
||||
[Data]
|
||||
Entry0=ERROR_VGARESOLUTION
|
||||
Entry1=TITLE_MAIN
|
||||
Entry2=TITLE_CAPTIONBAR
|
||||
Entry3=UNINST_KEY
|
||||
Entry4=UNINST_DISPLAY_NAME
|
||||
Entry5=COMPANY_NAME
|
||||
Entry6=PRODUCT_NAME
|
||||
Entry7=PRODUCT_VERSION
|
||||
Entry8=PRODUCT_KEY
|
||||
Entry9=ERROR_MOVEDATA
|
||||
Entry10=ERROR_UNINSTSETUP
|
||||
Entry11=COMPANY_NAME16
|
||||
Entry12=PRODUCT_NAME16
|
||||
Entry13=ERROR_COMPONENT
|
||||
Entry14=ERROR_FILEGROUP
|
||||
Entry15=ERROR_FILE
|
||||
|
||||
[PRODUCT_NAME16]
|
||||
Comment=
|
||||
|
||||
[ERROR_VGARESOLUTION]
|
||||
Comment=
|
||||
|
||||
[ERROR_FILE]
|
||||
Comment=
|
||||
|
||||
[General]
|
||||
Type=STRINGTABLE
|
||||
Version=1.00.000
|
||||
|
||||
[UNINST_DISPLAY_NAME]
|
||||
Comment=
|
||||
|
||||
[PRODUCT_KEY]
|
||||
Comment=
|
||||
|
||||
[PRODUCT_NAME]
|
||||
Comment=
|
||||
|
||||
[ERROR_UNINSTSETUP]
|
||||
Comment=
|
||||
|
|
@ -1,56 +0,0 @@
|
|||
[<HKUS>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<HKCR>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<PROGRAMFILES>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<WINSYSDIR>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<COMMONFILES>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<WINDIR>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[Data]
|
||||
Key0=<PROGRAMFILES>
|
||||
Key1=<COMMONFILES>
|
||||
Key2=<WINDIR>
|
||||
Key3=<WINSYSDIR>
|
||||
Key4=<HKLM>
|
||||
Key5=<HKCU>
|
||||
Key6=<HKCC>
|
||||
Key7=<HKDD>
|
||||
Key8=<HKUS>
|
||||
Key9=<HKCR>
|
||||
|
||||
[General]
|
||||
Type=TEXTSUB
|
||||
Version=1.00.000
|
||||
|
||||
[<HKLM>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<HKCU>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<HKCC>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<HKDD>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
|
@ -1,76 +0,0 @@
|
|||
[<SRCDIR>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<HKUS>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<HKCR>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<PROGRAMFILES>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<TARGETDIR>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<WINSYSDIR>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<COMMONFILES>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<WINDIR>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[Data]
|
||||
Key0=<PROGRAMFILES>
|
||||
Key1=<COMMONFILES>
|
||||
Key2=<WINDIR>
|
||||
Key3=<WINSYSDIR>
|
||||
Key4=<TARGETDIR>
|
||||
Key5=<SUPPORTDIR>
|
||||
Key10=<HKDD>
|
||||
Key6=<SRCDIR>
|
||||
Key11=<HKUS>
|
||||
Key7=<HKLM>
|
||||
Key12=<HKCR>
|
||||
Key8=<HKCU>
|
||||
Key13=<SHELL_OBJECT_FOLDER>
|
||||
Key9=<HKCC>
|
||||
|
||||
[<SUPPORTDIR>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<SHELL_OBJECT_FOLDER>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[General]
|
||||
Type=TEXTSUB
|
||||
Version=1.00.000
|
||||
|
||||
[<HKLM>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<HKCU>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<HKCC>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
||||
[<HKDD>]
|
||||
Value=
|
||||
KeyType=4
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,640 +0,0 @@
|
|||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// IIIIIII SSSSSS
|
||||
// II SS InstallShield (R)
|
||||
// II SSSSSS (c) 1996-1997, InstallShield Software Corporation
|
||||
// II SS (c) 1990-1996, InstallShield Corporation
|
||||
// IIIIIII SSSSSS All Rights Reserved.
|
||||
//
|
||||
//
|
||||
// This code is generated as a starting setup template. You should
|
||||
// modify it to provide all necessary steps for your setup.
|
||||
//
|
||||
//
|
||||
// File Name: Setup.rul
|
||||
//
|
||||
// Description: InstallShield script
|
||||
//
|
||||
// Comments: This template script performs a basic setup on a
|
||||
// Windows 95 or Windows NT 4.0 platform. With minor
|
||||
// modifications, this template can be adapted to create
|
||||
// new, customized setups.
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// Include header file
|
||||
#include "sdlang.h"
|
||||
#include "sddialog.h"
|
||||
|
||||
////////////////////// string defines ////////////////////////////
|
||||
|
||||
#define UNINST_LOGFILE_NAME "Uninst.isu"
|
||||
|
||||
//////////////////// installation declarations ///////////////////
|
||||
|
||||
// ----- DLL prototypes -----
|
||||
|
||||
|
||||
// your DLL prototypes
|
||||
|
||||
|
||||
// ---- script prototypes -----
|
||||
|
||||
// generated
|
||||
prototype ShowDialogs();
|
||||
prototype MoveFileData();
|
||||
prototype HandleMoveDataError( NUMBER );
|
||||
prototype ProcessBeforeDataMove();
|
||||
prototype ProcessAfterDataMove();
|
||||
prototype SetupRegistry();
|
||||
prototype SetupFolders();
|
||||
prototype CleanUpInstall();
|
||||
prototype SetupInstall();
|
||||
prototype SetupScreen();
|
||||
prototype CheckRequirements();
|
||||
prototype DialogShowSdWelcome();
|
||||
prototype DialogShowSdShowInfoList();
|
||||
prototype DialogShowSdAskDestPath();
|
||||
prototype DialogShowSdSetupType();
|
||||
prototype DialogShowSdComponentDialog2();
|
||||
prototype DialogShowSdFinishReboot();
|
||||
|
||||
// your prototypes
|
||||
|
||||
|
||||
// ----- global variables ------
|
||||
|
||||
// generated
|
||||
BOOL bWinNT, bIsShellExplorer, bInstallAborted, bIs32BitSetup;
|
||||
STRING svDir;
|
||||
STRING svName, svCompany, svSerial;
|
||||
STRING szAppPath;
|
||||
STRING svSetupType;
|
||||
|
||||
|
||||
// your global variables
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// MAIN PROGRAM
|
||||
//
|
||||
// The setup begins here by hiding the visible setup
|
||||
// window. This is done to allow all the titles, images, etc. to
|
||||
// be established before showing the main window. The following
|
||||
// logic then performs the setup in a series of steps.
|
||||
//
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
program
|
||||
Disable( BACKGROUND );
|
||||
|
||||
CheckRequirements();
|
||||
|
||||
SetupInstall();
|
||||
|
||||
SetupScreen();
|
||||
|
||||
if (ShowDialogs()<0) goto end_install;
|
||||
|
||||
if (ProcessBeforeDataMove()<0) goto end_install;
|
||||
|
||||
if (MoveFileData()<0) goto end_install;
|
||||
|
||||
if (ProcessAfterDataMove()<0) goto end_install;
|
||||
|
||||
if (SetupRegistry()<0) goto end_install;
|
||||
|
||||
if (SetupFolders()<0) goto end_install;
|
||||
|
||||
|
||||
end_install:
|
||||
|
||||
CleanUpInstall();
|
||||
|
||||
// If an unrecoverable error occurred, clean up the partial installation.
|
||||
// Otherwise, exit normally.
|
||||
|
||||
if (bInstallAborted) then
|
||||
abort;
|
||||
endif;
|
||||
|
||||
endprogram
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: ShowDialogs //
|
||||
// //
|
||||
// Purpose: This function manages the display and navigation //
|
||||
// the standard dialogs that exist in a setup. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function ShowDialogs()
|
||||
NUMBER nResult;
|
||||
begin
|
||||
|
||||
Dlg_Start:
|
||||
// beginning of dialogs label
|
||||
|
||||
Dlg_SdWelcome:
|
||||
nResult = DialogShowSdWelcome();
|
||||
if (nResult = BACK) goto Dlg_Start;
|
||||
|
||||
Dlg_SdShowInfoList:
|
||||
nResult = DialogShowSdShowInfoList();
|
||||
if (nResult = BACK) goto Dlg_SdWelcome;
|
||||
|
||||
Dlg_SdAskDestPath:
|
||||
nResult = DialogShowSdAskDestPath();
|
||||
if (nResult = BACK) goto Dlg_SdShowInfoList;
|
||||
|
||||
Dlg_SdSetupType:
|
||||
nResult = DialogShowSdSetupType();
|
||||
if (nResult = BACK) goto Dlg_SdAskDestPath;
|
||||
|
||||
Dlg_SdComponentDialog2:
|
||||
if ((nResult = BACK) && (svSetupType != "Custom") && (svSetupType != "")) then
|
||||
goto Dlg_SdSetupType;
|
||||
endif;
|
||||
nResult = DialogShowSdComponentDialog2();
|
||||
if (nResult = BACK) goto Dlg_SdSetupType;
|
||||
|
||||
return 0;
|
||||
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: ProcessBeforeDataMove //
|
||||
// //
|
||||
// Purpose: This function performs any necessary operations prior to the //
|
||||
// actual data move operation. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function ProcessBeforeDataMove()
|
||||
STRING svLogFile;
|
||||
NUMBER nResult;
|
||||
begin
|
||||
|
||||
InstallationInfo( @COMPANY_NAME, @PRODUCT_NAME, @PRODUCT_VERSION, @PRODUCT_KEY );
|
||||
|
||||
svLogFile = UNINST_LOGFILE_NAME;
|
||||
|
||||
nResult = DeinstallStart( svDir, svLogFile, @UNINST_KEY, 0 );
|
||||
if (nResult < 0) then
|
||||
MessageBox( @ERROR_UNINSTSETUP, WARNING );
|
||||
endif;
|
||||
|
||||
szAppPath = TARGETDIR; // TODO : if your application .exe is in a subdir of TARGETDIR then add subdir
|
||||
|
||||
if ((bIs32BitSetup) && (bIsShellExplorer)) then
|
||||
RegDBSetItem( REGDB_APPPATH, szAppPath );
|
||||
RegDBSetItem( REGDB_APPPATH_DEFAULT, szAppPath ^ @PRODUCT_KEY );
|
||||
RegDBSetItem( REGDB_UNINSTALL_NAME, @UNINST_DISPLAY_NAME );
|
||||
endif;
|
||||
|
||||
// TODO : update any items you want to process before moving the data
|
||||
//
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: MoveFileData //
|
||||
// //
|
||||
// Purpose: This function handles the data movement for //
|
||||
// the setup. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function MoveFileData()
|
||||
NUMBER nResult, nDisk;
|
||||
begin
|
||||
|
||||
nDisk = 1;
|
||||
SetStatusWindow( 0, "" );
|
||||
Disable( DIALOGCACHE );
|
||||
Enable( STATUS );
|
||||
StatusUpdate( ON, 100 );
|
||||
nResult = ComponentMoveData( MEDIA, nDisk, 0 );
|
||||
|
||||
HandleMoveDataError( nResult );
|
||||
|
||||
Disable( STATUS );
|
||||
|
||||
return nResult;
|
||||
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: HandleMoveDataError //
|
||||
// //
|
||||
// Purpose: This function handles the error (if any) during the move data //
|
||||
// operation. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function HandleMoveDataError( nResult )
|
||||
STRING szErrMsg, svComponent , svFileGroup , svFile;
|
||||
begin
|
||||
|
||||
svComponent = "";
|
||||
svFileGroup = "";
|
||||
svFile = "";
|
||||
|
||||
switch (nResult)
|
||||
case 0:
|
||||
return 0;
|
||||
default:
|
||||
ComponentError ( MEDIA , svComponent , svFileGroup , svFile , nResult );
|
||||
szErrMsg = @ERROR_MOVEDATA + "\n\n" +
|
||||
@ERROR_COMPONENT + " " + svComponent + "\n" +
|
||||
@ERROR_FILEGROUP + " " + svFileGroup + "\n" +
|
||||
@ERROR_FILE + " " + svFile;
|
||||
SprintfBox( SEVERE, @TITLE_CAPTIONBAR, szErrMsg, nResult );
|
||||
bInstallAborted = TRUE;
|
||||
return nResult;
|
||||
endswitch;
|
||||
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: ProcessAfterDataMove //
|
||||
// //
|
||||
// Purpose: This function performs any necessary operations needed after //
|
||||
// all data has been moved. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function ProcessAfterDataMove()
|
||||
begin
|
||||
|
||||
// TODO : update self-registered files and other processes that
|
||||
// should be performed after the data has been moved.
|
||||
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: SetupRegistry //
|
||||
// //
|
||||
// Purpose: This function makes the registry entries for this setup. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupRegistry()
|
||||
NUMBER nResult;
|
||||
|
||||
begin
|
||||
|
||||
// TODO : Add all your registry entry keys here
|
||||
//
|
||||
//
|
||||
// RegDBCreateKeyEx, RegDBSetKeyValueEx....
|
||||
//
|
||||
|
||||
nResult = CreateRegistrySet( "" );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Function: SetupFolders
|
||||
//
|
||||
// Purpose: This function creates all the folders and shortcuts for the
|
||||
// setup. This includes program groups and items for Windows 3.1.
|
||||
//
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupFolders()
|
||||
NUMBER nResult;
|
||||
|
||||
begin
|
||||
|
||||
|
||||
// TODO : Add all your folder (program group) along with shortcuts (program items)
|
||||
//
|
||||
//
|
||||
// CreateProgramFolder, AddFolderIcon....
|
||||
//
|
||||
|
||||
nResult = CreateShellObjects( "" );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: CleanUpInstall //
|
||||
// //
|
||||
// Purpose: This cleans up the setup. Anything that should //
|
||||
// be released or deleted at the end of the setup should //
|
||||
// be done here. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function CleanUpInstall()
|
||||
begin
|
||||
|
||||
|
||||
if (bInstallAborted) then
|
||||
return 0;
|
||||
endif;
|
||||
|
||||
DialogShowSdFinishReboot();
|
||||
|
||||
if (BATCH_INSTALL) then // ensure locked files are properly written
|
||||
CommitSharedFiles(0);
|
||||
endif;
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: SetupInstall //
|
||||
// //
|
||||
// Purpose: This will setup the installation. Any general initialization //
|
||||
// needed for the installation should be performed here. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupInstall()
|
||||
begin
|
||||
|
||||
Enable( CORECOMPONENTHANDLING );
|
||||
|
||||
bInstallAborted = FALSE;
|
||||
|
||||
if (bIs32BitSetup) then
|
||||
svDir = "C:\\mysql"; //PROGRAMFILES ^ @COMPANY_NAME ^ @PRODUCT_NAME;
|
||||
else
|
||||
svDir = "C:\\mysql"; //PROGRAMFILES ^ @COMPANY_NAME16 ^ @PRODUCT_NAME16; // use shorten names
|
||||
endif;
|
||||
|
||||
TARGETDIR = svDir;
|
||||
|
||||
SdProductName( @PRODUCT_NAME );
|
||||
|
||||
Enable( DIALOGCACHE );
|
||||
|
||||
return 0;
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: SetupScreen //
|
||||
// //
|
||||
// Purpose: This function establishes the screen look. This includes //
|
||||
// colors, fonts, and text to be displayed. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function SetupScreen()
|
||||
begin
|
||||
|
||||
Enable( FULLWINDOWMODE );
|
||||
Enable( INDVFILESTATUS );
|
||||
SetTitle( @TITLE_MAIN, 24, WHITE );
|
||||
|
||||
SetTitle( @TITLE_CAPTIONBAR, 0, BACKGROUNDCAPTION ); // Caption bar text.
|
||||
|
||||
Enable( BACKGROUND );
|
||||
|
||||
Delay( 1 );
|
||||
end;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: CheckRequirements //
|
||||
// //
|
||||
// Purpose: This function checks all minimum requirements for the //
|
||||
// application being installed. If any fail, then the user //
|
||||
// is informed and the setup is terminated. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function CheckRequirements()
|
||||
NUMBER nvDx, nvDy, nvResult;
|
||||
STRING svResult;
|
||||
|
||||
begin
|
||||
|
||||
bWinNT = FALSE;
|
||||
bIsShellExplorer = FALSE;
|
||||
|
||||
// Check screen resolution.
|
||||
GetExtents( nvDx, nvDy );
|
||||
|
||||
if (nvDy < 480) then
|
||||
MessageBox( @ERROR_VGARESOLUTION, WARNING );
|
||||
abort;
|
||||
endif;
|
||||
|
||||
// set 'setup' operation mode
|
||||
bIs32BitSetup = TRUE;
|
||||
GetSystemInfo( ISTYPE, nvResult, svResult );
|
||||
if (nvResult = 16) then
|
||||
bIs32BitSetup = FALSE; // running 16-bit setup
|
||||
return 0; // no additional information required
|
||||
endif;
|
||||
|
||||
// --- 32-bit testing after this point ---
|
||||
|
||||
// Determine the target system's operating system.
|
||||
GetSystemInfo( OS, nvResult, svResult );
|
||||
|
||||
if (nvResult = IS_WINDOWSNT) then
|
||||
// Running Windows NT.
|
||||
bWinNT = TRUE;
|
||||
|
||||
// Check to see if the shell being used is EXPLORER shell.
|
||||
if (GetSystemInfo( OSMAJOR, nvResult, svResult ) = 0) then
|
||||
if (nvResult >= 4) then
|
||||
bIsShellExplorer = TRUE;
|
||||
endif;
|
||||
endif;
|
||||
|
||||
elseif (nvResult = IS_WINDOWS95 ) then
|
||||
bIsShellExplorer = TRUE;
|
||||
|
||||
endif;
|
||||
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdWelcome //
|
||||
// //
|
||||
// Purpose: This function handles the standard welcome dialog. //
|
||||
// //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdWelcome()
|
||||
NUMBER nResult;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SdWelcome( szTitle, szMsg );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdShowInfoList //
|
||||
// //
|
||||
// Purpose: This function displays the general information list dialog. //
|
||||
// //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdShowInfoList()
|
||||
NUMBER nResult;
|
||||
LIST list;
|
||||
STRING szTitle, szMsg, szFile;
|
||||
begin
|
||||
|
||||
szFile = SUPPORTDIR ^ "infolist.txt";
|
||||
|
||||
list = ListCreate( STRINGLIST );
|
||||
ListReadFromFile( list, szFile );
|
||||
szTitle = "";
|
||||
szMsg = " ";
|
||||
nResult = SdShowInfoList( szTitle, szMsg, list );
|
||||
|
||||
ListDestroy( list );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdAskDestPath //
|
||||
// //
|
||||
// Purpose: This function asks the user for the destination directory. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdAskDestPath()
|
||||
NUMBER nResult;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SdAskDestPath( szTitle, szMsg, svDir, 0 );
|
||||
|
||||
TARGETDIR = svDir;
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdSetupType //
|
||||
// //
|
||||
// Purpose: This function displays the standard setup type dialog. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdSetupType()
|
||||
NUMBER nResult, nType;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
switch (svSetupType)
|
||||
case "Typical":
|
||||
nType = TYPICAL;
|
||||
case "Custom":
|
||||
nType = CUSTOM;
|
||||
case "Compact":
|
||||
nType = COMPACT;
|
||||
case "":
|
||||
svSetupType = "Typical";
|
||||
nType = TYPICAL;
|
||||
endswitch;
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SetupType( szTitle, szMsg, "", nType, 0 );
|
||||
|
||||
switch (nResult)
|
||||
case COMPACT:
|
||||
svSetupType = "Compact";
|
||||
case TYPICAL:
|
||||
svSetupType = "Typical";
|
||||
case CUSTOM:
|
||||
svSetupType = "Custom";
|
||||
endswitch;
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdComponentDialog2 //
|
||||
// //
|
||||
// Purpose: This function displays the custom component dialog. //
|
||||
// //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdComponentDialog2()
|
||||
NUMBER nResult;
|
||||
STRING szTitle, szMsg;
|
||||
begin
|
||||
|
||||
if ((svSetupType != "Custom") && (svSetupType != "")) then
|
||||
return 0;
|
||||
endif;
|
||||
|
||||
szTitle = "";
|
||||
szMsg = "";
|
||||
nResult = SdComponentDialog2( szTitle, szMsg, svDir, "" );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Function: DialogShowSdFinishReboot //
|
||||
// //
|
||||
// Purpose: This function will show the last dialog of the product. //
|
||||
// It will allow the user to reboot and/or show some readme text. //
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
function DialogShowSdFinishReboot()
|
||||
NUMBER nResult, nDefOptions;
|
||||
STRING szTitle, szMsg1, szMsg2, szOption1, szOption2;
|
||||
NUMBER bOpt1, bOpt2;
|
||||
begin
|
||||
|
||||
if (!BATCH_INSTALL) then
|
||||
bOpt1 = FALSE;
|
||||
bOpt2 = FALSE;
|
||||
szMsg1 = "";
|
||||
szMsg2 = "";
|
||||
szOption1 = "";
|
||||
szOption2 = "";
|
||||
nResult = SdFinish( szTitle, szMsg1, szMsg2, szOption1, szOption2, bOpt1, bOpt2 );
|
||||
return 0;
|
||||
endif;
|
||||
|
||||
nDefOptions = SYS_BOOTMACHINE;
|
||||
szTitle = "";
|
||||
szMsg1 = "";
|
||||
szMsg2 = "";
|
||||
nResult = SdFinishReboot( szTitle, szMsg1, nDefOptions, szMsg2, 0 );
|
||||
|
||||
return nResult;
|
||||
end;
|
||||
|
||||
// --- include script file section ---
|
||||
|
||||
#include "sddialog.rul"
|
||||
|
||||
|
|
@ -19,6 +19,7 @@ CFG=mysqlclient - Win32 Debug
|
|||
!MESSAGE
|
||||
!MESSAGE "mysqlclient - Win32 Release" (based on "Win32 (x86) Static Library")
|
||||
!MESSAGE "mysqlclient - Win32 Debug" (based on "Win32 (x86) Static Library")
|
||||
!MESSAGE "mysqlclient - Win32 authent" (based on "Win32 (x86) Static Library")
|
||||
!MESSAGE
|
||||
|
||||
# Begin Project
|
||||
|
@ -41,7 +42,7 @@ RSC=rc.exe
|
|||
# PROP Intermediate_Dir "release"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||
# ADD CPP /nologo /G6 /MT /W3 /O2 /I "../include" /I "../" /D "DBUG_OFF" /D "_WINDOWS" /D "USE_TLS" /D "NDEBUG" /FD /c
|
||||
# ADD CPP /nologo /G6 /MT /W3 /O2 /I "../include" /I "../" /D "DBUG_OFF" /D "_WINDOWS" /D "USE_TLS" /D "MYSQL_CLIENT" /D "NDEBUG" /FD /c
|
||||
# SUBTRACT CPP /YX
|
||||
# ADD BASE RSC /l 0x409
|
||||
# ADD RSC /l 0x409
|
||||
|
@ -65,7 +66,7 @@ LIB32=xilink6.exe -lib
|
|||
# PROP Intermediate_Dir "debug"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||
# ADD CPP /nologo /G6 /MTd /W3 /Z7 /Od /I "../include" /I "../" /D "_DEBUG" /D "SAFEMALLOC" /D "SAFE_MUTEX" /D "_WINDOWS" /D "USE_TLS" /FD /c
|
||||
# ADD CPP /nologo /G6 /MTd /W3 /Z7 /Od /I "../include" /I "../" /D "_DEBUG" /D "SAFEMALLOC" /D "SAFE_MUTEX" /D "_WINDOWS" /D "USE_TLS" /D "MYSQL_CLIENT" /FD /c
|
||||
# SUBTRACT CPP /YX
|
||||
# ADD BASE RSC /l 0x409
|
||||
# ADD RSC /l 0x409
|
||||
|
@ -76,12 +77,38 @@ LIB32=xilink6.exe -lib
|
|||
# ADD BASE LIB32 /nologo
|
||||
# ADD LIB32 /nologo /out:"..\lib_debug\mysqlclient.lib"
|
||||
|
||||
!ELSEIF "$(CFG)" == "mysqlclient - Win32 authent"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "mysqlclient___Win32_authent"
|
||||
# PROP BASE Intermediate_Dir "mysqlclient___Win32_authent"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "authent"
|
||||
# PROP Intermediate_Dir "authent"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /G6 /MT /W3 /O2 /I "../include" /I "../" /D "DBUG_OFF" /D "_WINDOWS" /D "USE_TLS" /D "MYSQL_CLIENT" /D "NDEBUG" /FD /c
|
||||
# SUBTRACT BASE CPP /YX
|
||||
# ADD CPP /nologo /G6 /MT /W3 /O2 /I "../include" /I "../" /D "DBUG_OFF" /D "_WINDOWS" /D "USE_TLS" /D "MYSQL_CLIENT" /D "NDEBUG" /D "CHECK_LICENSE" /D LICENSE=Commercial /FD /c
|
||||
# SUBTRACT CPP /YX
|
||||
# ADD BASE RSC /l 0x409
|
||||
# ADD RSC /l 0x409
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LIB32=xilink6.exe -lib
|
||||
# ADD BASE LIB32 /nologo /out:"..\lib_release\mysqlclient.lib"
|
||||
# ADD LIB32 /nologo /out:"..\lib_authent\mysqlclient.lib"
|
||||
|
||||
!ENDIF
|
||||
|
||||
# Begin Target
|
||||
|
||||
# Name "mysqlclient - Win32 Release"
|
||||
# Name "mysqlclient - Win32 Debug"
|
||||
# Name "mysqlclient - Win32 authent"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\mysys\array.c
|
||||
|
@ -256,6 +283,8 @@ SOURCE=..\mysys\mf_iocache2.c
|
|||
|
||||
# ADD CPP /Od
|
||||
|
||||
!ELSEIF "$(CFG)" == "mysqlclient - Win32 authent"
|
||||
|
||||
!ENDIF
|
||||
|
||||
# End Source File
|
||||
|
@ -406,6 +435,10 @@ SOURCE=..\mysys\my_tempnam.c
|
|||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\libmysql\my_time.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\mysys\my_thr_init.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
|
18
VC++Files/examples/udf_example/udf_example.def
Normal file
18
VC++Files/examples/udf_example/udf_example.def
Normal file
|
@ -0,0 +1,18 @@
|
|||
LIBRARY MYUDF
|
||||
DESCRIPTION 'MySQL Sample for UDF'
|
||||
VERSION 1.0
|
||||
EXPORTS
|
||||
metaphon_init
|
||||
metaphon_deinit
|
||||
metaphon
|
||||
myfunc_double_init
|
||||
myfunc_double
|
||||
myfunc_int
|
||||
sequence_init
|
||||
sequence_deinit
|
||||
sequence
|
||||
avgcost_init
|
||||
avgcost_deinit
|
||||
avgcost_reset
|
||||
avgcost_add
|
||||
avgcost
|
111
VC++Files/examples/udf_example/udf_example.dsp
Normal file
111
VC++Files/examples/udf_example/udf_example.dsp
Normal file
|
@ -0,0 +1,111 @@
|
|||
# Microsoft Developer Studio Project File - Name="udf_example" - Package Owner=<4>
|
||||
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||
# ** DO NOT EDIT **
|
||||
|
||||
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
|
||||
|
||||
CFG=udf_example - Win32 Debug
|
||||
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||
!MESSAGE use the Export Makefile command and run
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "udf_example.mak".
|
||||
!MESSAGE
|
||||
!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 "udf_example.mak" CFG="udf_example - Win32 Debug"
|
||||
!MESSAGE
|
||||
!MESSAGE Possible choices for configuration are:
|
||||
!MESSAGE
|
||||
!MESSAGE "udf_example - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
|
||||
!MESSAGE "udf_example - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
|
||||
!MESSAGE
|
||||
|
||||
# Begin Project
|
||||
# PROP AllowPerConfigDependencies 0
|
||||
# PROP Scc_ProjName ""
|
||||
# PROP Scc_LocalPath ""
|
||||
CPP=cl.exe
|
||||
MTL=midl.exe
|
||||
RSC=rc.exe
|
||||
|
||||
!IF "$(CFG)" == "udf_example - Win32 Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "Release"
|
||||
# PROP BASE Intermediate_Dir "Release"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "Release"
|
||||
# PROP Intermediate_Dir "Release"
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "UDF_EXAMPLE_EXPORTS" /YX /FD /c
|
||||
# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\..\include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "UDF_EXAMPLE_EXPORTS" /D "HAVE_DLOPEN" /YX /FD /c
|
||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
|
||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
|
||||
# ADD BASE RSC /l 0x416 /d "NDEBUG"
|
||||
# ADD RSC /l 0x416 /d "NDEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
|
||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\lib\opt\strings.lib /nologo /dll /machine:I386 /out:"Release/myudf.dll"
|
||||
|
||||
!ELSEIF "$(CFG)" == "udf_example - Win32 Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "Debug"
|
||||
# PROP BASE Intermediate_Dir "Debug"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "Debug"
|
||||
# PROP Intermediate_Dir "Debug"
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "UDF_EXAMPLE_EXPORTS" /YX /FD /GZ /c
|
||||
# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "UDF_EXAMPLE_EXPORTS" /D "HAVE_DLOPEN" /YX /FD /GZ /c
|
||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
|
||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
|
||||
# ADD BASE RSC /l 0x416 /d "_DEBUG"
|
||||
# ADD RSC /l 0x416 /d "_DEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
|
||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\..\lib\debug\strings.lib /nologo /dll /debug /machine:I386 /out:"Debug/myudf.dll" /pdbtype:sept
|
||||
|
||||
!ENDIF
|
||||
|
||||
# Begin Target
|
||||
|
||||
# Name "udf_example - Win32 Release"
|
||||
# Name "udf_example - Win32 Debug"
|
||||
# Begin Group "Source Files"
|
||||
|
||||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\udf_example.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\udf_example.def
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Header Files"
|
||||
|
||||
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||
# End Group
|
||||
# Begin Group "Resource Files"
|
||||
|
||||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
|
||||
# End Group
|
||||
# End Target
|
||||
# End Project
|
|
@ -1,21 +1,9 @@
|
|||
Microsoft Developer Studio Workspace File, Format Version 5.00
|
||||
Microsoft Developer Studio Workspace File, Format Version 6.00
|
||||
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
|
||||
|
||||
###############################################################################
|
||||
|
||||
Project: "zlibstat"=.\zlibstat.dsp - Package Owner=<4>
|
||||
|
||||
Package=<5>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
Package=<4>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
||||
Project: "zlibvc"=.\zlibvc.dsp - Package Owner=<4>
|
||||
Project: "udf_example"=.\udf_example.dsp - Package Owner=<4>
|
||||
|
||||
Package=<5>
|
||||
{{{
|
|
@ -427,6 +427,10 @@ SOURCE=.\pack.c
|
|||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\my_time.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\password.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
|
|
@ -351,6 +351,10 @@ SOURCE=..\mysys\my_alloc.c
|
|||
SOURCE=..\mysys\my_getopt.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\sql-common\my_time.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\sql\net_serv.cpp
|
||||
# End Source File
|
||||
|
@ -364,7 +368,11 @@ SOURCE=..\sql\opt_sum.cpp
|
|||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE="..\sql-common\pack.c"
|
||||
SOURCE=..\sql-common\pack.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\sql\parse_file.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
|
@ -545,6 +553,10 @@ SOURCE=..\sql\sql_union.cpp
|
|||
# Begin Source File
|
||||
|
||||
SOURCE=..\sql\sql_update.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\sql\sql_view.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
|
@ -588,6 +600,10 @@ SOURCE=..\sql\time.cpp
|
|||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\sql\tztime.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\sql\uniques.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
|
|
@ -110,7 +110,7 @@ BSC32=bscmake.exe
|
|||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=xilink6.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib Wsock32.lib ..\lib_release\dbug.lib ..\lib_release\isam.lib ..\lib_release\merge.lib ..\lib_release\mysys.lib ..\lib_release\strings.lib ..\lib_release\regex.lib ..\lib_release\heap.lib /nologo /subsystem:console /debug /machine:I386
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib Wsock32.lib ..\lib_release\isam.lib ..\lib_release\merge.lib ..\lib_release\mysys.lib ..\lib_release\strings.lib ..\lib_release\regex.lib ..\lib_release\heap.lib /nologo /subsystem:console /debug /machine:I386
|
||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib Wsock32.lib ..\lib_release\vio.lib ..\lib_release\isam.lib ..\lib_release\merge.lib ..\lib_release\myisam.lib ..\lib_release\myisammrg.lib ..\lib_release\mysys.lib ..\lib_release\strings.lib ..\lib_release\regex.lib ..\lib_release\heap.lib ..\lib_release\innodb.lib ..\lib_release\zlib.lib /nologo /subsystem:console /map /machine:I386 /out:"../client_release/mysqld-nt.exe"
|
||||
# SUBTRACT LINK32 /pdb:none /debug
|
||||
|
||||
|
@ -942,11 +942,15 @@ SOURCE=.\mf_iocache.cpp
|
|||
|
||||
!ELSEIF "$(CFG)" == "mysqld - Win32 pro nt"
|
||||
|
||||
!ENDIF
|
||||
!ENDIF
|
||||
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\my_time.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\myisammrg\myrg_rnext_same.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
@ -1053,6 +1057,10 @@ SOURCE=.\pack.c
|
|||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\parse_file.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\password.c
|
||||
|
||||
!IF "$(CFG)" == "mysqld - Win32 Release"
|
||||
|
@ -1719,11 +1727,15 @@ SOURCE=.\sql_update.cpp
|
|||
|
||||
!ELSEIF "$(CFG)" == "mysqld - Win32 pro nt"
|
||||
|
||||
!ENDIF
|
||||
!ENDIF
|
||||
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\sql_view.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\sql_yacc.cpp
|
||||
|
||||
!IF "$(CFG)" == "mysqld - Win32 Release"
|
||||
|
@ -1840,6 +1852,10 @@ SOURCE=.\time.cpp
|
|||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\tztime.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\uniques.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
|
|
@ -1196,7 +1196,7 @@ bool __fastcall TForm1::Shutd()
|
|||
if (IsConnect)
|
||||
{
|
||||
mysql_kill(MySQL,mysql_thread_id(MySQL));
|
||||
mysql_shutdown(MySQL);
|
||||
mysql_shutdown(MySQL, SHUTDOWN_DEFAULT);
|
||||
StatusLine->SimpleText = "";
|
||||
|
||||
}
|
||||
|
|
|
@ -229,7 +229,9 @@ int STDCALL mysql_real_query(MYSQL *mysql, const char *q,
|
|||
unsigned int length);
|
||||
int STDCALL mysql_create_db(MYSQL *mysql, const char *DB);
|
||||
int STDCALL mysql_drop_db(MYSQL *mysql, const char *DB);
|
||||
int STDCALL mysql_shutdown(MYSQL *mysql);
|
||||
int STDCALL mysql_shutdown(MYSQL *mysql,
|
||||
enum enum_shutdown_level
|
||||
shutdown_level);
|
||||
int STDCALL mysql_dump_debug_info(MYSQL *mysql);
|
||||
int STDCALL mysql_refresh(MYSQL *mysql,
|
||||
unsigned int refresh_options);
|
||||
|
|
|
@ -155,6 +155,32 @@ enum enum_field_types { FIELD_TYPE_DECIMAL, FIELD_TYPE_TINY,
|
|||
#define FIELD_TYPE_CHAR FIELD_TYPE_TINY /* For compability */
|
||||
#define FIELD_TYPE_INTERVAL FIELD_TYPE_ENUM /* For compability */
|
||||
|
||||
enum enum_shutdown_level {
|
||||
/*
|
||||
We want levels to be in growing order of hardness. So we leave room
|
||||
for future intermediate levels. For now, escalating one level is += 10;
|
||||
later if we insert new levels in between we will need a function
|
||||
next_shutdown_level(level). Note that DEFAULT does not respect the
|
||||
growing property.
|
||||
*/
|
||||
SHUTDOWN_DEFAULT= 0, /* mapped to WAIT_ALL_BUFFERS for now */
|
||||
/*
|
||||
Here is the list in growing order (the next does the previous plus
|
||||
something). WAIT_ALL_BUFFERS is what we have now. Others are "this MySQL
|
||||
server does not support this shutdown level yet".
|
||||
*/
|
||||
SHUTDOWN_WAIT_CONNECTIONS= 10, /* wait for existing connections to finish */
|
||||
SHUTDOWN_WAIT_TRANSACTIONS= 20, /* wait for existing trans to finish */
|
||||
SHUTDOWN_WAIT_STATEMENTS= 30, /* wait for existing updating stmts to finish */
|
||||
SHUTDOWN_WAIT_ALL_BUFFERS= 40, /* flush InnoDB buffers */
|
||||
SHUTDOWN_WAIT_CRITICAL_BUFFERS= 50, /* flush MyISAM buffs (no corruption) */
|
||||
/* Now the 2 levels of the KILL command */
|
||||
#if MYSQL_VERSION_ID >= 50000
|
||||
KILL_QUERY= 254,
|
||||
#endif
|
||||
KILL_CONNECTION= 255
|
||||
};
|
||||
|
||||
extern unsigned long max_allowed_packet;
|
||||
extern unsigned long net_buffer_length;
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@ CFG=zlib - Win32 Debug
|
|||
!MESSAGE
|
||||
!MESSAGE "zlib - Win32 Release" (based on "Win32 (x86) Static Library")
|
||||
!MESSAGE "zlib - Win32 Debug" (based on "Win32 (x86) Static Library")
|
||||
!MESSAGE "zlib - Win32 authent" (based on "Win32 (x86) Static Library")
|
||||
!MESSAGE
|
||||
|
||||
# Begin Project
|
||||
|
@ -75,12 +76,38 @@ LIB32=xilink6.exe -lib
|
|||
# ADD BASE LIB32 /nologo
|
||||
# ADD LIB32 /nologo /out:"..\lib_debug\zlib.lib"
|
||||
|
||||
!ELSEIF "$(CFG)" == "zlib - Win32 authent"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "zlib___Win32_authent"
|
||||
# PROP BASE Intermediate_Dir "zlib___Win32_authent"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "zlib___Win32_authent"
|
||||
# PROP Intermediate_Dir "zlib___Win32_authent"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /G6 /MT /W3 /O2 /D "DBUG_OFF" /D "_WINDOWS" /D "NDEBUG" /FD /c
|
||||
# SUBTRACT BASE CPP /YX
|
||||
# ADD CPP /nologo /G6 /MT /W3 /O2 /D "DBUG_OFF" /D "_WINDOWS" /D "NDEBUG" /FD /c
|
||||
# SUBTRACT CPP /YX
|
||||
# ADD BASE RSC /l 0x409
|
||||
# ADD RSC /l 0x409
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LIB32=xilink6.exe -lib
|
||||
# ADD BASE LIB32 /nologo /out:"..\lib_release\zlib.lib"
|
||||
# ADD LIB32 /nologo /out:"..\lib_release\zlib.lib"
|
||||
|
||||
!ENDIF
|
||||
|
||||
# Begin Target
|
||||
|
||||
# Name "zlib - Win32 Release"
|
||||
# Name "zlib - Win32 Debug"
|
||||
# Name "zlib - Win32 authent"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\adler32.c
|
||||
|
@ -95,6 +122,10 @@ SOURCE=.\crc32.c
|
|||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\crc32.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\deflate.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
@ -107,19 +138,7 @@ SOURCE=.\gzio.c
|
|||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\infblock.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\infblock.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\infcodes.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\infcodes.h
|
||||
SOURCE=.\infback.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
|
@ -139,7 +158,7 @@ SOURCE=.\inflate.c
|
|||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\inftrees.c
|
||||
SOURCE=.\inflate.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
|
@ -147,11 +166,11 @@ SOURCE=.\inftrees.h
|
|||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\infutil.c
|
||||
SOURCE=.\inftrees.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\infutil.h
|
||||
SOURCE=.\inftrees.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
|
|
25
acconfig.h
25
acconfig.h
|
@ -84,6 +84,7 @@
|
|||
#undef HAVE_CHARSET_euckr
|
||||
#undef HAVE_CHARSET_gb2312
|
||||
#undef HAVE_CHARSET_gbk
|
||||
#undef HAVE_CHARSET_geostd8
|
||||
#undef HAVE_CHARSET_greek
|
||||
#undef HAVE_CHARSET_hebrew
|
||||
#undef HAVE_CHARSET_hp8
|
||||
|
@ -115,6 +116,9 @@
|
|||
/* Builds Example DB */
|
||||
#undef HAVE_EXAMPLE_DB
|
||||
|
||||
/* Builds Archive Storage Engine */
|
||||
#undef HAVE_ARCHIVE_DB
|
||||
|
||||
/* fp_except from ieeefp.h */
|
||||
#undef HAVE_FP_EXCEPT
|
||||
|
||||
|
@ -155,6 +159,12 @@
|
|||
/* Using Ndb Cluster DB */
|
||||
#undef HAVE_NDBCLUSTER_DB
|
||||
|
||||
/* Including Ndb Cluster DB shared memory transporter */
|
||||
#undef NDB_SHM_TRANSPORTER
|
||||
|
||||
/* Including Ndb Cluster DB sci transporter */
|
||||
#undef NDB_SCI_TRANSPORTER
|
||||
|
||||
/* For some non posix threads */
|
||||
#undef HAVE_NONPOSIX_PTHREAD_GETSPECIFIC
|
||||
|
||||
|
@ -197,6 +207,15 @@
|
|||
/* If we want to have query cache */
|
||||
#undef HAVE_QUERY_CACHE
|
||||
|
||||
/* Spatial extentions */
|
||||
#undef HAVE_SPATIAL
|
||||
|
||||
/* RTree keys */
|
||||
#undef HAVE_RTREE_KEYS
|
||||
|
||||
/* Access checks in embedded library */
|
||||
#undef HAVE_EMBEDDED_PRIVILEGE_CONTROL
|
||||
|
||||
/* Solaris define gethostbyaddr_r with 7 arguments. glibc2 defines
|
||||
this with 8 arguments */
|
||||
#undef HAVE_SOLARIS_STYLE_GETHOST
|
||||
|
@ -263,6 +282,12 @@
|
|||
/* mysql client protocoll version */
|
||||
#undef PROTOCOL_VERSION
|
||||
|
||||
/* ndb version */
|
||||
#undef NDB_VERSION_MAJOR
|
||||
#undef NDB_VERSION_MINOR
|
||||
#undef NDB_VERSION_BUILD
|
||||
#undef NDB_VERSION_STATUS
|
||||
|
||||
/* Define if qsort returns void */
|
||||
#undef QSORT_TYPE_IS_VOID
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue