Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
37f464f3
Commit
37f464f3
authored
Jun 02, 2011
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use our libmysql.dll with HeidiSQL, if we compile 32 bit
parent
58c6165e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
win/packaging/heidisql.cmake
win/packaging/heidisql.cmake
+3
-1
win/packaging/heidisql.wxi.in
win/packaging/heidisql.wxi.in
+10
-2
No files found.
win/packaging/heidisql.cmake
View file @
37f464f3
...
...
@@ -11,10 +11,12 @@ IF(NOT EXISTS ${HEIDISQL_DOWNLOAD_DIR}/${HEIDISQL_ZIP})
${
CMAKE_COMMAND
}
-E tar xfz
${
HEIDISQL_DOWNLOAD_DIR
}
/
${
HEIDISQL_ZIP
}
)
ENDIF
()
SET
(
LIBMYSQLDLL_SOURCE
${
HEIDISQL_DOWNLOAD_DIR
}
/libmysql.dll
)
IF
(
CMAKE_SIZEOF_VOID_P EQUAL 4
)
# Use our libmysql if it is 32 bit.
IF
(
LIBMYSQL_LOCATION
)
CONFIGURE_FILE
(
${
LIBMYSQL_LOCATION
}
${
HEIDISQL_DOWNLOAD_DIR
}
/libmysql.dll COPYONLY
)
SET
(
LIBMYSQLDLL_SOURCE
"
${
LIBMYSQL_LOCATION
}
"
)
ENDIF
()
ENDIF
()
CONFIGURE_FILE
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/heidisql.wxi.in
${
CMAKE_CURRENT_BINARY_DIR
}
/heidisql.wxi
)
...
...
win/packaging/heidisql.wxi.in
View file @
37f464f3
...
...
@@ -11,11 +11,19 @@
<DirectoryRef Id="MariaDBShared">
<Directory Id="D.HeidiSQL" Name="HeidiSQL">
<Component Id="component.HeidiSQL" Guid="96ea3879-5320-4098-8f26-2f655d2f716c" Win64="no">
<RemoveFile Id="PurgeAppFolder" Name="*.*" On="uninstall" />
<File Id="heidisql.gpl.txt" Name="gpl.txt" Source="${HEIDISQL_DOWNLOAD_DIR}\gpl.txt" />
<File Id="heidisql.heidisql.exe" Name="heidisql.exe" Source="${HEIDISQL_DOWNLOAD_DIR}\heidisql.exe" KeyPath="yes">
<Shortcut Id="desktopHeidiSQL" Directory="DesktopFolder" Name="HeidiSQL" Advertise="yes"/>
</File>
<!--
Forced file removal for heidisql.exe might be required.
HeidiSQL is self-updating, thus the version that was installed by MSI not necessarily matches
the version of the file on uninstall. MSI would not touch such file by default and leave it after
uninstallation. We use RemoveFile to force delete in any case.
-->
<RemoveFile Id="Remove_HeidiSQL_exe" Name="heidisql.exe" On="uninstall" />
<File Id="heidisql.license.txt" Name="license.txt" Source="${HEIDISQL_DOWNLOAD_DIR}\license.txt" />
<File Id="heidisql.readme.txt" Name="readme.txt" Source="${HEIDISQL_DOWNLOAD_DIR}\readme.txt" />
</Component>
...
...
@@ -25,7 +33,7 @@
<RemoveRegistryKey Id="HeidiSQL_RegistryCleanup" Root="HKCU" Key="SOFTWARE\HeidiSQL" Action="removeOnUninstall" />
</Component>
<Component Id="component.HeidiSQL_libmysql.dll" Guid="*" Win64="no">
<File Id="heidisql.libmysql.dll" Name="libmysql.dll" Source="${
HEIDISQL_DOWNLOAD_DIR}\libmysql.dll
" />
<File Id="heidisql.libmysql.dll" Name="libmysql.dll" Source="${
LIBMYSQLDLL_SOURCE}
" />
</Component>
</Directory>
</DirectoryRef>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment