mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 23:34:34 +01:00
Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1
into ice.snake.net:/Volumes/ice2/MySQL/bk/mysql-4.1
This commit is contained in:
commit
40eb656d48
96 changed files with 357 additions and 8586 deletions
|
@ -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"
|
|
||||||
|
|
||||||
|
|
|
@ -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_nosys.h my_alarm.h queues.h rijndael.h sha1.h \
|
||||||
my_aes.h my_tree.h hash.h thr_alarm.h \
|
my_aes.h my_tree.h hash.h thr_alarm.h \
|
||||||
thr_lock.h t_ctype.h violite.h md5.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
|
# mysql_version.h are generated
|
||||||
SUPERCLEANFILES = mysql_version.h my_config.h
|
SUPERCLEANFILES = mysql_version.h my_config.h
|
||||||
|
|
|
@ -540,7 +540,7 @@ typedef struct st_mysql_bind
|
||||||
{
|
{
|
||||||
unsigned long *length; /* output length pointer */
|
unsigned long *length; /* output length pointer */
|
||||||
my_bool *is_null; /* Pointer to null indicators */
|
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 */
|
enum enum_field_types buffer_type; /* buffer type */
|
||||||
unsigned long buffer_length; /* buffer length, must be set for str/binary */
|
unsigned long buffer_length; /* buffer length, must be set for str/binary */
|
||||||
|
|
||||||
|
|
|
@ -2200,7 +2200,7 @@ static void store_param_type(char **pos, MYSQL_BIND *param)
|
||||||
|
|
||||||
static void store_param_tinyint(NET *net, MYSQL_BIND *param)
|
static void store_param_tinyint(NET *net, MYSQL_BIND *param)
|
||||||
{
|
{
|
||||||
*(net->write_pos++)= (uchar) *param->buffer;
|
*(net->write_pos++)= *(uchar *) param->buffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void store_param_short(NET *net, MYSQL_BIND *param)
|
static void store_param_short(NET *net, MYSQL_BIND *param)
|
||||||
|
@ -3126,7 +3126,7 @@ static void send_data_long(MYSQL_BIND *param, MYSQL_FIELD *field,
|
||||||
case MYSQL_TYPE_NULL: /* do nothing */
|
case MYSQL_TYPE_NULL: /* do nothing */
|
||||||
break;
|
break;
|
||||||
case MYSQL_TYPE_TINY:
|
case MYSQL_TYPE_TINY:
|
||||||
*param->buffer= (uchar) value;
|
*(uchar *)param->buffer= (uchar) value;
|
||||||
break;
|
break;
|
||||||
case MYSQL_TYPE_SHORT:
|
case MYSQL_TYPE_SHORT:
|
||||||
shortstore(buffer, value);
|
shortstore(buffer, value);
|
||||||
|
@ -3486,7 +3486,7 @@ static void fetch_results(MYSQL_BIND *param, MYSQL_FIELD *field, uchar **row)
|
||||||
|
|
||||||
static void fetch_result_tinyint(MYSQL_BIND *param, uchar **row)
|
static void fetch_result_tinyint(MYSQL_BIND *param, uchar **row)
|
||||||
{
|
{
|
||||||
*param->buffer= **row;
|
*(uchar *)param->buffer= **row;
|
||||||
(*row)++;
|
(*row)++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3561,7 +3561,7 @@ static void fetch_result_str(MYSQL_BIND *param, uchar **row)
|
||||||
memcpy(param->buffer, (char *)*row, copy_length);
|
memcpy(param->buffer, (char *)*row, copy_length);
|
||||||
/* Add an end null if there is room in the buffer */
|
/* Add an end null if there is room in the buffer */
|
||||||
if (copy_length != param->buffer_length)
|
if (copy_length != param->buffer_length)
|
||||||
*(param->buffer+copy_length)= '\0';
|
((uchar *)param->buffer)[copy_length]= '\0';
|
||||||
*param->length= length; /* return total length */
|
*param->length= length; /* return total length */
|
||||||
*row+= length;
|
*row+= length;
|
||||||
}
|
}
|
||||||
|
|
|
@ -265,6 +265,7 @@ static int d_search(register MI_INFO *info, register MI_KEYDEF *keyinfo,
|
||||||
{
|
{
|
||||||
keyinfo=&info->s->ft2_keyinfo;
|
keyinfo=&info->s->ft2_keyinfo;
|
||||||
kpos-=keyinfo->keylength+nod_flag; /* we'll modify key entry 'in vivo' */
|
kpos-=keyinfo->keylength+nod_flag; /* we'll modify key entry 'in vivo' */
|
||||||
|
get_key_full_length_rdonly(off, key);
|
||||||
key+=off;
|
key+=off;
|
||||||
ret_value=_mi_ck_real_delete(info, &info->s->ft2_keyinfo,
|
ret_value=_mi_ck_real_delete(info, &info->s->ft2_keyinfo,
|
||||||
key, HA_FT_WLEN, &root);
|
key, HA_FT_WLEN, &root);
|
||||||
|
|
|
@ -22,9 +22,9 @@ int myrg_write(register MYRG_INFO *info, byte *rec)
|
||||||
{
|
{
|
||||||
/* [phi] MERGE_WRITE_DISABLED is handled by the else case */
|
/* [phi] MERGE_WRITE_DISABLED is handled by the else case */
|
||||||
if (info->merge_insert_method == MERGE_INSERT_TO_FIRST)
|
if (info->merge_insert_method == MERGE_INSERT_TO_FIRST)
|
||||||
return mi_write(info->open_tables[0].table,rec);
|
return mi_write((info->current_table=info->open_tables)->table,rec);
|
||||||
else if (info->merge_insert_method == MERGE_INSERT_TO_LAST)
|
else if (info->merge_insert_method == MERGE_INSERT_TO_LAST)
|
||||||
return mi_write(info->end_table[-1].table,rec);
|
return mi_write((info->current_table=info->end_table-1)->table,rec);
|
||||||
else /* unsupported insertion method */
|
else /* unsupported insertion method */
|
||||||
return (my_errno= HA_ERR_WRONG_COMMAND);
|
return (my_errno= HA_ERR_WRONG_COMMAND);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1190,3 +1190,23 @@ exists (select 'two' from t1 where 'two' = outer_table.b);
|
||||||
b
|
b
|
||||||
drop table t1;
|
drop table t1;
|
||||||
set autocommit=1;
|
set autocommit=1;
|
||||||
|
create table t1(a int primary key, b varchar(30)) engine=bdb;
|
||||||
|
insert into t1 values (1,'one'), (2,'two'), (3,'three'), (4,'four');
|
||||||
|
create table t2 like t1;
|
||||||
|
insert t2 select * from t1;
|
||||||
|
select a from t1 where a in (select a from t2);
|
||||||
|
a
|
||||||
|
1
|
||||||
|
2
|
||||||
|
3
|
||||||
|
4
|
||||||
|
delete from t2;
|
||||||
|
insert into t2 (a, b)
|
||||||
|
select a, b from t1 where (a, b) in (select a, b from t1);
|
||||||
|
select * from t2;
|
||||||
|
a b
|
||||||
|
1 one
|
||||||
|
2 two
|
||||||
|
3 three
|
||||||
|
4 four
|
||||||
|
drop table t1, t2;
|
||||||
|
|
|
@ -544,6 +544,24 @@ insert into t1 values (99,NULL);
|
||||||
select * from t4 where a+0 > 90;
|
select * from t4 where a+0 > 90;
|
||||||
a b
|
a b
|
||||||
99 1
|
99 1
|
||||||
|
insert t5 values (1,1);
|
||||||
|
ERROR 23000: Duplicate entry '1-1' for key 1
|
||||||
|
insert t6 values (2,1);
|
||||||
|
ERROR 23000: Duplicate entry '2-1' for key 1
|
||||||
|
insert t5 values (1,1) on duplicate key update b=b+10;
|
||||||
|
insert t6 values (2,1) on duplicate key update b=b+20;
|
||||||
|
select * from t5 where a < 3;
|
||||||
|
a b
|
||||||
|
1 2
|
||||||
|
1 3
|
||||||
|
1 4
|
||||||
|
1 5
|
||||||
|
1 11
|
||||||
|
2 2
|
||||||
|
2 3
|
||||||
|
2 4
|
||||||
|
2 5
|
||||||
|
2 21
|
||||||
drop table t6, t5, t4, t3, t2, t1;
|
drop table t6, t5, t4, t3, t2, t1;
|
||||||
CREATE TABLE t1 ( a int(11) NOT NULL default '0', b int(11) NOT NULL default '0', PRIMARY KEY (a,b)) ENGINE=MyISAM;
|
CREATE TABLE t1 ( a int(11) NOT NULL default '0', b int(11) NOT NULL default '0', PRIMARY KEY (a,b)) ENGINE=MyISAM;
|
||||||
INSERT INTO t1 VALUES (1,1), (2,1);
|
INSERT INTO t1 VALUES (1,1), (2,1);
|
||||||
|
|
|
@ -137,3 +137,45 @@ execute stmt1;
|
||||||
FOUND_ROWS()
|
FOUND_ROWS()
|
||||||
0
|
0
|
||||||
deallocate prepare stmt1;
|
deallocate prepare stmt1;
|
||||||
|
drop table t1;
|
||||||
|
create table t1
|
||||||
|
(
|
||||||
|
c1 tinyint, c2 smallint, c3 mediumint, c4 int,
|
||||||
|
c5 integer, c6 bigint, c7 float, c8 double,
|
||||||
|
c9 double precision, c10 real, c11 decimal(7, 4), c12 numeric(8, 4),
|
||||||
|
c13 date, c14 datetime, c15 timestamp(14), c16 time,
|
||||||
|
c17 year, c18 bit, c19 bool, c20 char,
|
||||||
|
c21 char(10), c22 varchar(30), c23 tinyblob, c24 tinytext,
|
||||||
|
c25 blob, c26 text, c27 mediumblob, c28 mediumtext,
|
||||||
|
c29 longblob, c30 longtext, c31 enum('one', 'two', 'three'),
|
||||||
|
c32 set('monday', 'tuesday', 'wednesday')
|
||||||
|
) engine = MYISAM ;
|
||||||
|
create table t2 like t1;
|
||||||
|
set @stmt= ' explain SELECT (SELECT SUM(c1 + c12 + 0.0) FROM t2 where (t1.c2 - 0e-3) = t2.c2 GROUP BY t1.c15 LIMIT 1) as scalar_s, exists (select 1.0e+0 from t2 where t2.c3 * 9.0000000000 = t1.c4) as exists_s, c5 * 4 in (select c6 + 0.3e+1 from t2) as in_s, (c7 - 4, c8 - 4) in (select c9 + 4.0, c10 + 40e-1 from t2) as in_row_s FROM t1, (select c25 x, c32 y from t2) tt WHERE x * 1 = c25 ' ;
|
||||||
|
prepare stmt1 from @stmt ;
|
||||||
|
execute stmt1 ;
|
||||||
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
|
1 PRIMARY NULL NULL NULL NULL NULL NULL NULL Impossible WHERE noticed after reading const tables
|
||||||
|
6 DERIVED NULL NULL NULL NULL NULL NULL NULL no matching row in const table
|
||||||
|
5 DEPENDENT SUBQUERY t2 system NULL NULL NULL NULL 0 const row not found
|
||||||
|
4 DEPENDENT SUBQUERY t2 system NULL NULL NULL NULL 0 const row not found
|
||||||
|
3 DEPENDENT SUBQUERY t2 system NULL NULL NULL NULL 0 const row not found
|
||||||
|
2 DEPENDENT SUBQUERY t2 system NULL NULL NULL NULL 0 const row not found
|
||||||
|
execute stmt1 ;
|
||||||
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
|
1 PRIMARY NULL NULL NULL NULL NULL NULL NULL Impossible WHERE noticed after reading const tables
|
||||||
|
6 DERIVED NULL NULL NULL NULL NULL NULL NULL no matching row in const table
|
||||||
|
5 DEPENDENT SUBQUERY t2 system NULL NULL NULL NULL 0 const row not found
|
||||||
|
4 DEPENDENT SUBQUERY t2 system NULL NULL NULL NULL 0 const row not found
|
||||||
|
3 DEPENDENT SUBQUERY t2 system NULL NULL NULL NULL 0 const row not found
|
||||||
|
2 DEPENDENT SUBQUERY t2 system NULL NULL NULL NULL 0 const row not found
|
||||||
|
explain SELECT (SELECT SUM(c1 + c12 + 0.0) FROM t2 where (t1.c2 - 0e-3) = t2.c2 GROUP BY t1.c15 LIMIT 1) as scalar_s, exists (select 1.0e+0 from t2 where t2.c3 * 9.0000000000 = t1.c4) as exists_s, c5 * 4 in (select c6 + 0.3e+1 from t2) as in_s, (c7 - 4, c8 - 4) in (select c9 + 4.0, c10 + 40e-1 from t2) as in_row_s FROM t1, (select c25 x, c32 y from t2) tt WHERE x * 1 = c25;
|
||||||
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
|
1 PRIMARY NULL NULL NULL NULL NULL NULL NULL Impossible WHERE noticed after reading const tables
|
||||||
|
6 DERIVED NULL NULL NULL NULL NULL NULL NULL no matching row in const table
|
||||||
|
5 DEPENDENT SUBQUERY t2 system NULL NULL NULL NULL 0 const row not found
|
||||||
|
4 DEPENDENT SUBQUERY t2 system NULL NULL NULL NULL 0 const row not found
|
||||||
|
3 DEPENDENT SUBQUERY t2 system NULL NULL NULL NULL 0 const row not found
|
||||||
|
2 DEPENDENT SUBQUERY t2 system NULL NULL NULL NULL 0 const row not found
|
||||||
|
deallocate prepare stmt1;
|
||||||
|
drop tables t1,t2;
|
||||||
|
|
|
@ -840,10 +840,13 @@ set autocommit=1;
|
||||||
# Bug #4089: subselect and open cursor.
|
# Bug #4089: subselect and open cursor.
|
||||||
#
|
#
|
||||||
|
|
||||||
#create table t1(a int primary key, b varchar(30)) engine=bdb;
|
create table t1(a int primary key, b varchar(30)) engine=bdb;
|
||||||
#insert into t1 values (1,'one'), (2,'two'), (3,'three'), (4,'four');
|
insert into t1 values (1,'one'), (2,'two'), (3,'three'), (4,'four');
|
||||||
#create table t2 like t1;
|
create table t2 like t1;
|
||||||
#insert into t2 (a, b)
|
insert t2 select * from t1;
|
||||||
# select a, b from t1 where (a, b) in (select a, b from t1);
|
select a from t1 where a in (select a from t2);
|
||||||
#select * from t2;
|
delete from t2;
|
||||||
#drop table t1, t2;
|
insert into t2 (a, b)
|
||||||
|
select a, b from t1 where (a, b) in (select a, b from t1);
|
||||||
|
select * from t2;
|
||||||
|
drop table t1, t2;
|
||||||
|
|
|
@ -190,6 +190,14 @@ select * from t5 order by a,b;
|
||||||
select * from t6 order by a,b;
|
select * from t6 order by a,b;
|
||||||
insert into t1 values (99,NULL);
|
insert into t1 values (99,NULL);
|
||||||
select * from t4 where a+0 > 90;
|
select * from t4 where a+0 > 90;
|
||||||
|
# bug#4008 - cannot determine a unique key that caused "dupl. key error"
|
||||||
|
--error 1062
|
||||||
|
insert t5 values (1,1);
|
||||||
|
--error 1062
|
||||||
|
insert t6 values (2,1);
|
||||||
|
insert t5 values (1,1) on duplicate key update b=b+10;
|
||||||
|
insert t6 values (2,1) on duplicate key update b=b+20;
|
||||||
|
select * from t5 where a < 3;
|
||||||
drop table t6, t5, t4, t3, t2, t1;
|
drop table t6, t5, t4, t3, t2, t1;
|
||||||
|
|
||||||
CREATE TABLE t1 ( a int(11) NOT NULL default '0', b int(11) NOT NULL default '0', PRIMARY KEY (a,b)) ENGINE=MyISAM;
|
CREATE TABLE t1 ( a int(11) NOT NULL default '0', b int(11) NOT NULL default '0', PRIMARY KEY (a,b)) ENGINE=MyISAM;
|
||||||
|
|
|
@ -114,8 +114,8 @@ set @str1 = 'select ?';
|
||||||
set @str2 = convert(@str1 using ucs2);
|
set @str2 = convert(@str1 using ucs2);
|
||||||
prepare stmt1 from @str2;
|
prepare stmt1 from @str2;
|
||||||
execute stmt1 using @ivar;
|
execute stmt1 using @ivar;
|
||||||
|
|
||||||
drop table t1,t2;
|
drop table t1,t2;
|
||||||
|
|
||||||
#
|
#
|
||||||
# Bug #4105: Server crash on attempt to prepare a statement with character
|
# Bug #4105: Server crash on attempt to prepare a statement with character
|
||||||
# set introducer
|
# set introducer
|
||||||
|
@ -140,3 +140,29 @@ execute stmt1;
|
||||||
# Expect 0
|
# Expect 0
|
||||||
execute stmt1;
|
execute stmt1;
|
||||||
deallocate prepare stmt1;
|
deallocate prepare stmt1;
|
||||||
|
drop table t1;
|
||||||
|
|
||||||
|
#
|
||||||
|
# prepared EXPLAIN
|
||||||
|
#
|
||||||
|
create table t1
|
||||||
|
(
|
||||||
|
c1 tinyint, c2 smallint, c3 mediumint, c4 int,
|
||||||
|
c5 integer, c6 bigint, c7 float, c8 double,
|
||||||
|
c9 double precision, c10 real, c11 decimal(7, 4), c12 numeric(8, 4),
|
||||||
|
c13 date, c14 datetime, c15 timestamp(14), c16 time,
|
||||||
|
c17 year, c18 bit, c19 bool, c20 char,
|
||||||
|
c21 char(10), c22 varchar(30), c23 tinyblob, c24 tinytext,
|
||||||
|
c25 blob, c26 text, c27 mediumblob, c28 mediumtext,
|
||||||
|
c29 longblob, c30 longtext, c31 enum('one', 'two', 'three'),
|
||||||
|
c32 set('monday', 'tuesday', 'wednesday')
|
||||||
|
) engine = MYISAM ;
|
||||||
|
create table t2 like t1;
|
||||||
|
|
||||||
|
set @stmt= ' explain SELECT (SELECT SUM(c1 + c12 + 0.0) FROM t2 where (t1.c2 - 0e-3) = t2.c2 GROUP BY t1.c15 LIMIT 1) as scalar_s, exists (select 1.0e+0 from t2 where t2.c3 * 9.0000000000 = t1.c4) as exists_s, c5 * 4 in (select c6 + 0.3e+1 from t2) as in_s, (c7 - 4, c8 - 4) in (select c9 + 4.0, c10 + 40e-1 from t2) as in_row_s FROM t1, (select c25 x, c32 y from t2) tt WHERE x * 1 = c25 ' ;
|
||||||
|
prepare stmt1 from @stmt ;
|
||||||
|
execute stmt1 ;
|
||||||
|
execute stmt1 ;
|
||||||
|
explain SELECT (SELECT SUM(c1 + c12 + 0.0) FROM t2 where (t1.c2 - 0e-3) = t2.c2 GROUP BY t1.c15 LIMIT 1) as scalar_s, exists (select 1.0e+0 from t2 where t2.c3 * 9.0000000000 = t1.c4) as exists_s, c5 * 4 in (select c6 + 0.3e+1 from t2) as in_s, (c7 - 4, c8 - 4) in (select c9 + 4.0, c10 + 40e-1 from t2) as in_row_s FROM t1, (select c25 x, c32 y from t2) tt WHERE x * 1 = c25;
|
||||||
|
deallocate prepare stmt1;
|
||||||
|
drop tables t1,t2;
|
||||||
|
|
|
@ -80,3 +80,4 @@ DROP TABLE help_relation;
|
||||||
DROP TABLE help_topic;
|
DROP TABLE help_topic;
|
||||||
|
|
||||||
-- enable_query_log
|
-- enable_query_log
|
||||||
|
|
||||||
|
|
|
@ -99,3 +99,4 @@ drop table test_func;
|
||||||
drop table test_host;
|
drop table test_host;
|
||||||
drop table test_user;
|
drop table test_user;
|
||||||
drop table test_db;
|
drop table test_db;
|
||||||
|
|
||||||
|
|
|
@ -118,13 +118,14 @@ then
|
||||||
cmd="cat"
|
cmd="cat"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Find where mysql_fix_privilege_tables.sql is located
|
# Find where first mysql_fix_privilege_tables.sql is located
|
||||||
for i in $basedir/support-files $basedir/share $basedir/share/mysql \
|
for i in $basedir/support-files $basedir/share $basedir/share/mysql \
|
||||||
$basedir/scripts @pkgdatadir@ . ./scripts
|
$basedir/scripts @pkgdatadir@ . ./scripts
|
||||||
do
|
do
|
||||||
if test -f $i/$file
|
if test -f $i/$file
|
||||||
then
|
then
|
||||||
pkgdatadir=$i
|
pkgdatadir=$i
|
||||||
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,7 @@ class ha_myisam: public handler
|
||||||
}
|
}
|
||||||
uint max_supported_keys() const { return MI_MAX_KEY; }
|
uint max_supported_keys() const { return MI_MAX_KEY; }
|
||||||
uint max_supported_key_length() const { return MI_MAX_KEY_LENGTH; }
|
uint max_supported_key_length() const { return MI_MAX_KEY_LENGTH; }
|
||||||
uint max_supported_key_part_length() { return MI_MAX_KEY_LENGTH; }
|
uint max_supported_key_part_length() const { return MI_MAX_KEY_LENGTH; }
|
||||||
uint checksum() const;
|
uint checksum() const;
|
||||||
|
|
||||||
int open(const char *name, int mode, uint test_if_locked);
|
int open(const char *name, int mode, uint test_if_locked);
|
||||||
|
@ -81,7 +81,7 @@ class ha_myisam: public handler
|
||||||
int index_first(byte * buf);
|
int index_first(byte * buf);
|
||||||
int index_last(byte * buf);
|
int index_last(byte * buf);
|
||||||
int index_next_same(byte *buf, const byte *key, uint keylen);
|
int index_next_same(byte *buf, const byte *key, uint keylen);
|
||||||
int index_end() { ft_handler=NULL; return handler::index_end(); }
|
int index_end() { ft_handler=NULL; return 0; }
|
||||||
int ft_init()
|
int ft_init()
|
||||||
{
|
{
|
||||||
if (!ft_handler)
|
if (!ft_handler)
|
||||||
|
|
|
@ -46,7 +46,7 @@ class ha_myisammrg: public handler
|
||||||
}
|
}
|
||||||
uint max_supported_keys() const { return MI_MAX_KEY; }
|
uint max_supported_keys() const { return MI_MAX_KEY; }
|
||||||
uint max_supported_key_length() const { return MI_MAX_KEY_LENGTH; }
|
uint max_supported_key_length() const { return MI_MAX_KEY_LENGTH; }
|
||||||
uint max_supported_key_part_length() { return MI_MAX_KEY_LENGTH; }
|
uint max_supported_key_part_length() const { return MI_MAX_KEY_LENGTH; }
|
||||||
double scan_time()
|
double scan_time()
|
||||||
{ return ulonglong2double(data_file_length) / IO_SIZE + file->tables; }
|
{ return ulonglong2double(data_file_length) / IO_SIZE + file->tables; }
|
||||||
|
|
||||||
|
|
|
@ -256,7 +256,6 @@ public:
|
||||||
time_t create_time; /* When table was created */
|
time_t create_time; /* When table was created */
|
||||||
time_t check_time;
|
time_t check_time;
|
||||||
time_t update_time;
|
time_t update_time;
|
||||||
enum {NONE=0, INDEX, RND} inited;
|
|
||||||
|
|
||||||
/* The following are for read_range() */
|
/* The following are for read_range() */
|
||||||
key_range save_end_range, *end_range;
|
key_range save_end_range, *end_range;
|
||||||
|
@ -273,6 +272,7 @@ public:
|
||||||
uint raid_type,raid_chunks;
|
uint raid_type,raid_chunks;
|
||||||
FT_INFO *ft_handler;
|
FT_INFO *ft_handler;
|
||||||
bool auto_increment_column_changed;
|
bool auto_increment_column_changed;
|
||||||
|
enum {NONE=0, INDEX, RND} inited;
|
||||||
bool implicit_emptied; /* Can be !=0 only if HEAP */
|
bool implicit_emptied; /* Can be !=0 only if HEAP */
|
||||||
|
|
||||||
|
|
||||||
|
@ -465,14 +465,14 @@ public:
|
||||||
{ return min(MAX_REF_PARTS, max_supported_key_parts()); }
|
{ return min(MAX_REF_PARTS, max_supported_key_parts()); }
|
||||||
uint max_key_length() const
|
uint max_key_length() const
|
||||||
{ return min(MAX_KEY_LENGTH, max_supported_key_length()); }
|
{ return min(MAX_KEY_LENGTH, max_supported_key_length()); }
|
||||||
uint max_key_part_length()
|
uint max_key_part_length() const
|
||||||
{ return min(MAX_KEY_LENGTH, max_supported_key_part_length()); }
|
{ return min(MAX_KEY_LENGTH, max_supported_key_part_length()); }
|
||||||
|
|
||||||
virtual uint max_supported_record_length() const { return HA_MAX_REC_LENGTH; }
|
virtual uint max_supported_record_length() const { return HA_MAX_REC_LENGTH; }
|
||||||
virtual uint max_supported_keys() const { return 0; }
|
virtual uint max_supported_keys() const { return 0; }
|
||||||
virtual uint max_supported_key_parts() const { return MAX_REF_PARTS; }
|
virtual uint max_supported_key_parts() const { return MAX_REF_PARTS; }
|
||||||
virtual uint max_supported_key_length() const { return MAX_KEY_LENGTH; }
|
virtual uint max_supported_key_length() const { return MAX_KEY_LENGTH; }
|
||||||
virtual uint max_supported_key_part_length() { return 255; }
|
virtual uint max_supported_key_part_length() const { return 255; }
|
||||||
virtual uint min_record_length(uint options) const { return 1; }
|
virtual uint min_record_length(uint options) const { return 1; }
|
||||||
|
|
||||||
virtual bool low_byte_first() const { return 1; }
|
virtual bool low_byte_first() const { return 1; }
|
||||||
|
|
|
@ -2532,6 +2532,7 @@ server.");
|
||||||
if (have_innodb != SHOW_OPTION_YES)
|
if (have_innodb != SHOW_OPTION_YES)
|
||||||
sql_print_error("Warning: --innodb-safe-binlog is meaningful only if "
|
sql_print_error("Warning: --innodb-safe-binlog is meaningful only if "
|
||||||
"the InnoDB storage engine is enabled in the server.");
|
"the InnoDB storage engine is enabled in the server.");
|
||||||
|
#ifdef HAVE_INNOBASE_DB
|
||||||
if (innobase_flush_log_at_trx_commit != 1)
|
if (innobase_flush_log_at_trx_commit != 1)
|
||||||
{
|
{
|
||||||
sql_print_error("Warning: --innodb-safe-binlog is meaningful only if "
|
sql_print_error("Warning: --innodb-safe-binlog is meaningful only if "
|
||||||
|
@ -2558,6 +2559,7 @@ server.");
|
||||||
"to 1.");
|
"to 1.");
|
||||||
sync_binlog_period= 1;
|
sync_binlog_period= 1;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ha_init())
|
if (ha_init())
|
||||||
|
|
|
@ -413,7 +413,8 @@ QUICK_SELECT::~QUICK_SELECT()
|
||||||
{
|
{
|
||||||
if (!dont_free)
|
if (!dont_free)
|
||||||
{
|
{
|
||||||
file->ha_index_end();
|
if (file->inited)
|
||||||
|
file->ha_index_end();
|
||||||
free_root(&alloc,MYF(0));
|
free_root(&alloc,MYF(0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -715,6 +716,9 @@ int SQL_SELECT::test_quick_select(THD *thd, key_map keys_to_use,
|
||||||
key++,idx++)
|
key++,idx++)
|
||||||
{
|
{
|
||||||
ha_rows found_records;
|
ha_rows found_records;
|
||||||
|
#if defined(__GNUC__) && (__GNUC__ == 2 && __GNUC_MINOR__ == 95) && defined(__OPTIMIZE__)
|
||||||
|
volatile // gcc 2.95.3 bug in -O3 mode
|
||||||
|
#endif
|
||||||
double found_read_time;
|
double found_read_time;
|
||||||
if (*key)
|
if (*key)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1082,22 +1082,22 @@ static int mysql_test_select(Prepared_statement *stmt,
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
thd->used_tables= 0; // Updated by setup_fields
|
||||||
|
|
||||||
|
// JOIN::prepare calls
|
||||||
|
if (unit->prepare(thd, 0, 0))
|
||||||
|
{
|
||||||
|
send_error(thd);
|
||||||
|
goto err_prep;
|
||||||
|
}
|
||||||
if (lex->describe)
|
if (lex->describe)
|
||||||
{
|
{
|
||||||
if (!text_protocol && send_prep_stmt(stmt, 0))
|
if (!text_protocol && send_prep_stmt(stmt, 0))
|
||||||
goto err;
|
goto err_prep;
|
||||||
|
unit->cleanup();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
thd->used_tables= 0; // Updated by setup_fields
|
|
||||||
|
|
||||||
// JOIN::prepare calls
|
|
||||||
if (unit->prepare(thd, 0, 0))
|
|
||||||
{
|
|
||||||
send_error(thd);
|
|
||||||
goto err_prep;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!text_protocol)
|
if (!text_protocol)
|
||||||
{
|
{
|
||||||
if (send_prep_stmt(stmt, lex->select_lex.item_list.elements) ||
|
if (send_prep_stmt(stmt, lex->select_lex.item_list.elements) ||
|
||||||
|
@ -1665,6 +1665,8 @@ static void reset_stmt_for_execute(Prepared_statement *stmt)
|
||||||
|
|
||||||
for (; sl; sl= sl->next_select_in_list())
|
for (; sl; sl= sl->next_select_in_list())
|
||||||
{
|
{
|
||||||
|
/* remove option which was put by mysql_explain_union() */
|
||||||
|
sl->options&= ~SELECT_DESCRIBE;
|
||||||
/*
|
/*
|
||||||
Copy WHERE clause pointers to avoid damaging they by optimisation
|
Copy WHERE clause pointers to avoid damaging they by optimisation
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -603,7 +603,6 @@ JOIN::optimize()
|
||||||
{
|
{
|
||||||
zero_result_cause= "no matching row in const table";
|
zero_result_cause= "no matching row in const table";
|
||||||
DBUG_PRINT("error",("Error: %s", zero_result_cause));
|
DBUG_PRINT("error",("Error: %s", zero_result_cause));
|
||||||
select_options= 0; //TODO why option in return_zero_rows was droped
|
|
||||||
error= 0;
|
error= 0;
|
||||||
DBUG_RETURN(0);
|
DBUG_RETURN(0);
|
||||||
}
|
}
|
||||||
|
@ -3852,6 +3851,8 @@ JOIN::join_free(bool full)
|
||||||
JOIN_TAB *tab,*end;
|
JOIN_TAB *tab,*end;
|
||||||
DBUG_ENTER("JOIN::join_free");
|
DBUG_ENTER("JOIN::join_free");
|
||||||
|
|
||||||
|
full= full || !select_lex->uncacheable;
|
||||||
|
|
||||||
if (table)
|
if (table)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
|
@ -3863,7 +3864,18 @@ JOIN::join_free(bool full)
|
||||||
free_io_cache(table[const_tables]);
|
free_io_cache(table[const_tables]);
|
||||||
filesort_free_buffers(table[const_tables]);
|
filesort_free_buffers(table[const_tables]);
|
||||||
}
|
}
|
||||||
if (full || !select_lex->uncacheable)
|
|
||||||
|
for (SELECT_LEX_UNIT *unit= select_lex->first_inner_unit(); unit;
|
||||||
|
unit= unit->next_unit())
|
||||||
|
{
|
||||||
|
JOIN *join;
|
||||||
|
for (SELECT_LEX *sl= unit->first_select_in_union(); sl;
|
||||||
|
sl= sl->next_select())
|
||||||
|
if ((join= sl->join))
|
||||||
|
join->join_free(full);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (full)
|
||||||
{
|
{
|
||||||
for (tab= join_tab, end= tab+tables; tab != end; tab++)
|
for (tab= join_tab, end= tab+tables; tab != end; tab++)
|
||||||
tab->cleanup();
|
tab->cleanup();
|
||||||
|
@ -3873,23 +3885,28 @@ JOIN::join_free(bool full)
|
||||||
{
|
{
|
||||||
for (tab= join_tab, end= tab+tables; tab != end; tab++)
|
for (tab= join_tab, end= tab+tables; tab != end; tab++)
|
||||||
{
|
{
|
||||||
if (tab->table && tab->table->file->inited == handler::RND)
|
if (tab->table)
|
||||||
tab->table->file->ha_rnd_end();
|
tab->table->file->ha_index_or_rnd_end();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
We are not using tables anymore
|
We are not using tables anymore
|
||||||
Unlock all tables. We may be in an INSERT .... SELECT statement.
|
Unlock all tables. We may be in an INSERT .... SELECT statement.
|
||||||
*/
|
*/
|
||||||
if ((full || !select_lex->uncacheable) &&
|
if (full && lock && thd->lock && !(select_options & SELECT_NO_UNLOCK) &&
|
||||||
lock && thd->lock &&
|
|
||||||
!(select_options & SELECT_NO_UNLOCK) &&
|
|
||||||
!select_lex->subquery_in_having)
|
!select_lex->subquery_in_having)
|
||||||
{
|
{
|
||||||
mysql_unlock_read_tables(thd, lock);// Don't free join->lock
|
// TODO: unlock tables even if the join isn't top level select in the tree
|
||||||
lock=0;
|
if (select_lex == (thd->lex->unit.fake_select_lex ?
|
||||||
|
thd->lex->unit.fake_select_lex : &thd->lex->select_lex))
|
||||||
|
{
|
||||||
|
mysql_unlock_read_tables(thd, lock); // Don't free join->lock
|
||||||
|
lock=0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (full)
|
if (full)
|
||||||
{
|
{
|
||||||
group_fields.delete_elements();
|
group_fields.delete_elements();
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue