summaryrefslogtreecommitdiff
path: root/qpid/packaging/windows/qpidc.wxs
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2010-03-23 22:27:57 +0000
committerStephen D. Huston <shuston@apache.org>2010-03-23 22:27:57 +0000
commit914fcb4f8d8aaa6009dc1d06b917fe69b7ce3361 (patch)
treee74de018c263a163f172991285fc1ea010ebb151 /qpid/packaging/windows/qpidc.wxs
parent8b72113d3a9ed5ea32f5a48642f988e1548a0527 (diff)
downloadqpid-python-914fcb4f8d8aaa6009dc1d06b917fe69b7ce3361.tar.gz
Initial Windows installer builder combining C++ and WCF components in a WiX-based installer. Merged in from 0.6-release-windows-installer branch r926803
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@926815 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/packaging/windows/qpidc.wxs')
-rw-r--r--qpid/packaging/windows/qpidc.wxs197
1 files changed, 197 insertions, 0 deletions
diff --git a/qpid/packaging/windows/qpidc.wxs b/qpid/packaging/windows/qpidc.wxs
new file mode 100644
index 0000000000..6b2857f182
--- /dev/null
+++ b/qpid/packaging/windows/qpidc.wxs
@@ -0,0 +1,197 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
+ <Product Id="818aca03-2bed-4baf-8408-361c29e8b6a4"
+ Name="Apache Qpid $(var.qpidc_version)"
+ Language="1033"
+ Version="$(var.qpidc_version).0.0"
+ Manufacturer="Apache Software Foundation"
+ UpgradeCode="006510A1-3D2F-4fa6-BF23-4F76AD68D6AF">
+
+ <Package Description="Apache Qpid C++ for Windows"
+ Manufacturer="Apache Software Foundation"
+ Id="*"
+ InstallerVersion="200"
+ Compressed="yes" />
+
+ <Media Id="1" Cabinet="qpidc.cab" EmbedCab="yes" />
+
+ <!-- Allow 64-bit builds to pick ProgramFiles64Folder instead -->
+ <? Define ProgramFiles = "ProgramFilesFolder"?>
+
+ <Directory Id="TARGETDIR" Name="SourceDir">
+ <Directory Id="$(var.ProgramFiles)">
+ <Directory Id="ApacheTop" Name="Apache">
+ <Directory Id="INSTALLLOCATION" Name="qpidc-$(var.qpidc_version)">
+ <Directory Id="QpidBin" Name="bin"/>
+ <Directory Id="QpidInclude" Name="include"/>
+ <Directory Id="QpidExamples" Name="examples"/>
+ <Directory Id="QpidDoc" Name="docs">
+ <Directory Id="QpidDocAPI" Name="api"/>
+ </Directory>
+<!-- Make this a link to the apache web site with the tarball -->
+ <!-- Directory Id="QpidSrcDist" Name="srcdist"/ -->
+ </Directory>
+ </Directory>
+ </Directory>
+ <Directory Id="ProgramMenuFolder">
+ <Directory Id="ApplicationProgramsFolder" Name="Apache Qpid"/>
+ </Directory>
+
+ </Directory>
+
+ <DirectoryRef Id="INSTALLLOCATION">
+ <Component Id="InstallNotes" Guid="{10A64ABE-B3F7-40c0-88F1-E0AD71467A3E}">
+ <File Id="InstallNotesHTML" Source="INSTALL_NOTES.html"/>
+ </Component>
+ </DirectoryRef>
+
+ <DirectoryRef Id="QpidBin">
+ <Component Id="Broker_Release" Guid="c65883b5-0119-4704-9770-1c3369a8acd7">
+ <File Id="BrokerEXE" Source="$(var.staging_dir)\bin\qpidd.exe"/>
+ <File Id="BrokerDLL" Source="$(var.staging_dir)\bin\qpidbroker.dll"/>
+ </Component>
+ <Component Id="CommonLib_Debug" Guid="CE7DDC23-78F9-4DE3-A8BB-9E9652A413DC">
+ <File Id="CommonDebugLIB" Source="$(var.staging_dir)\bin\qpidcommond.lib"/>
+ <File Id="CommonDebugDLL" Source="$(var.staging_dir)\bin\qpidcommond.dll"/>
+ <File Id="CommonDebugPDB" Source="$(var.staging_dir)\bin\qpidcommond.pdb"/>
+
+ <Environment Id="envPath" Separator=";" Action="set" Permanent="no"
+ Name="PATH" System="no" Part="last" Value="[QpidBin]"/>
+ </Component>
+ <Component Id="CommonLib_Release" Guid="BB2FA938-25CB-498e-A3D8-D6C475B82853">
+ <File Id="CommonReleaseLIB" Source="$(var.staging_dir)\bin\qpidcommon.lib"/>
+ <File Id="CommonReleaseDLL" Source="$(var.staging_dir)\bin\qpidcommon.dll"/>
+ <!-- File Id="CommonReleasePDB" Source="$(var.staging_dir)\bin\qpidcommon.pdb"/ -->
+ </Component>
+ <Component Id="ClientLib_Debug" Guid="2AB8EA8C-8AD5-4A8E-8CB3-E525A59962A3">
+ <File Id="ClientDebugLIB" Source="$(var.staging_dir)\bin\qpidclientd.lib"/>
+ <File Id="ClientDebugDLL" Source="$(var.staging_dir)\bin\qpidclientd.dll"/>
+ <File Id="ClientDebugPDB" Source="$(var.staging_dir)\bin\qpidclientd.pdb"/>
+ </Component>
+ <Component Id="ClientLib_Release" Guid="7312671F-CE68-4fac-ACF1-E6D90EA5F070">
+ <File Id="ClientReleaseLIB" Source="$(var.staging_dir)\bin\qpidclient.lib"/>
+ <File Id="ClientReleaseDLL" Source="$(var.staging_dir)\bin\qpidclient.dll"/>
+ <!-- File Id="ClientReleasePDB" Source="$(var.staging_dir)\bin\qpidclient.pdb"/ -->
+ </Component>
+ <Component Id="ClientWCFDLL" Guid="FF88DEAF-59BC-4846-993A-0D317E094DF4">
+ <File Id="ChannelDLL" Source="$(var.staging_dir)\bin\Apache.Qpid.Channel.dll"/>
+ <File Id="InteropDLL" Source="$(var.staging_dir)\bin\Apache.Qpid.Interop.dll"/>
+ <File Id="XARMDLL" Source="$(var.staging_dir)\bin\qpidxarm.dll"/>
+ </Component>
+
+ <Component Id="QMFConsoleLib_Debug" Guid="B5169DDE-B4E8-4c5e-A507-DDFA1DF8DDF8">
+ <File Id="QMFConsoleDebugLIB" Source="$(var.staging_dir)\bin\qmfconsoled.lib"/>
+ <File Id="QMFConsoleDebugDLL" Source="$(var.staging_dir)\bin\qmfconsoled.dll"/>
+ <File Id="QMFConsoleDebugPDB" Source="$(var.staging_dir)\bin\qmfconsoled.pdb"/>
+ </Component>
+ <Component Id="QMFConsoleLib_Release" Guid="5DD7ADAC-D944-4694-A4F2-0022B7A6931E">
+ <File Id="QMFConsoleReleaseLIB" Source="$(var.staging_dir)\bin\qmfconsole.lib"/>
+ <File Id="QMFConsoleReleaseDLL" Source="$(var.staging_dir)\bin\qmfconsole.dll"/>
+ <!-- File Id="QMFConsoleReleasePDB" Source="$(var.staging_dir)\bin\qmfconsole.pdb"/ -->
+ </Component>
+
+ </DirectoryRef>
+
+ <!-- DirectoryRef Id="QpidSrcDist">
+ <Component Id="DistroSrc" Guid="{0D2C11F3-B3B6-4d4b-9569-08097A4D0D1A}">
+ <File Id="DistroTAR" Source="..\qpid-cpp-0.5.tar.gz"/>
+ </Component>
+ </DirectoryRef -->
+
+ <DirectoryRef Id="ApplicationProgramsFolder">
+ <Component Id="APIDocShortcut" Guid="{B95A28E2-E2B5-4f31-93C3-24B010701F30}">
+ <Shortcut Id="APIDocsShortcut"
+ Name="Qpid C++ Reference Documentation"
+ Description="Shortcut to HTML reference documentation"
+ Target="[INSTALLLOCATION]docs\api\html\index.html" />
+ <RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/>
+ <RegistryValue Root="HKCU" Key="Software\Apache\qpidc" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
+ </Component>
+ </DirectoryRef>
+
+ <Feature Id="ProductFeature" Title="Apache Qpid C++" Level="1"
+ Display="expand" ConfigurableDirectory="INSTALLLOCATION"
+ TypicalDefault="install">
+ <ComponentRef Id="InstallNotes"/>
+
+ <Feature Id="Broker" Title="Broker: Routes and queues messages" Level="1">
+ <ComponentRef Id="Broker_Release"/>
+ <ComponentRef Id="CommonLib_Release"/>
+ <ComponentGroupRef Id="group_BoostDlls"/>
+ </Feature>
+
+ <Feature Id="ClientLib" Title="Client Libraries and Headers to develop and run programs" Level="1">
+ <ComponentRef Id="CommonLib_Debug"/>
+ <ComponentRef Id="CommonLib_Release"/>
+ <ComponentRef Id="ClientLib_Debug"/>
+ <ComponentRef Id="ClientLib_Release"/>
+ <ComponentRef Id="QMFConsoleLib_Debug"/>
+ <ComponentRef Id="QMFConsoleLib_Release"/>
+ <ComponentRef Id="ClientWCFDLL"/>
+ <ComponentGroupRef Id="group_QpidHeaders"/>
+ <ComponentGroupRef Id="group_BoostHeaders"/>
+ <ComponentGroupRef Id="group_BoostDlls"/>
+
+ <Feature Id="Examples" Title="Client Programming Examples" Level="1">
+ <ComponentGroupRef Id="group_Examples"/>
+ </Feature>
+ </Feature>
+
+ <Feature Id="APIDocs" Title="Client C++ API Reference Documentation" Level="1">
+ <ComponentRef Id="APIDocShortcut"/>
+ <ComponentGroupRef Id="group_APIDocs"/>
+ </Feature>
+
+ <!-- Feature Id="FullDistro" Title="Full C++ Source in a zip file" Level="3">
+ <ComponentRef Id="DistroSrc"/>
+ </Feature -->
+ </Feature>
+
+ <Icon Id="QpidIcon.exe" SourceFile="qpid-icon.ico"/>
+ <Property Id="ARPPRODUCTICON" Value="QpidIcon.exe" />
+ <Property Id="ALLUSERS" Value="1"/>
+
+ <UI>
+ <UIRef Id="WixUI_FeatureTree" />
+ <Publish Dialog="ExitDialog"
+ Control="Finish"
+ Event="DoAction"
+ Value="LaunchApplication">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed</Publish>
+
+ </UI>
+
+ <WixVariable Id="WixUILicenseRtf" Value="LICENSE.rtf" />
+ <WixVariable Id="WixUIBannerBmp" Value="qpid-asf-banner.bmp" />
+ <WixVariable Id="WixUIDialogBmp" Value="qpid-asf-bkgrd.bmp" />
+
+ <!-- Launch the install notes optionally on finish -->
+ <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT"
+ Value="View the installation notes for more information"/>
+ <Property Id='WIXUI_EXITDIALOGOPTIONALCHECKBOX' Value='1' />
+ <Property Id="WixShellExecTarget" Value="[#InstallNotesHTML]" />
+ <CustomAction Id="LaunchApplication" BinaryKey="WixCA"
+ DllEntry="WixShellExec" Impersonate="yes" />
+
+ </Product>
+</Wix>