MySQL Server
From WPKG | Open Source Software Deployment and Distribution
This is a silent installer and uninstaller for MySQL. It's best to install it manually first to configure it, but WPKG can be used to update it.
MySQL can be downloaded from https://dev.mysql.com/downloads/mysql/.
Contents
Example Packages
5.5
<?xml version="1.0" encoding="UTF-8"?>
<packages:packages xmlns:packages="http://www.wpkg.org/packages" xmlns:wpkg="http://www.wpkg.org/wpkg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wpkg.org/packages ../xsd/packages.xsd">
<package
id="mysql55"
name="MySQL 5.5"
revision="%PKG_VERSION%"
reboot="false"
priority="50">
<variable name="PKG_VERSION_MAJOR" value="5.5" />
<variable name="PKG_VERSION_REVISION" value="37" />
<variable name="PKG_VERSION" value="%PKG_VERSION_MAJOR%.%PKG_VERSION_REVISION%" />
<variable name="PKG_VERSION_FILE" value="%PKG_VERSION%.0" />
<check type="file" condition="versiongreaterorequal" path="%ProgramFiles%\MySQL\MySQL Server %PKG_VERSION_MAJOR%\bin\mysqld.exe" value="%PKG_VERSION_FILE%" />
<install architecture="x86" cmd='msiexec /qn /i "%SOFTWARE%\mysql\mysql-%PKG_VERSION%-win32.msi" REBOOT=ReallySuppress ALLUSERS=1 DESKTOP_SHORTCUTS=0' />
<install architecture="x64" cmd='msiexec /qn /i "%SOFTWARE%\mysql\mysql-%PKG_VERSION%-winx64.msi" REBOOT=ReallySuppress ALLUSERS=1 DESKTOP_SHORTCUTS=0' />
<upgrade include="install" />
<remove architecture="x86" cmd='msiexec /qn /x {7D0C3006-5D68-46DD-B11B-B896DC373981}' />
<remove architecture="x64" cmd='msiexec /qn /x {49A44E57-83BD-4B10-88C6-2D5D7A843694}' />
</package>
</packages:packages>
5.1
<?xml version="1.0" encoding="UTF-8"?>
<package
id="mysql51"
name="MySQL 5.1"
revision="%PKG_VERSION%"
reboot="false"
priority="50">
<variable name="PKG_VERSION_MAJOR" value="5.1" />
<variable name="PKG_VERSION_REVISION" value="73" />
<variable name="PKG_VERSION" value="%PKG_VERSION_MAJOR%.%PKG_VERSION_REVISION%" />
<variable name="PKG_VERSION_FILE" value="%PKG_VERSION%.0" />
<check type="uninstall" condition="versiongreaterorequal" path="MySQL Server %PKG_VERSION_MAJOR%" value="%PKG_VERSION%" />
<install architecture="x86" cmd='msiexec /qn /i "%SOFTWARE%\mysql\mysql-essential-%PKG_VERSION%-win32.msi" REBOOT=ReallySuppress ALLUSERS=1 DESKTOP_SHORTCUTS=0' />
<install architecture="x64" cmd='msiexec /qn /i "%SOFTWARE%\mysql\mysql-essential-%PKG_VERSION%-winx64.msi" REBOOT=ReallySuppress ALLUSERS=1 DESKTOP_SHORTCUTS=0' />
<upgrade include="install" />
<remove architecture="x86" cmd='msiexec /qn /x {880CAB9F-7D16-40F4-A74C-383364CCA344}' />
<remove architecture="x64" cmd='msiexec /qn /x {6CB8C034-1F5F-44E9-A4A8-D418F91F4B8A}' />
</package>
Uninstall Strings
5.5 (x86)
- 5.5.37 - 7D0C3006-5D68-46DD-B11B-B896DC373981
- 5.5.36 - FF0FEF9C-3692-4536-9E88-9309B9DE9A51
- 5.5.35 - 22A539DB-17EB-4034-A5BA-89407D656842
- 5.5.34 - 1A4735BE-C9C5-4F6E-9C9E-E884A00967C7
- 5.5.32 - D23652B2-1C05-4D4B-9C3D-45DE9AC3953D
- 5.5.30 - 97A0F1B7-5269-4896-AEC0-B1E547DC2FDE
- 5.5.29 - 19040751-EB9B-43D3-88DE-A416E73EE6CB
- 5.5.28 - FFD35D1F-F7C8-47AE-AF3E-E569F025CD7D
- 5.5.27 - 4BCDC6E9-6C2B-46E4-BDC8-2AE0BF97DDA8
- 5.5.25a - DA9F9BCD-7D85-407F-AD5F-409239F8BD04
- 5.5.25 - EED40EDB-B279-42EB-8D42-7E3D521F6E67
- 5.5.24 - 173E5B0E-AD57-4EA4-81F5-19C27EFA6A6E
5.5 (x64)
- 5.5.37 - 49A44E57-83BD-4B10-88C6-2D5D7A843694
- 5.5.36 - EE59C8F0-6138-4276-8E64-A4D3E2662794
- 5.5.35 - 22A539DB-17EB-4034-A5BA-89407D656842
- 5.5.34 - 83E02112-D21A-4BC1-B9AB-54A54F8BD093
- 5.5.32 - BC0E297A-7FCA-41B6-9B96-EC22A11FA448
- 5.5.30 - 99D0C2CF-C95A-4EDD-9245-C213EDEFCDF2
- 5.5.29 - 6150345A-1382-4713-B38B-482388DC7E7B
- 5.5.28 - 5CA882E6-4BF0-4E55-B290-6C4EAD6E586E
- 5.5.27 - 4BCDC6E9-6C2B-46E4-BDC8-2AE0BF97DDA8
- 5.5.25a - 04D42880-78A6-43EC-BAA8-7B1D1B2BB3E7
- 5.5.25 - CFEB0039-1D37-4018-B704-ED3E21ECEFE2
- 5.5.24 - 5A922A3D-993C-44F7-8F40-92DB3BD9940C
5.1 (x86)
- 5.1.73 - 880CAB9F-7D16-40F4-A74C-383364CCA344
- 5.1.72 - FF113E86-81E9-424F-9D45-09E9DA1AC208
- 5.1.71 - 12BB478D-40B4-4221-8E45-37297DB4F6BE
5.1 (x64)
- 5.1.73 - 6CB8C034-1F5F-44E9-A4A8-D418F91F4B8A
- 5.1.72 - 3FD7A109-0FB7-4E06-89AC-3D6E1D4F2AAE
- 5.1.71 - F6419C8F-514B-4FD9-8DA4-42640EF237C2