mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merged
sql/ha_ndbcluster.h: Auto merged
This commit is contained in:
@ -786,3 +786,9 @@ vio/test-sslserver
|
||||
vio/viotest-ssl
|
||||
extra/tztime.cc
|
||||
extra/mysql_tzinfo_to_sql
|
||||
sql/mysql_tzinfo_to_sql_tztime.cc
|
||||
sql/my_time.c
|
||||
libmysql/my_time.c
|
||||
libmysqld/my_time.c
|
||||
sql/mysql_tzinfo_to_sql
|
||||
sql/mysql_tzinfo_to_sql.cc
|
||||
|
@ -90,6 +90,7 @@ marko@hundin.mysql.fi
|
||||
miguel@hegel.(none)
|
||||
miguel@hegel.br
|
||||
miguel@hegel.local
|
||||
miguel@hegel.txg
|
||||
miguel@light.
|
||||
miguel@light.local
|
||||
miguel@sartre.local
|
||||
@ -116,6 +117,7 @@ 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)
|
||||
|
@ -148,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";
|
||||
|
||||
@ -255,7 +256,7 @@ if ($opt_stage <= 1)
|
||||
}
|
||||
else
|
||||
{
|
||||
$opt_config_options.= " --without-readline --with-libedit";
|
||||
$opt_config_options.= " --with-libedit";
|
||||
}
|
||||
$opt_config_options.= " --with-embedded-server" unless ($opt_without_embedded);
|
||||
$opt_config_options.= " --with-ndbcluster" if ($opt_with_cluster);
|
||||
@ -357,7 +358,7 @@ if ($opt_stage <= 5 && !$opt_no_test && !$opt_no_mysqltest)
|
||||
log_timestamp();
|
||||
system("mkdir $bench_tmpdir") if (! -d $bench_tmpdir);
|
||||
safe_cd("${test_dir}/mysql-test");
|
||||
check_system("./mysql-test-run $flags --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");
|
||||
}
|
||||
|
||||
#
|
||||
@ -475,6 +476,11 @@ $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'
|
||||
|
||||
|
@ -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,6 +148,8 @@ chomp($SRCRPMDIR= `$RPM --eval "%{_srcrpmdir}" 2> /dev/null`);
|
||||
|
||||
$SOURCEFILE= glob "mysql*-$VERSION.tar.gz";
|
||||
|
||||
unless($opt_nobuild) {
|
||||
|
||||
&logger("Starting RPM build of MySQL-$VERSION on $HOST");
|
||||
|
||||
foreach $file ($SOURCEFILE, $SPECFILE)
|
||||
@ -184,19 +191,21 @@ $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!");
|
||||
|
||||
|
124
Build-tools/my_md5sum
Executable file
124
Build-tools/my_md5sum
Executable file
@ -0,0 +1,124 @@
|
||||
#!/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 Digest::MD5;
|
||||
use Getopt::Long;
|
||||
|
||||
my $VER= "1.1";
|
||||
|
||||
#
|
||||
# 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;
|
||||
}
|
||||
}
|
||||
# Else generate the MD5 digest to STDOUT
|
||||
else
|
||||
{
|
||||
foreach my $file (@files)
|
||||
{
|
||||
my $digest= &mkmd5($file);
|
||||
|
||||
print "$digest $file\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#
|
||||
# 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);
|
||||
}
|
@ -103,26 +103,12 @@ sub main
|
||||
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");
|
||||
if ($win_flag) {
|
||||
chdir("$destdir") or (print "$! Unable to change directory to $desdir!\n" && exit(0));
|
||||
} else {
|
||||
chdir("$destdir");
|
||||
unlink ("configure") or die "Can't delete $destdir/configure: $!\n";
|
||||
open(CONFIGURE,"<configure.in") or die "$! Unable to open configure.in to read from!\n";
|
||||
undef $/;
|
||||
my $configure = <CONFIGURE>;
|
||||
close(CONFIGURE);
|
||||
$configure =~ s|cmd\-line\-utils/readline/Makefile dnl\n?||g;
|
||||
open(CONFIGURE,">configure.in") or die "$! Unable to open configure.in to write to!\n";
|
||||
print CONFIGURE $configure;
|
||||
close(CONFIGURE);
|
||||
`autoconf`;
|
||||
if (! -f "configure") {
|
||||
print "\"./configure\" was not produced, exiting!\n";
|
||||
exit(0);
|
||||
}
|
||||
# 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
|
||||
@ -154,6 +140,39 @@ sub main
|
||||
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);
|
||||
$configure=~ s|${the_fat}/Makefile dnl\n?||g;
|
||||
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
|
||||
|
@ -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,251 +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]
|
||||
file0=C:\mysql\share\charsets\cp1250.xml
|
||||
file1=C:\mysql\share\charsets\cp1251.conf
|
||||
file2=C:\mysql\share\charsets\cp1251.xml
|
||||
file3=C:\mysql\share\charsets\cp1256.xml
|
||||
file1=C:\mysql\share\charsets\cp1257.conf
|
||||
file4=C:\mysql\share\charsets\cp1257.xml
|
||||
file5=C:\mysql\share\charsets\cp850.xml
|
||||
file6=C:\mysql\share\charsets\cp852.xml
|
||||
file7=C:\mysql\share\charsets\cp866.xml
|
||||
file8=C:\mysql\share\charsets\croat.conf
|
||||
file9=C:\mysql\share\charsets\danish.conf
|
||||
file10=C:\mysql\share\charsets\dec8.conf
|
||||
file10=C:\mysql\share\charsets\dec8.xml
|
||||
file11=C:\mysql\share\charsets\dos.conf
|
||||
file12=C:\mysql\share\charsets\estonia.conf
|
||||
file13=C:\mysql\share\charsets\geostd8.xml
|
||||
file14=C:\mysql\share\charsets\german1.conf
|
||||
file15=C:\mysql\share\charsets\greek.xml
|
||||
file16=C:\mysql\share\charsets\greek.conf
|
||||
file17=C:\mysql\share\charsets\hebrew.xml
|
||||
file18=C:\mysql\share\charsets\hebrew.conf
|
||||
file19=C:\mysql\share\charsets\hp8.xml
|
||||
file20=C:\mysql\share\charsets\hp8.conf
|
||||
file21=C:\mysql\share\charsets\hungarian.conf
|
||||
file22=C:\mysql\share\charsets\keybcs2.xml
|
||||
file23=C:\mysql\share\charsets\koi8_ru.conf
|
||||
file24=C:\mysql\share\charsets\koi8_ukr.conf
|
||||
file25=C:\mysql\share\charsets\koi8r.xml
|
||||
file26=C:\mysql\share\charsets\koi8u.xml
|
||||
file27=C:\mysql\share\charsets\latin1.conf
|
||||
file28=C:\mysql\share\charsets\latin1.xml
|
||||
file29=C:\mysql\share\charsets\latin2.conf
|
||||
file30=C:\mysql\share\charsets\latin2.xml
|
||||
file31=C:\mysql\share\charsets\latin5.conf
|
||||
file32=C:\mysql\share\charsets\latin5.xml
|
||||
file33=C:\mysql\share\charsets\latin7.xml
|
||||
file34=C:\mysql\share\charsets\macce.xml
|
||||
file35=C:\mysql\share\charsets\macroman.xml
|
||||
file36=C:\mysql\share\charsets\swe7.conf
|
||||
file37=C:\mysql\share\charsets\swe7.xml
|
||||
file38=C:\mysql\share\charsets\usa7.conf
|
||||
file39=C:\mysql\share\charsets\win1250.conf
|
||||
file40=C:\mysql\share\charsets\win1251ukr.conf
|
||||
file41=C:\mysql\share\charsets\win1251.conf
|
||||
file42=C:\mysql\share\charsets\Index
|
||||
file43=C:\mysql\share\charsets\Index.xml
|
||||
file44=C:\mysql\share\charsets\Readme
|
||||
file45=C:\mysql\share\charsets\languages.html
|
||||
fulldirectory=
|
||||
|
||||
[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,253 +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]
|
||||
file0=C:\mysql\share\charsets\cp1250.xml
|
||||
file1=C:\mysql\share\charsets\cp1251.conf
|
||||
file2=C:\mysql\share\charsets\cp1251.xml
|
||||
file3=C:\mysql\share\charsets\cp1256.xml
|
||||
file1=C:\mysql\share\charsets\cp1257.conf
|
||||
file4=C:\mysql\share\charsets\cp1257.xml
|
||||
file5=C:\mysql\share\charsets\cp850.xml
|
||||
file6=C:\mysql\share\charsets\cp852.xml
|
||||
file7=C:\mysql\share\charsets\cp866.xml
|
||||
file8=C:\mysql\share\charsets\croat.conf
|
||||
file9=C:\mysql\share\charsets\danish.conf
|
||||
file10=C:\mysql\share\charsets\dec8.conf
|
||||
file10=C:\mysql\share\charsets\dec8.xml
|
||||
file11=C:\mysql\share\charsets\dos.conf
|
||||
file12=C:\mysql\share\charsets\estonia.conf
|
||||
file13=C:\mysql\share\charsets\geostd8.xml
|
||||
file14=C:\mysql\share\charsets\german1.conf
|
||||
file15=C:\mysql\share\charsets\greek.xml
|
||||
file16=C:\mysql\share\charsets\greek.conf
|
||||
file17=C:\mysql\share\charsets\hebrew.xml
|
||||
file18=C:\mysql\share\charsets\hebrew.conf
|
||||
file19=C:\mysql\share\charsets\hp8.xml
|
||||
file20=C:\mysql\share\charsets\hp8.conf
|
||||
file21=C:\mysql\share\charsets\hungarian.conf
|
||||
file22=C:\mysql\share\charsets\keybcs2.xml
|
||||
file23=C:\mysql\share\charsets\koi8_ru.conf
|
||||
file24=C:\mysql\share\charsets\koi8_ukr.conf
|
||||
file25=C:\mysql\share\charsets\koi8r.xml
|
||||
file26=C:\mysql\share\charsets\koi8u.xml
|
||||
file27=C:\mysql\share\charsets\latin1.conf
|
||||
file28=C:\mysql\share\charsets\latin1.xml
|
||||
file29=C:\mysql\share\charsets\latin2.conf
|
||||
file30=C:\mysql\share\charsets\latin2.xml
|
||||
file31=C:\mysql\share\charsets\latin5.conf
|
||||
file32=C:\mysql\share\charsets\latin5.xml
|
||||
file33=C:\mysql\share\charsets\latin7.xml
|
||||
file34=C:\mysql\share\charsets\macce.xml
|
||||
file35=C:\mysql\share\charsets\macroman.xml
|
||||
file36=C:\mysql\share\charsets\swe7.conf
|
||||
file37=C:\mysql\share\charsets\swe7.xml
|
||||
file38=C:\mysql\share\charsets\usa7.conf
|
||||
file39=C:\mysql\share\charsets\win1250.conf
|
||||
file40=C:\mysql\share\charsets\win1251ukr.conf
|
||||
file41=C:\mysql\share\charsets\win1251.conf
|
||||
file42=C:\mysql\share\charsets\Index
|
||||
file43=C:\mysql\share\charsets\Index.xml
|
||||
file44=C:\mysql\share\charsets\Readme
|
||||
file45=C:\mysql\share\charsets\languages.html
|
||||
fulldirectory=
|
||||
|
||||
[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,251 +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]
|
||||
file0=C:\mysql\share\charsets\cp1250.xml
|
||||
file1=C:\mysql\share\charsets\cp1251.conf
|
||||
file2=C:\mysql\share\charsets\cp1251.xml
|
||||
file3=C:\mysql\share\charsets\cp1256.xml
|
||||
file1=C:\mysql\share\charsets\cp1257.conf
|
||||
file4=C:\mysql\share\charsets\cp1257.xml
|
||||
file5=C:\mysql\share\charsets\cp850.xml
|
||||
file6=C:\mysql\share\charsets\cp852.xml
|
||||
file7=C:\mysql\share\charsets\cp866.xml
|
||||
file8=C:\mysql\share\charsets\croat.conf
|
||||
file9=C:\mysql\share\charsets\danish.conf
|
||||
file10=C:\mysql\share\charsets\dec8.conf
|
||||
file10=C:\mysql\share\charsets\dec8.xml
|
||||
file11=C:\mysql\share\charsets\dos.conf
|
||||
file12=C:\mysql\share\charsets\estonia.conf
|
||||
file13=C:\mysql\share\charsets\geostd8.xml
|
||||
file14=C:\mysql\share\charsets\german1.conf
|
||||
file15=C:\mysql\share\charsets\greek.xml
|
||||
file16=C:\mysql\share\charsets\greek.conf
|
||||
file17=C:\mysql\share\charsets\hebrew.xml
|
||||
file18=C:\mysql\share\charsets\hebrew.conf
|
||||
file19=C:\mysql\share\charsets\hp8.xml
|
||||
file20=C:\mysql\share\charsets\hp8.conf
|
||||
file21=C:\mysql\share\charsets\hungarian.conf
|
||||
file22=C:\mysql\share\charsets\keybcs2.xml
|
||||
file23=C:\mysql\share\charsets\koi8_ru.conf
|
||||
file24=C:\mysql\share\charsets\koi8_ukr.conf
|
||||
file25=C:\mysql\share\charsets\koi8r.xml
|
||||
file26=C:\mysql\share\charsets\koi8u.xml
|
||||
file27=C:\mysql\share\charsets\latin1.conf
|
||||
file28=C:\mysql\share\charsets\latin1.xml
|
||||
file29=C:\mysql\share\charsets\latin2.conf
|
||||
file30=C:\mysql\share\charsets\latin2.xml
|
||||
file31=C:\mysql\share\charsets\latin5.conf
|
||||
file32=C:\mysql\share\charsets\latin5.xml
|
||||
file33=C:\mysql\share\charsets\latin7.xml
|
||||
file34=C:\mysql\share\charsets\macce.xml
|
||||
file35=C:\mysql\share\charsets\macroman.xml
|
||||
file36=C:\mysql\share\charsets\swe7.conf
|
||||
file37=C:\mysql\share\charsets\swe7.xml
|
||||
file38=C:\mysql\share\charsets\usa7.conf
|
||||
file39=C:\mysql\share\charsets\win1250.conf
|
||||
file40=C:\mysql\share\charsets\win1251ukr.conf
|
||||
file41=C:\mysql\share\charsets\win1251.conf
|
||||
file42=C:\mysql\share\charsets\Index
|
||||
file43=C:\mysql\share\charsets\Index.xml
|
||||
file44=C:\mysql\share\charsets\Readme
|
||||
file45=C:\mysql\share\charsets\languages.html
|
||||
fulldirectory=
|
||||
|
||||
[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"
|
||||
|
||||
|
@ -368,6 +368,10 @@ SOURCE=.\row\row0vers.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\srv\srv0que.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\srv\srv0srv.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
@ -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
|
||||
|
@ -368,6 +368,10 @@ SOURCE="..\sql-common\pack.c"
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\sql-common\my_time.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\libmysql\password.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
@ -564,6 +568,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
|
||||
|
@ -1053,6 +1053,10 @@ SOURCE=.\pack.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\my_time.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\password.c
|
||||
|
||||
!IF "$(CFG)" == "mysqld - Win32 Release"
|
||||
@ -1816,6 +1820,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
|
||||
|
@ -777,14 +777,15 @@ AC_DEFUN(MYSQL_FIND_OPENSSL, [
|
||||
---)
|
||||
for d in /usr/ssl/include /usr/local/ssl/include /usr/include \
|
||||
/usr/include/ssl /opt/ssl/include /opt/openssl/include \
|
||||
/usr/local/ssl/include /usr/local/include ; do
|
||||
/usr/local/ssl/include /usr/local/include /usr/freeware/include ; do
|
||||
if test -f $d/openssl/ssl.h ; then
|
||||
OPENSSL_INCLUDE=-I$d
|
||||
fi
|
||||
done
|
||||
|
||||
for d in /usr/ssl/lib /usr/local/ssl/lib /usr/lib/openssl \
|
||||
/usr/lib /usr/lib64 /opt/ssl/lib /opt/openssl/lib /usr/local/lib/ ; do
|
||||
/usr/lib /usr/lib64 /opt/ssl/lib /opt/openssl/lib \
|
||||
/usr/freeware/lib32 /usr/local/lib/ ; do
|
||||
if test -f $d/libssl.a || test -f $d/libssl.so || test -f $d/libssl.dylib ; then
|
||||
OPENSSL_LIB=$d
|
||||
fi
|
||||
|
@ -55,6 +55,7 @@
|
||||
#define EX_MYSQLERR 2
|
||||
#define EX_CONSCHECK 3
|
||||
#define EX_EOM 4
|
||||
#define EX_EOF 5 /* ferror for output file was got */
|
||||
|
||||
/* index into 'show fields from table' */
|
||||
|
||||
@ -127,6 +128,9 @@ TYPELIB compatible_mode_typelib= {array_elements(compatible_mode_names) - 1,
|
||||
|
||||
static struct my_option my_long_options[] =
|
||||
{
|
||||
{"all", 'a', "Deprecated. Use --create-options instead.",
|
||||
(gptr*) &create_options, (gptr*) &create_options, 0, GET_BOOL, NO_ARG, 1,
|
||||
0, 0, 0, 0, 0},
|
||||
{"all-databases", 'A',
|
||||
"Dump all the databases. This will be same as --databases with all databases selected.",
|
||||
(gptr*) &opt_alldbs, (gptr*) &opt_alldbs, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0,
|
||||
@ -239,10 +243,10 @@ static struct my_option my_long_options[] =
|
||||
{"no-data", 'd', "No row information.", (gptr*) &dFlag, (gptr*) &dFlag, 0,
|
||||
GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
|
||||
{"no-set-names", 'N',
|
||||
"Deprecated, use --set-charset or --skip-set-charset to enable/disable charset settings instead",
|
||||
"Deprecated. Use --skip-set-charset instead.",
|
||||
0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
|
||||
{"set-charset", OPT_SET_CHARSET,
|
||||
"'SET CHARACTER_SET_CLIENT=default_character_set' will be put in the output",
|
||||
"Add 'SET NAMES default_character_set' to the output. Enabled by default; suppress with --skip-set-charset.",
|
||||
(gptr*) &opt_set_charset, (gptr*) &opt_set_charset, 0, GET_BOOL, NO_ARG, 1,
|
||||
0, 0, 0, 0, 0},
|
||||
{"set-variable", 'O',
|
||||
@ -332,6 +336,23 @@ static const char *check_if_ignore_table(const char *table_name);
|
||||
|
||||
#include <help_start.h>
|
||||
|
||||
/*
|
||||
exit with message if ferror(file)
|
||||
|
||||
SYNOPSIS
|
||||
check_io()
|
||||
file - checked file
|
||||
*/
|
||||
|
||||
void check_io(FILE *file)
|
||||
{
|
||||
if (ferror(file))
|
||||
{
|
||||
fprintf(stderr, "%s: Got errno %d on write\n", my_progname, errno);
|
||||
safe_exit(EX_EOF);
|
||||
}
|
||||
}
|
||||
|
||||
static void print_version(void)
|
||||
{
|
||||
printf("%s Ver %s Distrib %s, for %s (%s)\n",my_progname,DUMP_VERSION,
|
||||
@ -378,6 +399,7 @@ static void write_header(FILE *sql_file, char *db_name)
|
||||
{
|
||||
fputs("<?xml version=\"1.0\"?>\n", sql_file);
|
||||
fputs("<mysqldump>\n", sql_file);
|
||||
check_io(sql_file);
|
||||
}
|
||||
else if (!opt_compact)
|
||||
{
|
||||
@ -409,6 +431,7 @@ static void write_header(FILE *sql_file, char *db_name)
|
||||
"/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE=\"%s%s%s\" */;\n",
|
||||
path?"":"NO_AUTO_VALUE_ON_ZERO",compatible_mode_normal_str[0]==0?"":",",
|
||||
compatible_mode_normal_str);
|
||||
check_io(sql_file);
|
||||
}
|
||||
} /* write_header */
|
||||
|
||||
@ -416,7 +439,10 @@ static void write_header(FILE *sql_file, char *db_name)
|
||||
static void write_footer(FILE *sql_file)
|
||||
{
|
||||
if (opt_xml)
|
||||
{
|
||||
fputs("</mysqldump>\n", sql_file);
|
||||
check_io(sql_file);
|
||||
}
|
||||
else if (!opt_compact)
|
||||
{
|
||||
fprintf(sql_file,"\n/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;\n");
|
||||
@ -432,6 +458,7 @@ static void write_footer(FILE *sql_file)
|
||||
"/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;\n"
|
||||
"/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;\n");
|
||||
fputs("\n", sql_file);
|
||||
check_io(sql_file);
|
||||
}
|
||||
} /* write_footer */
|
||||
|
||||
@ -725,6 +752,7 @@ static void unescape(FILE *file,char *pos,uint length)
|
||||
fputc('\'', file);
|
||||
fputs(tmp, file);
|
||||
fputc('\'', file);
|
||||
check_io(file);
|
||||
my_free(tmp, MYF(MY_WME));
|
||||
DBUG_VOID_RETURN;
|
||||
} /* unescape */
|
||||
@ -816,6 +844,7 @@ static void print_quoted_xml(FILE *xml_file, const char *str, ulong len)
|
||||
break;
|
||||
}
|
||||
}
|
||||
check_io(xml_file);
|
||||
}
|
||||
|
||||
|
||||
@ -849,6 +878,7 @@ static void print_xml_tag1(FILE * xml_file, const char* sbeg,
|
||||
print_quoted_xml(xml_file, sval, strlen(sval));
|
||||
fputs("\">", xml_file);
|
||||
fputs(send, xml_file);
|
||||
check_io(xml_file);
|
||||
}
|
||||
|
||||
|
||||
@ -877,6 +907,7 @@ static void print_xml_row(FILE *xml_file, const char *row_name,
|
||||
ulong *lengths= mysql_fetch_lengths(tableRes);
|
||||
|
||||
fprintf(xml_file, "\t\t<%s", row_name);
|
||||
check_io(xml_file);
|
||||
mysql_field_seek(tableRes, 0);
|
||||
for (i= 0; (field= mysql_fetch_field(tableRes)); i++)
|
||||
{
|
||||
@ -887,9 +918,11 @@ static void print_xml_row(FILE *xml_file, const char *row_name,
|
||||
fputs("=\"", xml_file);
|
||||
print_quoted_xml(xml_file, (*row)[i], lengths[i]);
|
||||
fputc('"', xml_file);
|
||||
check_io(xml_file);
|
||||
}
|
||||
}
|
||||
fputs(" />\n", xml_file);
|
||||
check_io(xml_file);
|
||||
}
|
||||
|
||||
/*
|
||||
@ -956,14 +989,21 @@ static uint getTableStructure(char *table, char* db)
|
||||
write_header(sql_file, db);
|
||||
}
|
||||
if (!opt_xml && opt_comments)
|
||||
{
|
||||
fprintf(sql_file, "\n--\n-- Table structure for table %s\n--\n\n",
|
||||
result_table);
|
||||
check_io(sql_file);
|
||||
}
|
||||
if (opt_drop)
|
||||
{
|
||||
fprintf(sql_file, "DROP TABLE IF EXISTS %s;\n", opt_quoted_table);
|
||||
check_io(sql_file);
|
||||
}
|
||||
|
||||
tableRes=mysql_store_result(sock);
|
||||
row=mysql_fetch_row(tableRes);
|
||||
fprintf(sql_file, "%s;\n", row[1]);
|
||||
check_io(sql_file);
|
||||
mysql_free_result(tableRes);
|
||||
}
|
||||
sprintf(insert_pat,"show fields from %s", result_table);
|
||||
@ -1043,6 +1083,7 @@ static uint getTableStructure(char *table, char* db)
|
||||
fprintf(sql_file, "CREATE TABLE %s (\n", result_table);
|
||||
else
|
||||
print_xml_tag1(sql_file, "\t", "table_structure name=", table, "\n");
|
||||
check_io(sql_file);
|
||||
}
|
||||
if (cFlag)
|
||||
sprintf(insert_pat, "INSERT %sINTO %s (", delayed, result_table);
|
||||
@ -1060,7 +1101,10 @@ static uint getTableStructure(char *table, char* db)
|
||||
if (init)
|
||||
{
|
||||
if (!opt_xml && !tFlag)
|
||||
{
|
||||
fputs(",\n",sql_file);
|
||||
check_io(sql_file);
|
||||
}
|
||||
if (cFlag)
|
||||
strpos=strmov(strpos,", ");
|
||||
}
|
||||
@ -1092,6 +1136,7 @@ static uint getTableStructure(char *table, char* db)
|
||||
fputs(" NOT NULL", sql_file);
|
||||
if (row[SHOW_EXTRA][0])
|
||||
fprintf(sql_file, " %s",row[SHOW_EXTRA]);
|
||||
check_io(sql_file);
|
||||
}
|
||||
}
|
||||
numFields = (uint) mysql_num_rows(tableRes);
|
||||
@ -1160,12 +1205,14 @@ static uint getTableStructure(char *table, char* db)
|
||||
fputs(quote_name(row[4], name_buff, 0), sql_file);
|
||||
if (row[7])
|
||||
fprintf(sql_file, " (%s)",row[7]); /* Sub key */
|
||||
check_io(sql_file);
|
||||
}
|
||||
if (!opt_xml)
|
||||
{
|
||||
if (keynr)
|
||||
putc(')', sql_file);
|
||||
fputs("\n)",sql_file);
|
||||
check_io(sql_file);
|
||||
}
|
||||
|
||||
/* Get MySQL specific create options */
|
||||
@ -1204,6 +1251,7 @@ static uint getTableStructure(char *table, char* db)
|
||||
print_value(sql_file,tableRes,row,"","Create_options",0);
|
||||
print_value(sql_file,tableRes,row,"comment=","Comment",1);
|
||||
fputs(" */",sql_file);
|
||||
check_io(sql_file);
|
||||
}
|
||||
}
|
||||
mysql_free_result(tableRes); /* Is always safe to free */
|
||||
@ -1212,6 +1260,7 @@ static uint getTableStructure(char *table, char* db)
|
||||
fputs(";\n", sql_file);
|
||||
else
|
||||
fputs("\t</table_structure>\n", sql_file);
|
||||
check_io(sql_file);
|
||||
}
|
||||
}
|
||||
if (cFlag)
|
||||
@ -1365,19 +1414,28 @@ static void dumpTable(uint numFields, char *table)
|
||||
else
|
||||
{
|
||||
if (!opt_xml && opt_comments)
|
||||
{
|
||||
fprintf(md_result_file,"\n--\n-- Dumping data for table %s\n--\n",
|
||||
result_table);
|
||||
check_io(md_result_file);
|
||||
}
|
||||
sprintf(query, "SELECT /*!40001 SQL_NO_CACHE */ * FROM %s",
|
||||
result_table);
|
||||
if (where)
|
||||
{
|
||||
if (!opt_xml && opt_comments)
|
||||
{
|
||||
fprintf(md_result_file,"-- WHERE: %s\n",where);
|
||||
check_io(md_result_file);
|
||||
}
|
||||
query= alloc_query_str((ulong) (strlen(where) + strlen(query) + 10));
|
||||
strxmov(query, query_buf, " WHERE ", where, NullS);
|
||||
}
|
||||
if (!opt_xml && !opt_compact)
|
||||
{
|
||||
fputs("\n", md_result_file);
|
||||
check_io(md_result_file);
|
||||
}
|
||||
if (mysql_query(sock, query))
|
||||
{
|
||||
DBerror(sock, "when retrieving data from server");
|
||||
@ -1405,10 +1463,16 @@ static void dumpTable(uint numFields, char *table)
|
||||
}
|
||||
|
||||
if (opt_disable_keys)
|
||||
{
|
||||
fprintf(md_result_file, "\n/*!40000 ALTER TABLE %s DISABLE KEYS */;\n",
|
||||
opt_quoted_table);
|
||||
check_io(md_result_file);
|
||||
}
|
||||
if (opt_lock)
|
||||
{
|
||||
fprintf(md_result_file,"LOCK TABLES %s WRITE;\n", opt_quoted_table);
|
||||
check_io(md_result_file);
|
||||
}
|
||||
|
||||
total_length= opt_net_buffer_length; /* Force row break */
|
||||
row_break=0;
|
||||
@ -1418,7 +1482,10 @@ static void dumpTable(uint numFields, char *table)
|
||||
print_xml_tag1(md_result_file, "\t", "table_data name=", table, "\n");
|
||||
|
||||
if (opt_autocommit)
|
||||
{
|
||||
fprintf(md_result_file, "set autocommit=0;\n");
|
||||
check_io(md_result_file);
|
||||
}
|
||||
|
||||
while ((row=mysql_fetch_row(res)))
|
||||
{
|
||||
@ -1426,11 +1493,17 @@ static void dumpTable(uint numFields, char *table)
|
||||
ulong *lengths=mysql_fetch_lengths(res);
|
||||
rownr++;
|
||||
if (!extended_insert && !opt_xml)
|
||||
{
|
||||
fputs(insert_pat,md_result_file);
|
||||
check_io(md_result_file);
|
||||
}
|
||||
mysql_field_seek(res,0);
|
||||
|
||||
if (opt_xml)
|
||||
{
|
||||
fputs("\t<row>\n", md_result_file);
|
||||
check_io(md_result_file);
|
||||
}
|
||||
|
||||
for (i = 0; i < mysql_num_fields(res); i++)
|
||||
{
|
||||
@ -1503,7 +1576,10 @@ static void dumpTable(uint numFields, char *table)
|
||||
else
|
||||
{
|
||||
if (i && !opt_xml)
|
||||
{
|
||||
fputc(',', md_result_file);
|
||||
check_io(md_result_file);
|
||||
}
|
||||
if (row[i])
|
||||
{
|
||||
if (!IS_NUM_FIELD(field))
|
||||
@ -1544,11 +1620,17 @@ static void dumpTable(uint numFields, char *table)
|
||||
fputs(ptr, md_result_file);
|
||||
}
|
||||
}
|
||||
else
|
||||
fputs("NULL", md_result_file);
|
||||
check_io(md_result_file);
|
||||
}
|
||||
}
|
||||
|
||||
if (opt_xml)
|
||||
{
|
||||
fputs("\t</row>\n", md_result_file);
|
||||
check_io(md_result_file);
|
||||
}
|
||||
|
||||
if (extended_insert)
|
||||
{
|
||||
@ -1571,9 +1653,13 @@ static void dumpTable(uint numFields, char *table)
|
||||
fputs(extended_row.str,md_result_file);
|
||||
total_length = row_length+init_length;
|
||||
}
|
||||
check_io(md_result_file);
|
||||
}
|
||||
else if (!opt_xml)
|
||||
{
|
||||
fputs(");\n", md_result_file);
|
||||
check_io(md_result_file);
|
||||
}
|
||||
}
|
||||
|
||||
/* XML - close table tag and supress regular output */
|
||||
@ -1582,6 +1668,7 @@ static void dumpTable(uint numFields, char *table)
|
||||
else if (extended_insert && row_break)
|
||||
fputs(";\n", md_result_file); /* If not empty table */
|
||||
fflush(md_result_file);
|
||||
check_io(md_result_file);
|
||||
if (mysql_errno(sock))
|
||||
{
|
||||
sprintf(query,"%s: Error %d: %s when dumping table %s at row: %ld\n",
|
||||
@ -1595,12 +1682,21 @@ static void dumpTable(uint numFields, char *table)
|
||||
goto err;
|
||||
}
|
||||
if (opt_lock)
|
||||
{
|
||||
fputs("UNLOCK TABLES;\n", md_result_file);
|
||||
check_io(md_result_file);
|
||||
}
|
||||
if (opt_disable_keys)
|
||||
{
|
||||
fprintf(md_result_file,"/*!40000 ALTER TABLE %s ENABLE KEYS */;\n",
|
||||
opt_quoted_table);
|
||||
check_io(md_result_file);
|
||||
}
|
||||
if (opt_autocommit)
|
||||
{
|
||||
fprintf(md_result_file, "commit;\n");
|
||||
check_io(md_result_file);
|
||||
}
|
||||
mysql_free_result(res);
|
||||
if (query != query_buf)
|
||||
my_free(query, MYF(MY_ALLOW_ZERO_PTR));
|
||||
@ -1691,7 +1787,10 @@ static int init_dumping(char *database)
|
||||
char quoted_database_buf[64*2+3];
|
||||
char *qdatabase= quote_name(database,quoted_database_buf,opt_quoted);
|
||||
if (opt_comments)
|
||||
{
|
||||
fprintf(md_result_file,"\n--\n-- Current Database: %s\n--\n", qdatabase);
|
||||
check_io(md_result_file);
|
||||
}
|
||||
if (!opt_create_db)
|
||||
{
|
||||
char qbuf[256];
|
||||
@ -1718,6 +1817,7 @@ static int init_dumping(char *database)
|
||||
}
|
||||
}
|
||||
fprintf(md_result_file,"\nUSE %s;\n", qdatabase);
|
||||
check_io(md_result_file);
|
||||
}
|
||||
}
|
||||
if (extended_insert && init_dynamic_string(&extended_row, "", 1024, 1024))
|
||||
@ -1764,7 +1864,10 @@ static int dump_all_tables_in_db(char *database)
|
||||
dumpTable(numrows,table);
|
||||
}
|
||||
if (opt_xml)
|
||||
{
|
||||
fputs("</database>\n", md_result_file);
|
||||
check_io(md_result_file);
|
||||
}
|
||||
if (lock_tables)
|
||||
mysql_query(sock,"UNLOCK TABLES");
|
||||
return 0;
|
||||
@ -1810,7 +1913,10 @@ static int dump_selected_tables(char *db, char **table_names, int tables)
|
||||
dumpTable(numrows, *table_names);
|
||||
}
|
||||
if (opt_xml)
|
||||
{
|
||||
fputs("</database>\n", md_result_file);
|
||||
check_io(md_result_file);
|
||||
}
|
||||
if (lock_tables)
|
||||
mysql_query(sock,"UNLOCK TABLES");
|
||||
return 0;
|
||||
@ -1879,6 +1985,7 @@ static void print_value(FILE *file, MYSQL_RES *result, MYSQL_ROW row,
|
||||
unescape(file,row[0],(uint) strlen(row[0]));
|
||||
else
|
||||
fputs(row[0], file);
|
||||
check_io(file);
|
||||
return;
|
||||
}
|
||||
}
|
||||
@ -2018,6 +2125,7 @@ int main(int argc, char **argv)
|
||||
fprintf(md_result_file,
|
||||
"CHANGE MASTER TO MASTER_LOG_FILE='%s', \
|
||||
MASTER_LOG_POS=%s ;\n",row[0],row[1]);
|
||||
check_io(md_result_file);
|
||||
}
|
||||
mysql_free_result(master);
|
||||
}
|
||||
|
@ -224,7 +224,7 @@ Q_ENABLE_QUERY_LOG, Q_DISABLE_QUERY_LOG,
|
||||
Q_ENABLE_RESULT_LOG, Q_DISABLE_RESULT_LOG,
|
||||
Q_SERVER_START, Q_SERVER_STOP,Q_REQUIRE_MANAGER,
|
||||
Q_WAIT_FOR_SLAVE_TO_STOP,
|
||||
Q_REQUIRE_VERSION,
|
||||
Q_REQUIRE_VERSION, Q_REQUIRE_OS,
|
||||
Q_ENABLE_WARNINGS, Q_DISABLE_WARNINGS,
|
||||
Q_ENABLE_INFO, Q_DISABLE_INFO,
|
||||
Q_ENABLE_METADATA, Q_DISABLE_METADATA,
|
||||
@ -298,6 +298,7 @@ const char *command_names[]=
|
||||
"require_manager",
|
||||
"wait_for_slave_to_stop",
|
||||
"require_version",
|
||||
"require_os",
|
||||
"enable_warnings",
|
||||
"disable_warnings",
|
||||
"enable_info",
|
||||
@ -853,6 +854,27 @@ int do_require_version(struct st_query* q)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int do_require_os(struct st_query* q)
|
||||
{
|
||||
char *p=q->first_argument, *os_arg;
|
||||
DBUG_ENTER("do_require_os");
|
||||
|
||||
if (!*p)
|
||||
die("Missing version argument in require_os\n");
|
||||
os_arg= p;
|
||||
while (*p && !my_isspace(charset_info,*p))
|
||||
p++;
|
||||
*p = 0;
|
||||
|
||||
if (strcmp(os_arg, "unix"))
|
||||
die("For now only testing of os=unix is implemented\n");
|
||||
|
||||
#if defined(__NETWARE__) || defined(__WIN__) || defined(__OS2__)
|
||||
abort_not_supported_test();
|
||||
#endif
|
||||
DBUG_RETURN(0);
|
||||
}
|
||||
|
||||
int do_source(struct st_query* q)
|
||||
{
|
||||
char* p=q->first_argument, *name;
|
||||
@ -2715,6 +2737,7 @@ int main(int argc, char **argv)
|
||||
case Q_SLEEP: do_sleep(q, 0); break;
|
||||
case Q_REAL_SLEEP: do_sleep(q, 1); break;
|
||||
case Q_REQUIRE_VERSION: do_require_version(q); break;
|
||||
case Q_REQUIRE_OS: do_require_os(q); break;
|
||||
case Q_WAIT_FOR_SLAVE_TO_STOP: do_wait_for_slave_to_stop(q); break;
|
||||
case Q_REQUIRE_MANAGER: do_require_manager(q); break;
|
||||
#ifndef EMBEDDED_LIBRARY
|
||||
|
13
configure.in
13
configure.in
@ -2407,6 +2407,8 @@ do
|
||||
AC_DEFINE(USE_MB)
|
||||
AC_DEFINE(USE_MB_IDENT)
|
||||
;;
|
||||
binary)
|
||||
;;
|
||||
cp1250)
|
||||
AC_DEFINE(HAVE_CHARSET_cp1250)
|
||||
;;
|
||||
@ -2533,6 +2535,10 @@ case $default_charset in
|
||||
default_charset_default_collation="big5_chinese_ci"
|
||||
default_charset_collations="big5_chinese_ci big5_bin"
|
||||
;;
|
||||
binary)
|
||||
default_charset_default_collation="binary"
|
||||
default_charset_collations="binary"
|
||||
;;
|
||||
cp1250)
|
||||
default_charset_default_collation="cp1250_general_ci"
|
||||
default_charset_collations="cp1250_general_ci cp1250_czech_ci cp1250_bin"
|
||||
@ -2770,12 +2776,14 @@ then
|
||||
if test X"$have_isam" != Xno
|
||||
then
|
||||
sql_server_dirs="$sql_server_dirs isam merge"
|
||||
AC_CONFIG_FILES(isam/Makefile merge/Makefile)
|
||||
fi
|
||||
|
||||
if test X"$have_berkeley_db" != Xno; then
|
||||
if test X"$have_berkeley_db" != Xyes; then
|
||||
# we must build berkeley db from source
|
||||
sql_server_dirs="$sql_server_dirs $have_berkeley_db"
|
||||
AC_CONFIG_FILES(bdb/Makefile)
|
||||
|
||||
echo "CONFIGURING FOR BERKELEY DB"
|
||||
bdb_conf_flags=
|
||||
@ -3015,9 +3023,8 @@ fi
|
||||
AC_SUBST(MAKE_BINARY_DISTRIBUTION_OPTIONS)
|
||||
|
||||
# Output results
|
||||
AC_CONFIG_FILES(Makefile extra/Makefile mysys/Makefile isam/Makefile dnl
|
||||
AC_CONFIG_FILES(Makefile extra/Makefile mysys/Makefile dnl
|
||||
strings/Makefile regex/Makefile heap/Makefile dnl
|
||||
bdb/Makefile dnl
|
||||
myisam/Makefile myisammrg/Makefile dnl
|
||||
os2/Makefile os2/include/Makefile os2/include/sys/Makefile dnl
|
||||
man/Makefile BUILD/Makefile vio/Makefile dnl
|
||||
@ -3025,7 +3032,7 @@ AC_CONFIG_FILES(Makefile extra/Makefile mysys/Makefile isam/Makefile dnl
|
||||
libmysql/Makefile client/Makefile dnl
|
||||
pstack/Makefile pstack/aout/Makefile sql/Makefile sql/share/Makefile dnl
|
||||
sql-common/Makefile SSL/Makefile dnl
|
||||
merge/Makefile dbug/Makefile scripts/Makefile dnl
|
||||
dbug/Makefile scripts/Makefile dnl
|
||||
include/Makefile sql-bench/Makefile tools/Makefile dnl
|
||||
tests/Makefile Docs/Makefile support-files/Makefile dnl
|
||||
support-files/MacOSX/Makefile mysql-test/Makefile dnl
|
||||
|
@ -22,7 +22,7 @@ pkginclude_HEADERS = my_dbug.h m_string.h my_sys.h my_list.h my_xml.h \
|
||||
errmsg.h my_global.h my_net.h my_alloc.h \
|
||||
my_getopt.h sslopt-longopts.h my_dir.h typelib.h \
|
||||
sslopt-vars.h sslopt-case.h sql_common.h keycache.h \
|
||||
sql_state.h $(BUILT_SOURCES)
|
||||
sql_state.h mysql_time.h $(BUILT_SOURCES)
|
||||
noinst_HEADERS = config-win.h config-os2.h config-netware.h \
|
||||
nisam.h heap.h merge.h my_bitmap.h\
|
||||
myisam.h myisampack.h myisammrg.h ft_global.h\
|
||||
@ -30,7 +30,7 @@ noinst_HEADERS = config-win.h config-os2.h config-netware.h \
|
||||
my_nosys.h my_alarm.h queues.h rijndael.h sha1.h \
|
||||
my_aes.h my_tree.h hash.h thr_alarm.h \
|
||||
thr_lock.h t_ctype.h violite.h md5.h \
|
||||
mysql_version.h.in my_handler.h
|
||||
mysql_version.h.in my_handler.h my_time.h
|
||||
|
||||
# mysql_version.h are generated
|
||||
SUPERCLEANFILES = mysql_version.h my_config.h
|
||||
|
@ -377,7 +377,4 @@ typedef ulong ha_rows;
|
||||
#define MAX_FILE_SIZE LONGLONG_MAX
|
||||
#endif
|
||||
|
||||
/* Currently used for saying which interfaces a Storage Engine implements */
|
||||
#define HA_ERR_NOT_IMPLEMENTED -1
|
||||
|
||||
#endif /* _my_base_h */
|
||||
|
@ -1076,13 +1076,14 @@ do { doubleget_union _tmp; \
|
||||
|
||||
#if defined(__FLOAT_WORD_ORDER) && (__FLOAT_WORD_ORDER == __BIG_ENDIAN)
|
||||
#define doublestore(T,V) do { *(T)= ((byte *) &V)[4];\
|
||||
*((T)+1)=(char) ((byte *) &V)[5];\
|
||||
*((T)+2)=(char) ((byte *) &V)[6];\
|
||||
*((T)+3)=(char) ((byte *) &V)[7];\
|
||||
*((T)+4)=(char) ((byte *) &V)[0];\
|
||||
*((T)+5)=(char) ((byte *) &V)[1];\
|
||||
*((T)+6)=(char) ((byte *) &V)[2];\
|
||||
*((T)+7)=(char) ((byte *) &V)[3]; } while(0)
|
||||
*(((char*)T)+1)=(char) ((byte *) &V)[5];\
|
||||
*(((char*)T)+2)=(char) ((byte *) &V)[6];\
|
||||
*(((char*)T)+3)=(char) ((byte *) &V)[7];\
|
||||
*(((char*)T)+4)=(char) ((byte *) &V)[0];\
|
||||
*(((char*)T)+5)=(char) ((byte *) &V)[1];\
|
||||
*(((char*)T)+6)=(char) ((byte *) &V)[2];\
|
||||
*(((char*)T)+7)=(char) ((byte *) &V)[3]; }\
|
||||
while(0)
|
||||
#define doubleget(V,M) do { double def_temp;\
|
||||
((byte*) &def_temp)[0]=(M)[4];\
|
||||
((byte*) &def_temp)[1]=(M)[5];\
|
||||
@ -1134,12 +1135,12 @@ do { doubleget_union _tmp; \
|
||||
((byte*) &def_temp)[3]=(M)[3];\
|
||||
(V)=def_temp; } while(0)
|
||||
#define shortstore(T,A) do { uint def_temp=(uint) (A) ;\
|
||||
*(T+1)=(char)(def_temp); \
|
||||
*(T+0)=(char)(def_temp >> 8); } while(0)
|
||||
#define longstore(T,A) do { *((T)+3)=((A));\
|
||||
*((T)+2)=(((A) >> 8));\
|
||||
*((T)+1)=(((A) >> 16));\
|
||||
*((T)+0)=(((A) >> 24)); } while(0)
|
||||
*(((char*)T)+1)=(char)(def_temp); \
|
||||
*(((char*)T)+0)=(char)(def_temp >> 8); } while(0)
|
||||
#define longstore(T,A) do { *(((char*)T)+3)=((A));\
|
||||
*(((char*)T)+2)=(((A) >> 8));\
|
||||
*(((char*)T)+1)=(((A) >> 16));\
|
||||
*(((char*)T)+0)=(((A) >> 24)); } while(0)
|
||||
|
||||
#define floatstore(T,V) memcpy_fixed((byte*)(T), (byte*)(&V), sizeof(float))
|
||||
#define doubleget(V,M) memcpy_fixed((byte*) &V,(byte*) (M),sizeof(double))
|
||||
|
46
include/my_time.h
Normal file
46
include/my_time.h
Normal file
@ -0,0 +1,46 @@
|
||||
/* Copyright (C) 2004 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
||||
|
||||
/*
|
||||
This is a private header of sql-common library, containing
|
||||
declarations for my_time.c
|
||||
*/
|
||||
|
||||
#ifndef _my_time_h_
|
||||
#define _my_time_h_
|
||||
#include "my_global.h"
|
||||
#include "mysql_time.h"
|
||||
|
||||
C_MODE_START
|
||||
|
||||
extern ulonglong log_10_int[20];
|
||||
|
||||
#define YY_PART_YEAR 70
|
||||
|
||||
/* Flags to str_to_datetime */
|
||||
#define TIME_FUZZY_DATE 1
|
||||
#define TIME_DATETIME_ONLY 2
|
||||
|
||||
enum enum_mysql_timestamp_type
|
||||
str_to_datetime(const char *str, uint length, MYSQL_TIME *l_time,
|
||||
uint flags, int *was_cut);
|
||||
|
||||
bool str_to_time(const char *str,uint length, MYSQL_TIME *l_time,
|
||||
int *was_cut);
|
||||
|
||||
C_MODE_END
|
||||
|
||||
#endif /* _my_time_h_ */
|
@ -47,7 +47,7 @@ extern "C" {
|
||||
#define MI_NAME_IEXT ".MYI"
|
||||
#define MI_NAME_DEXT ".MYD"
|
||||
/* Max extra space to use when sorting keys */
|
||||
#define MI_MAX_TEMP_LENGTH 256*1024L*1024L
|
||||
#define MI_MAX_TEMP_LENGTH 2*1024L*1024L*1024L
|
||||
|
||||
/* Possible values for myisam_block_size (must be power of 2) */
|
||||
#define MI_KEY_BLOCK_LENGTH 1024 /* default key block length */
|
||||
|
@ -55,6 +55,7 @@ typedef int my_socket;
|
||||
#endif /* _global_h */
|
||||
|
||||
#include "mysql_com.h"
|
||||
#include "mysql_time.h"
|
||||
#include "mysql_version.h"
|
||||
#include "typelib.h"
|
||||
|
||||
@ -301,7 +302,6 @@ typedef struct st_mysql_res {
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
typedef struct st_mysql_manager
|
||||
{
|
||||
NET net;
|
||||
@ -322,7 +322,7 @@ typedef struct st_mysql_parameters
|
||||
unsigned long *p_net_buffer_length;
|
||||
} MYSQL_PARAMETERS;
|
||||
|
||||
#if !defined(MYSQL_CLIENT) && !defined(MYSQL_SERVER) && !defined(EMBEDDED_LIBRARY)
|
||||
#if !defined(MYSQL_SERVER) && !defined(EMBEDDED_LIBRARY)
|
||||
#define max_allowed_packet (*mysql_get_parameters()->p_max_allowed_packet)
|
||||
#define net_buffer_length (*mysql_get_parameters()->p_net_buffer_length)
|
||||
#endif
|
||||
@ -533,30 +533,13 @@ enum enum_mysql_stmt_state
|
||||
MYSQL_STMT_FETCH_DONE
|
||||
};
|
||||
|
||||
/*
|
||||
client TIME structure to handle TIME, DATE and TIMESTAMP directly in
|
||||
binary protocol
|
||||
*/
|
||||
enum mysql_st_timestamp_type { MYSQL_TIMESTAMP_NONE, MYSQL_TIMESTAMP_DATE,
|
||||
MYSQL_TIMESTAMP_FULL, MYSQL_TIMESTAMP_TIME };
|
||||
|
||||
typedef struct mysql_st_time
|
||||
{
|
||||
unsigned int year,month,day,hour,minute,second;
|
||||
unsigned long second_part;
|
||||
my_bool neg;
|
||||
|
||||
enum mysql_st_timestamp_type time_type;
|
||||
|
||||
} MYSQL_TIME;
|
||||
|
||||
|
||||
/* bind structure */
|
||||
typedef struct st_mysql_bind
|
||||
{
|
||||
unsigned long *length; /* output length pointer */
|
||||
my_bool *is_null; /* Pointer to null indicators */
|
||||
char *buffer; /* buffer to get/put data */
|
||||
void *buffer; /* buffer to get/put data */
|
||||
enum enum_field_types buffer_type; /* buffer type */
|
||||
unsigned long buffer_length; /* buffer length, must be set for str/binary */
|
||||
|
||||
|
37
include/mysql_time.h
Normal file
37
include/mysql_time.h
Normal file
@ -0,0 +1,37 @@
|
||||
/* Copyright (C) 2004 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
||||
|
||||
#ifndef _mysql_time_h_
|
||||
#define _mysql_time_h_
|
||||
|
||||
/* Time declarations shared between server and client library */
|
||||
|
||||
enum enum_mysql_timestamp_type
|
||||
{
|
||||
MYSQL_TIMESTAMP_NONE= -2, MYSQL_TIMESTAMP_ERROR= -1,
|
||||
MYSQL_TIMESTAMP_DATE= 0, MYSQL_TIMESTAMP_DATETIME= 1, MYSQL_TIMESTAMP_TIME= 2
|
||||
};
|
||||
|
||||
|
||||
typedef struct st_mysql_time
|
||||
{
|
||||
unsigned int year, month, day, hour, minute, second;
|
||||
unsigned long second_part;
|
||||
my_bool neg;
|
||||
enum enum_mysql_timestamp_type time_type;
|
||||
} MYSQL_TIME;
|
||||
|
||||
#endif /* _mysql_time_h_ */
|
@ -89,7 +89,7 @@ mach_read_from_4(
|
||||
/* out: ulint integer */
|
||||
byte* b); /* in: pointer to four bytes */
|
||||
/*************************************************************
|
||||
Writes a ulint in a compressed form. */
|
||||
Writes a ulint in a compressed form (1..5 bytes). */
|
||||
UNIV_INLINE
|
||||
ulint
|
||||
mach_write_compressed(
|
||||
@ -168,7 +168,7 @@ mach_read_from_8(
|
||||
/* out: dulint integer */
|
||||
byte* b); /* in: pointer to 8 bytes */
|
||||
/*************************************************************
|
||||
Writes a dulint in a compressed form. */
|
||||
Writes a dulint in a compressed form (5..9 bytes). */
|
||||
UNIV_INLINE
|
||||
ulint
|
||||
mach_dulint_write_compressed(
|
||||
@ -193,7 +193,7 @@ mach_dulint_read_compressed(
|
||||
/* out: read dulint */
|
||||
byte* b); /* in: pointer to memory from where to read */
|
||||
/*************************************************************
|
||||
Writes a dulint in a compressed form. */
|
||||
Writes a dulint in a compressed form (1..11 bytes). */
|
||||
UNIV_INLINE
|
||||
ulint
|
||||
mach_dulint_write_much_compressed(
|
||||
|
@ -366,7 +366,7 @@ mach_read_from_6(
|
||||
}
|
||||
|
||||
/*************************************************************
|
||||
Writes a dulint in a compressed form. */
|
||||
Writes a dulint in a compressed form (5..9 bytes). */
|
||||
UNIV_INLINE
|
||||
ulint
|
||||
mach_dulint_write_compressed(
|
||||
@ -422,7 +422,7 @@ mach_dulint_read_compressed(
|
||||
}
|
||||
|
||||
/*************************************************************
|
||||
Writes a dulint in a compressed form. */
|
||||
Writes a dulint in a compressed form (1..11 bytes). */
|
||||
UNIV_INLINE
|
||||
ulint
|
||||
mach_dulint_write_much_compressed(
|
||||
|
@ -121,7 +121,9 @@ mlog_close(
|
||||
mtr_t* mtr, /* in: mtr */
|
||||
byte* ptr); /* in: buffer space from ptr up was not used */
|
||||
/************************************************************
|
||||
Writes the initial part of a log record. */
|
||||
Writes the initial part of a log record (3..11 bytes).
|
||||
If the implementation of this function is changed, all
|
||||
size parameters to mlog_open() should be adjusted accordingly! */
|
||||
UNIV_INLINE
|
||||
byte*
|
||||
mlog_write_initial_log_record_fast(
|
||||
|
@ -137,7 +137,9 @@ mlog_catenate_dulint_compressed(
|
||||
}
|
||||
|
||||
/************************************************************
|
||||
Writes the initial part of a log record. */
|
||||
Writes the initial part of a log record (3..11 bytes).
|
||||
If the implementation of this function is changed, all
|
||||
size parameters to mlog_open() should be adjusted accordingly! */
|
||||
UNIV_INLINE
|
||||
byte*
|
||||
mlog_write_initial_log_record_fast(
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user