AJUDA - MYSQL INSTALACAO
òla pessoal alguem sabe como instalar o mysql junto com setup do meu programa sem que fique aperecendo asistente de instalação do MySQL
kara, de uma pesquisada nos tópicos, pois eu postei a solução recentemente.
FOXMAN eu não achei não cara se tem certeza?[S34]
tenho sim, mas vou postar novamente aki
O Exemplo abaixo é para utilizar com odbc
São necessários todos os arquivos deste script
[txt-size=2]continua[/txt-size]
O Exemplo abaixo é para utilizar com odbc
São necessários todos os arquivos deste script
;MYSQL
Root: HKLM; Subkey: [Ô]SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\RUN[Ô]; ValueType: string; ValueName: [Ô]MySQL[Ô]; ValueData: [Ô]C:\MYSQL\BIN\MYSQLD.EXE[Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; Flags: uninsdeletekey
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: dword; ValueName: [Ô]UsageCount[Ô]; ValueData: [Ô]00000007[Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]Driver[Ô]; ValueData: [Ô]C:\WINDOWS\system32\myodbc3.dll[Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]Setup[Ô]; ValueData: [Ô]C:\WINDOWS\system32\myodbc3S.dll[Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]CPTimeout[Ô]; ValueData: [Ô]<not pooled>[Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]RNAc[Ô]; ValueData: [Ô][Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô] [Ô]; ValueData: [Ô][Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]D[Ô]; ValueData: [Ô][Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]I[Ô]; ValueData: [Ô][Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]Â[Ô]; ValueData: [Ô][Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]pec[Ô]; ValueData: [Ô][Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]FP_NO_HOST_CHECK[Ô]; ValueData: [Ô]NO[Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]HOMEDRIVE[Ô]; ValueData: [Ô]C:[Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]HOMEPATH[Ô]; ValueData: [Ô]\Documents and Settings\Admilson[Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]LOGONSERVER[Ô]; ValueData: [Ô]\\XXXXXXX[Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]NUMBER_OF_PROCESSORS[Ô]; ValueData: [Ô]1[Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]OS[Ô]; ValueData: [Ô]Windows_NT[Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]Path[Ô]; ValueData: [Ô]C:\WINDOWS\system32;C:\WINDOWS[Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]PATHEXT[Ô]; ValueData: [Ô].COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH[Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]PROCESSOR_ARCHITECTURE[Ô]; ValueData: [Ô]x86[Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]PROCESSOR_IDENTIFIER[Ô]; ValueData: [Ô]x86 Family 15 Model 36 Stepping 2, AuthenticAMD[Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]PROCESSOR_LEVEL[Ô]; ValueData: [Ô]15[Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]PROCESSOR_REVISION[Ô]; ValueData: [Ô]2402[Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]ProgramFiles[Ô]; ValueData: [Ô]C:\Arquivos de programas[Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]PROMPT[Ô]; ValueData: [Ô]$P$G[Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]SESSIONNAME[Ô]; ValueData: [Ô]Console[Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]SystemDrive[Ô]; ValueData: [Ô]C:[Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]SystemRoot[Ô]; ValueData: [Ô]C:\WINDOWS[Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]TEMP[Ô]; ValueData: [Ô]C:\TEMP[Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]TMP[Ô]; ValueData: [Ô]C:\TEMP[Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]USERDOMAIN[Ô]; ValueData: [Ô]?DOMAIN[Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]USERNAME[Ô]; ValueData: [Ô]?USER NAME[Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]USERPROFILE[Ô]; ValueData: [Ô][Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]windir[Ô]; ValueData: [Ô]C:\WINDOWS[Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]FP_k[Ô]; ValueData: [Ô][Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]O[Ô]; ValueData: [Ô][Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]T[Ô]; ValueData: [Ô][Ô]
Root: HKLM; Subkey: [Ô]Software\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver[Ô]; ValueType: string; ValueName: [Ô]Ã[Ô]; ValueData: [Ô][Ô]
;system
;Root: HKLM; Subkey: [Ô]SYSTEM\ControlSet001\Services\MySQL[Ô]; Flags: uninsdeletekey
;Root: HKLM; SubKey: [Ô]SYSTEM\ControlSet001\Services\MySQL[Ô]; ValueType: dword; ValueName: [Ô]Type[Ô]; ValueData: [Ô]00000010[Ô]
;Root: HKLM; SubKey: [Ô]SYSTEM\ControlSet001\Services\MySQL[Ô]; ValueType: dword; ValueName: [Ô]Start[Ô]; ValueData: [Ô]00000002[Ô]
;Root: HKLM; SubKey: [Ô]SYSTEM\ControlSet001\Services\MySQL[Ô]; ValueType: dword; ValueName: [Ô]ErrorControl[Ô]; ValueData: [Ô]00000001[Ô]
;Root: HKLM; SubKey: [Ô]SYSTEM\ControlSet001\Services\MySQL[Ô]; ValueType: binary; ValueName: [Ô]ImagePath[Ô]; ValueData: 22 00 43 00 3a 00 5c 00 41 00 72 00 71 00 75 00 69 00 76 00 6f 00 73 00 20 00 64 00 65 00 20 00 70 00 72 00 6f 00 67 00 72 00 61 00 6d 00 61 00 73 00 5c 00 4d 00 79 00 53 00 51 00 4c 00 5c 00 4d 00 79 00 53 00 51 00 4c 00 20 00 53 00 65 00 72 00 76 00 65 00 72 00 20 00 35 00 2e 00 30 00 5c 00 62 00 69 00 6e 00 5c 00 6d 00 79 00 73 00 71 00 6c 00 64 00 2d 00 6e 00 74 00 22 00 20 00 2d 00 2d 00 64 00 65 00 66 00 61 00 75 00 6c 00 74 00 73 00 2d 00 66 00 69 00 6c 00 65 00 3d 00 22 00 43 00 3a 00 5c 00 41 00 72 00 71 00 75 00 69 00 76 00 6f 00 73 00 20 00 64 00 65 00 20 00 70 00 72 00 6f 00 67 00 72 00 61 00 6d 00 61 00 73 00 5c 00 4d 00 79 00 53 00 51 00 4c 00 5c 00 4d 00 79 00 53 00 51 00 4c 00 20 00 53 00 65 00 72 00 76 00 65 00 72 00 20 00 35 00 2e 00 30 00 5c 00 6d 00 79 00 2e 00 69 00 6e 00 69 00 22 00 20 00 4d 00 79 00 53 00 51 00 4c 00 00 00
;Root: HKLM; SubKey: [Ô]SYSTEM\ControlSet001\Services\MySQL[Ô]; ValueType: string; ValueName: [Ô]DisplayName[Ô]; ValueData: [Ô]MySQL[Ô]
;Root: HKLM; SubKey: [Ô]SYSTEM\ControlSet001\Services\MySQL[Ô]; ValueType: string; ValueName: [Ô]ObjectName[Ô]; ValueData: [Ô]LocalSystem[Ô]
;Root: HKLM; Subkey: [Ô]SYSTEM\ControlSet001\Services\MySQL\Security[Ô]; Flags: uninsdeletekey
;Root: HKLM; SubKey: [Ô]SYSTEM\ControlSet001\Services\MySQL\Security[Ô]; ValueType: binary; ValueName: [Ô]ImagePath[Ô]; ValueData:01 00 14 80 90 00 00 00 9c 00 00 00 14 00 00 00 30 00 00 00 02 00 1c 00 01 00 00 00 02 80 14 00 ff 01 0f 00 01 01 00 00 00 00 00 01 00 00 00 00 02 00 60 00 04 00 00 00 00 00 14 00 fd 01 02 00 01 01 00 00 00 00 00 05 12 00 00 00 00 00 18 00 ff 01 0f 00 01 02 00 00 00 00 00 05 20 00 00 00 20 02 00 00 00 00 14 00 8d 01 02 00 01 01 00 00 00 00 00 05 0b 00 00 00 00 00 18 00 fd 01 02 00 01 02 00 00 00 00 00 05 20 00 00 00 23 02 00 00 01 01 00 00 00 00 00 05 12 00 00 00 01 01 00 00 00 00 00 05 12 00 00 00
;Root: HKLM; Subkey: [Ô]SYSTEM\ControlSet001\Services\MySQL\Enum[Ô]; Flags: uninsdeletekey
;Root: HKLM; SubKey: [Ô]SYSTEM\ControlSet001\Services\MySQL\Enum[Ô]; ValueType: string; ValueName: [Ô]0[Ô]; ValueData:[Ô]Root\\LEGACY_MYSQL\\0000[Ô]
;Root: HKLM; SubKey: [Ô]SYSTEM\ControlSet001\Services\MySQL\Enum[Ô]; ValueType: dword; ValueName: [Ô]Count[Ô]; ValueData:[Ô]00000001[Ô]
;Root: HKLM; SubKey: [Ô]SYSTEM\ControlSet001\Services\MySQL\Enum[Ô]; ValueType: dword; ValueName: [Ô]NextInstance[Ô]; ValueData:[Ô]00000001[Ô]
[txt-size=2]continua[/txt-size]
[Files]
;Source: [Ô]D:\BsControl System\Retaguarda\Mysql\Server\*[Ô]; DestDir: [Ô]c:\MySQL[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace sharedfile
Source: [Ô]D:\BsControl System\Retaguarda\Mysql\doc\*[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace sharedfile
Source: [Ô]D:\BsControl System\Retaguarda\Mysql\bin\myodbc3m.exe[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace sharedfile
Source: [Ô]D:\BsControl System\Retaguarda\Mysql\bin\myodbc3c.exe[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace sharedfile
Source: [Ô]D:\BsControl System\Retaguarda\Mysql\bin\myodbc3i.exe[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace sharedfile
Source: [Ô]D:\BsControl System\Retaguarda\Mysql\lib\myodbc3.lib[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace sharedfile
Source: [Ô]D:\BsControl System\Retaguarda\Mysql\lib\myodbc3.dll[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace sharedfile
Source: [Ô]D:\BsControl System\Retaguarda\Mysql\lib\myodbc3S.lib[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace sharedfile
Source: [Ô]D:\BsControl System\Retaguarda\Mysql\lib\myodbc3S.dll[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace sharedfile
Source: [Ô]D:\BsControl System\Retaguarda\Mysql\lib\msvcr71.dll[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace sharedfile
Source: [Ô]D:\BsControl System\Retaguarda\Bin\MSWORD.OLB[Ô]; DestDir: [Ô]{app}\bin[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace sharedfile
Source: [Ô]D:\BsControl System\Retaguarda\Mysql\lib\*[Ô]; DestDir: [Ô]{app}\Mysql\lib[Ô]; Flags: ignoreversion
Source: [Ô]D:\BsControl System\Retaguarda\Mysql\doc\*[Ô]; DestDir: [Ô]{app}\Mysql\doc[Ô]; Flags: ignoreversion
Source: [Ô]D:\BsControl System\Retaguarda\Mysql\bin\*[Ô]; DestDir: [Ô]{app}\Mysql\BIN[Ô]; Flags: ignoreversion
[Run]
Filename: {sys}\myodbc3i; Parameters: [Ô]-a -d -t MySQL ODBC 3.51 Driver;DRIVER=myodbc3.dll;SETUP=myodbc3S.dll[Ô]
;Filename: [Ô]{app}\BSControl.exe[Ô]; Description: [Ô]{cm:LaunchProgram,BsControl System}[Ô]; Flags: nowait postinstall skipifsilent
Filename: [Ô]c:\MySQL\MySQL6.0.2.exe[Ô]; Description: [Ô]{cm:LaunchProgram,MySQL}[Ô]; Flags: postinstall skipifsilent
[txt-size=2] Existem outras formas de se fazer isso.... este exemplo eu ainda utilizava o vb6 [/txt-size]
infeliz mente cara ue fis tudo certinho mais ainda continua o aparecendo o asistente do mysql para instalação
Então utilize a versão não instalavel do mysql(non-install) e apenas crie o diretório e copie os arquivos para ele.
via script tu cria o banco e as tabelas.
via script tu cria o banco e as tabelas.
eu que to tendo fazer foxman agora
Tópico encerrado , respostas não são mais permitidas