summaryrefslogtreecommitdiff
path: root/win/packaging/heidisql.wxi.in
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2011-06-01 15:52:52 +0200
committerVladislav Vaintroub <wlad@montyprogram.com>2011-06-01 15:52:52 +0200
commit02dabe3597be3bd418c1cd28a3172a6b0cce24e3 (patch)
tree3d5103bf2f915c44b9bac0134f8c6254cf65959b /win/packaging/heidisql.wxi.in
parent00752ba43c9034fd77e03a65f2a6be9ea15032d2 (diff)
downloadmariadb-git-02dabe3597be3bd418c1cd28a3172a6b0cce24e3.tar.gz
MWL#200 - provide options to install 3rd party components.
Added HeidiSQL as example, i.e cmake -DWITH_THIRD_PARTY=HeidiSQL and building MSI will bundle HeidiSQL.
Diffstat (limited to 'win/packaging/heidisql.wxi.in')
-rw-r--r--win/packaging/heidisql.wxi.in35
1 files changed, 35 insertions, 0 deletions
diff --git a/win/packaging/heidisql.wxi.in b/win/packaging/heidisql.wxi.in
new file mode 100644
index 00000000000..d47d4ae67c0
--- /dev/null
+++ b/win/packaging/heidisql.wxi.in
@@ -0,0 +1,35 @@
+<Include>
+<Property Id="HEIDISQLINSTALLED" Secure="yes">
+<RegistrySearch Id="HeidiSQL"
+ Root="HKLM"
+ Key="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\HeidiSQL_is1"
+ Name="Install"
+ Type="raw"
+ Win64="no"
+/>
+</Property>
+<Icon Id='heidisql.exe' SourceFile='${THIRD_PARTY_DOWNLOAD_LOCATION}\HeidiSQL\heidisql.exe' />
+<DirectoryRef Id='MariaDBShared'>
+ <Directory Id='D.HeidiSQL' Name='HeidiSQL'>
+ <Component Id='component.HeidiSQL' Guid='96ea3879-5320-4098-8f26-2f655d2f716c' Win64='no'>
+ <File Id='heidisql.gpl.txt' Name='gpl.txt' Source='${THIRD_PARTY_DOWNLOAD_LOCATION}\HeidiSQL\gpl.txt' />
+ <File Id='heidisql.heidisql.exe' Name='heidisql.exe' Source='${THIRD_PARTY_DOWNLOAD_LOCATION}\HeidiSQL\heidisql.exe' KeyPath='yes'>
+ <Shortcut Id="desktopHeidiSQL" Directory="DesktopFolder" Name="HeidiSQL" Icon='heidisql.exe' Advertise='yes'/>
+ </File>
+ <File Id='heidisql.libmysql.dll' Name='libmysql.dll' Source='${THIRD_PARTY_DOWNLOAD_LOCATION}\HeidiSQL\libmysql.dll' />
+ <File Id='heidisql.license.txt' Name='license.txt' Source='${THIRD_PARTY_DOWNLOAD_LOCATION}\HeidiSQL\license.txt' />
+ <File Id='heidisql.portable_settings.txt' Name='portable_settings.txt' Source='${THIRD_PARTY_DOWNLOAD_LOCATION}\HeidiSQL\portable_settings.txt' />
+ <File Id='heidisql.readme.txt' Name='readme.txt' Source='${THIRD_PARTY_DOWNLOAD_LOCATION}\HeidiSQL\readme.txt' />
+ </Component>
+ <Component Id='component.HeidiSQL_MenuShortcut' Guid='*' Win64='no'>
+ <RegistryValue Root="HKCU" Key="Software\@CPACK_WIX_PACKAGE_NAME@\Uninstall" Name="shortcuts.heidisql" Value="1" Type="string" KeyPath="yes" />
+ <Shortcut Id="startmenuHeidiSQL" Directory="ShortcutFolder" Name="HeidiSQL" Target='[D.HeidiSQL]\heidisql.exe'/>
+ </Component>
+ </Directory>
+</DirectoryRef>
+
+<ComponentGroup Id='HeidiSQL'>
+ <ComponentRef Id='component.HeidiSQL'/>
+ <ComponentRef Id='component.HeidiSQL_MenuShortcut'/>
+</ComponentGroup>
+</Include>