summaryrefslogtreecommitdiff
path: root/qpid/packaging/windows
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/packaging/windows')
-rw-r--r--qpid/packaging/windows/INSTALL_NOTES.html95
-rw-r--r--qpid/packaging/windows/LICENSE.rtf110
-rw-r--r--qpid/packaging/windows/build_installer.bat55
-rw-r--r--qpid/packaging/windows/installer.proj248
-rw-r--r--qpid/packaging/windows/qpid-icon.icobin0 -> 52972 bytes
-rw-r--r--qpid/packaging/windows/qpid-install-background.bmpbin0 -> 155830 bytes
-rw-r--r--qpid/packaging/windows/qpid-install-banner.bmpbin0 -> 29846 bytes
-rw-r--r--qpid/packaging/windows/qpidc.wxs340
8 files changed, 848 insertions, 0 deletions
diff --git a/qpid/packaging/windows/INSTALL_NOTES.html b/qpid/packaging/windows/INSTALL_NOTES.html
new file mode 100644
index 0000000000..f8e109cb36
--- /dev/null
+++ b/qpid/packaging/windows/INSTALL_NOTES.html
@@ -0,0 +1,95 @@
+<html>
+<head>
+<title>Apache Qpid C++ 0.10 Installation Notes</title>
+</head>
+<body>
+<H1>Apache Qpid C++ 0.10 Installation Notes</H1>
+
+<p>Thank you for installing Apache Qpid version 0.10 for Windows.
+If the requisite features were installed, you can now run a broker,
+use the example programs, and design your own messaging programs while
+reading the Qpid C++ API reference documentation.</p>
+
+<H2>Running a Message Broker</H2>
+<p>
+In AMQP, programs that send and receive messages are clients. The agents
+that route and queue messages to and from clients are brokers. In order to
+use any Qpid-based messaging program there must be at least one broker
+running which the client(s) can communicate with. The broker need not execute
+on the same system as the client, but it must be reachable using TCP/IP.</p>
+
+<p>The broker executable is installed in the <code>bin</code> subdirectory
+of your Qpid installation directory. The broker program is
+<code>qpidd.exe</code>. The installation procedure adds the Qpid bin
+directory to the PATH environment variable, so the simplest way to experiment
+with the broker is to open a command prompt window and execute the broker:
+<pre>
+qpidd
+</pre>
+A small amount of information will be displayed to let you know the broker
+is running and listening for client connections.</p>
+<p>To stop the broker, you can simply type <code>^C</code> in the
+command prompt window where the broker is running.</p>
+
+<p>For a full list of options for the broker, you can use the
+<code>--help</code> option.</p>
+
+<H2>Using the Example Programs</H2>
+
+<p>The example programs are located in the <code>examples</code> subdirectory
+of the Qpid installation directory. There are a number of examples, each with
+its own subdirectory under <code>examples</code>. You can use the examples to
+<ul>
+<li>Study to learn Qpid programming techniques you may want to use</li>
+<li>Build and run to observe and test Qpid features</li>
+</ul>
+Each example's directory contains source code and Visual Studio 2008 project
+files you can use to build the examples.</p>
+
+<H2>Reading the C++ API Reference Documentation</H2>
+<p>The C++ API reference documentation is HTML and can be viewed using
+your web browser. It is located in the <code>docs\api\html</code> subdirectory
+of the installation directory, but there is also a shortcut to the
+documentation in <i>Start > All Programs > Apache Qpid > Qpid C++ Reference
+Documentation</i>. Selecting that menu item will launch the documentation's
+main page in your default web browser.</p>
+
+<H2>Complete Source Code is Available</H2>
+<p>If you wish to view Qpid's source code, please visit
+<a href="http://qpid.apache.org/download.html">
+http://qpid.apache.org/download.html</a>. The source components used to build
+this installed kit are "C++ broker &amp; client" and "C# (.NET, WCF) WCF
+channel (C++ Broker Compatible)."</p>
+
+<H1>Notes</H1>
+<p>Please read the following sections for important notes regarding this
+release.</p>
+
+<H2>CLFS-Based Broker Persistence Module</H2>
+<p>This release includes a second persistence module. The broker can use this
+module to facilitate durable queues, exchanges, bindings, configuration, and
+messages. The new persistence module, like the SQL-based store introduced in
+Qpid 0.6, uses SQL Server Express (or SQL Server) 2005 or newer. However, it
+also used Common Log File System (CLFS) to store message and transaction-related
+information. CLFS and, thus, the new store, is available on Windows Vista and
+Server 2005 and newer.
+The persistence module is a Qpid broker plugin. It is not loaded by
+default; therefore, to gain support for durable items the persistence plugin
+must be loaded into the broker. This can be done using the
+<code>--load-module</code> option to load the needed plugins. For example:
+<pre>
+cd "C:\Program Files\Apache\qpidc-0.9"
+qpidd.exe --load-module plugins\broker\store.dll --load-module plugins\broker\msclfs_store.dll
+</pre>
+The <code>--load-module</code> option can also take a full path. The option
+can also be included in the broker configuration file. A sample is located
+in the <code>conf\qpidd.conf</code> file under the installation directory.</p>
+
+<H1>For More Information</H1>
+<p>For more information on Apache Qpid, please visit the web site
+<a href="http://qpid.apache.org/">http://qpid.apache.org/</a>.</p>
+
+<p>The Qpid site contains more information about Qpid and AMQP as well as
+directions for joining and reading the Qpid-related email lists.</p>
+</body>
+</html>
diff --git a/qpid/packaging/windows/LICENSE.rtf b/qpid/packaging/windows/LICENSE.rtf
new file mode 100644
index 0000000000..04fddfe8b6
--- /dev/null
+++ b/qpid/packaging/windows/LICENSE.rtf
@@ -0,0 +1,110 @@
+{\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 Courier New;}}
+{\*\generator Msftedit 5.41.21.2500;}\viewkind4\uc1\pard\qc\lang1033\f0\fs20 Apache License\par
+Version 2.0, January 2004\par
+http://www.apache.org/licenses/\par
+\pard\par
+TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\par
+\par
+1. Definitions.\par
+\par
+"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.\par
+\par
+"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.\par
+\par
+"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.\par
+\par
+"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.\par
+\par
+"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation, source, and configuration files.\par
+\par
+"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.\par
+\par
+"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).\par
+\par
+"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.\par
+\par
+"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."\par
+\par
+"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.\par
+\par
+2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.\par
+\par
+3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license plies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.\par
+\par
+4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:\par
+\par
+ (a) You must give any other recipients of the Work or\par
+ Derivative Works a copy of this License; and\par
+\par
+ (b) You must cause any modified files to carry prominent notices\par
+ stating that You changed the files; and\par
+\par
+ (c) You must retain, in the Source form of any Derivative Works\par
+ that You distribute, all copyright, patent, trademark, and\par
+ attribution notices from the Source form of the Work,\par
+ excluding those notices that do not pertain to any part of\par
+ the Derivative Works; and\par
+\par
+ (d) If the Work includes a "NOTICE" text file as part of its\par
+ distribution, then any Derivative Works that You distribute\par
+ must include a readable copy of the attribution notices\par
+ contained within such NOTICE file, excluding those notices\par
+ that do not pertain to any part of the Derivative Works, in\par
+ at least one of the following places: within a NOTICE text\par
+ file distributed as part of the Derivative Works; within the\par
+ Source form or documentation, if provided along with the\par
+ Derivative Works; or, within a display generated by the\par
+ Derivative Works, if and wherever such third-party notices\par
+ normally appear. The contents of the NOTICE file are for\par
+ informational purposes only and do not modify the License.\par
+ You may add Your own attribution notices within Derivative\par
+ Works that You distribute, alongside or as an addendum to the\par
+ NOTICE text from the Work, provided that such additional\par
+ attribution notices cannot be construed as modifying the\par
+ License.\par
+\par
+You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.\par
+\par
+5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.\par
+\par
+6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.\par
+\par
+7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.\par
+\par
+8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.\par
+\par
+9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.\par
+\par
+END OF TERMS AND CONDITIONS\par
+\par
+APPENDIX: How to apply the Apache License to your work.\par
+\par
+To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.\par
+\par
+ Copyright [yyyy] [name of copyright owner]\par
+\par
+ Licensed under the Apache License, Version 2.0 (the "License");\par
+ you may not use this file except in compliance with the License.\par
+ You may obtain a copy of the License at\par
+\par
+ http://www.apache.org/licenses/LICENSE-2.0\par
+\par
+ Unless required by applicable law or agreed to in writing, software\par
+ distributed under the License is distributed on an "AS IS" BASIS,\par
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\par
+ implied. See the License for the specific language governing\par
+ permissions and limitations under the License.\par
+\par
+=======================================================================\par
+\par
+Boost Software License - Version 1.0 - August 17th, 2003\par
+\par
+Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following:\par
+\par
+The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor.\par
+\par
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\par
+\par
+\par
+}
+
diff --git a/qpid/packaging/windows/build_installer.bat b/qpid/packaging/windows/build_installer.bat
new file mode 100644
index 0000000000..addc33f32b
--- /dev/null
+++ b/qpid/packaging/windows/build_installer.bat
@@ -0,0 +1,55 @@
+rem
+rem Licensed to the Apache Software Foundation (ASF) under one
+rem or more contributor license agreements. See the NOTICE file
+rem distributed with this work for additional information
+rem regarding copyright ownership. The ASF licenses this file
+rem to you under the Apache License, Version 2.0 (the
+rem "License"); you may not use this file except in compliance
+rem with the License. You may obtain a copy of the License at
+rem
+rem http://www.apache.org/licenses/LICENSE-2.0
+rem
+rem Unless required by applicable law or agreed to in writing,
+rem software distributed under the License is distributed on an
+rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+rem KIND, either express or implied. See the License for the
+rem specific language governing permissions and limitations
+rem under the License.
+
+@set vshome="%ProgramFiles%\Microsoft Visual Studio 9.0"
+if "%ProgramFiles(x86)%" == "" goto x86only
+@set vshome="%ProgramFiles(x86)%\Microsoft Visual Studio 9.0"
+if /i %1 == x86 goto x86
+if /i %1 == x64 goto x64
+echo Error in script usage. The correct usage is:
+echo %0 [arch]
+echo where [arch] is: x86 ^| x64
+goto :eof
+
+:x86only
+@set vsarch=x86
+@set bits=32
+goto run
+
+:x86
+@set vsarch=x86
+@set bits=32
+goto run
+
+:x64
+@set vsarch=amd64
+@set bits=64
+
+:run
+rem Two environment variables need to be set:
+rem QPID_BUILD_ROOT: root of the build directory; $cwd\build unless the
+rem build_dir property is set in msbuild properties below.
+rem BOOST_ROOT: root of the Boost installation
+
+set QPID_BUILD_ROOT=%CD%\build
+
+rem If the local cmake needs help, add options to the cmake_options property.
+rem For example: cmake_options="-DBOOST_INCLUDE_DIR=C:/Boost/boost-1_40
+rem -DBOOST_LIBRARYDIR=C:/Boost/boost-1_40/lib64"
+call %vshome%\VC\vcvarsall.bat %vsarch%
+msbuild /property:bits=%bits% installer.proj
diff --git a/qpid/packaging/windows/installer.proj b/qpid/packaging/windows/installer.proj
new file mode 100644
index 0000000000..8481c7b8a2
--- /dev/null
+++ b/qpid/packaging/windows/installer.proj
@@ -0,0 +1,248 @@
+<!--
+ 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.
+-->
+
+<!--
+ Packaging script for Apache Qpid on Windows
+
+ Builds the C++, .NET, and WCF components, and packages those along with user
+ documentation and the python pieces needed to generate QMF stuff.
+-->
+
+<Project DefaultTargets="Clean;Installer"
+ xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+ <PropertyGroup>
+ <build_dir>$(MSBuildProjectDirectory)\build</build_dir>
+ <source_root>$(MSBuildProjectDirectory)\..\..</source_root>
+ <staging_dir>$(MSBuildProjectDirectory)\stage</staging_dir>
+ <bits Condition="'$(bits)' == ''">32</bits>
+ <OutputName>qpidc</OutputName>
+ <OutputType>Package</OutputType>
+ <WixToolPath>C:\Program Files (x86)\Windows Installer XML v3.5\bin</WixToolPath>
+ <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.5\wix.targets</WixTargetsPath>
+ </PropertyGroup>
+
+ <Choose>
+ <When Condition="'$(bits)' == '64'">
+ <PropertyGroup>
+ <ProgramFiles>ProgramFiles64Folder</ProgramFiles>
+ <CmakeGenerator>%22Visual Studio 9 2008 Win64%22</CmakeGenerator>
+ <Architecture>x64</Architecture>
+ <CSProjArchitecture>x64</CSProjArchitecture>
+ <DotNetBindingsArchitecture>x64</DotNetBindingsArchitecture>
+ </PropertyGroup>
+ </When>
+ <Otherwise>
+ <PropertyGroup>
+ <ProgramFiles>ProgramFilesFolder</ProgramFiles>
+ <CmakeGenerator>%22Visual Studio 9 2008%22</CmakeGenerator>
+ <Architecture>x86</Architecture>
+ <CSProjArchitecture>Win32</CSProjArchitecture>
+ <DotNetBindingsArchitecture>Win32</DotNetBindingsArchitecture>
+ </PropertyGroup>
+ </Otherwise>
+ </Choose>
+
+ <ItemGroup>
+ <CppDebugProjects Include="$(build_dir)\src\qpidtypes.vcproj"/>
+ <CppDebugProjects Include="$(build_dir)\src\qpidcommon.vcproj"/>
+ <CppDebugProjects Include="$(build_dir)\src\qpidclient.vcproj"/>
+ <CppDebugProjects Include="$(build_dir)\src\qpidmessaging.vcproj"/>
+ <CppDebugProjects Include="$(build_dir)\src\qmfconsole.vcproj"/>
+ </ItemGroup>
+
+ <ItemGroup>
+ <CppDebugArtifacts Include="$(build_dir)\src\Debug\qpidtypesd.dll"/>
+ <CppDebugArtifacts Include="$(build_dir)\src\Debug\qpidtypesd.lib"/>
+ <CppDebugArtifacts Include="$(build_dir)\src\Debug\qpidtypesd.pdb"/>
+ <CppDebugArtifacts Include="$(build_dir)\src\Debug\qpidcommond.dll"/>
+ <CppDebugArtifacts Include="$(build_dir)\src\Debug\qpidcommond.lib"/>
+ <CppDebugArtifacts Include="$(build_dir)\src\Debug\qpidcommond.pdb"/>
+ <CppDebugArtifacts Include="$(build_dir)\src\Debug\qpidclientd.dll"/>
+ <CppDebugArtifacts Include="$(build_dir)\src\Debug\qpidclientd.lib"/>
+ <CppDebugArtifacts Include="$(build_dir)\src\Debug\qpidclientd.pdb"/>
+ <CppDebugArtifacts Include="$(build_dir)\src\Debug\qpidmessagingd.dll"/>
+ <CppDebugArtifacts Include="$(build_dir)\src\Debug\qpidmessagingd.lib"/>
+ <CppDebugArtifacts Include="$(build_dir)\src\Debug\qpidmessagingd.pdb"/>
+ <CppDebugArtifacts Include="$(build_dir)\src\Debug\qmfconsoled.dll"/>
+ <CppDebugArtifacts Include="$(build_dir)\src\Debug\qmfconsoled.lib"/>
+ <CppDebugArtifacts Include="$(build_dir)\src\Debug\qmfconsoled.pdb"/>
+ </ItemGroup>
+
+ <ItemGroup>
+ <WcfProjects Include="$(source_root)\wcf\src\Apache\Qpid\**\*.csproj"/>
+ <WcfArtifacts Include="$(source_root)\wcf\src\Apache\Qpid\Channel\bin\Release\Apache.Qpid.Channel.dll"/>
+ <WcfArtifacts Include="$(source_root)\wcf\src\Apache\Qpid\Channel\bin\Release\Apache.Qpid.Interop.dll"/>
+ <WcfExamples Include="$(source_root)\wcf\samples\**\*"
+ Exclude="$(source_root)\wcf\samples\**\.svn\**"/>
+ </ItemGroup>
+
+ <ItemGroup>
+ <DotNetBindingArtifacts Include="$(build_dir)\src\Release\org.apache.qpid.messaging.dll"/>
+ <DotNetBindingArtifacts Include="$(build_dir)\src\Release\org.apache.qpid.messaging.pdb"/>
+ <DotNetBindingArtifacts Include="$(build_dir)\src\Release\org.apache.qpid.messaging.sessionreceiver.dll"/>
+ <DotNetBindingArtifacts Include="$(build_dir)\src\Release\org.apache.qpid.messaging.sessionreceiver.pdb"/>
+ </ItemGroup>
+
+ <ItemGroup>
+ <DotNetBindingDebugArtifacts Include="$(build_dir)\src\Debug\org.apache.qpid.messaging.dll"/>
+ <DotNetBindingDebugArtifacts Include="$(build_dir)\src\Debug\org.apache.qpid.messaging.pdb"/>
+ <DotNetBindingDebugArtifacts Include="$(build_dir)\src\Debug\org.apache.qpid.messaging.sessionreceiver.dll"/>
+ <DotNetBindingDebugArtifacts Include="$(build_dir)\src\Debug\org.apache.qpid.messaging.sessionreceiver.pdb"/>
+ </ItemGroup>
+
+ <ItemGroup>
+ <BoostDlls Include="$(staging_dir)\bin\boost_*.dll"/>
+ </ItemGroup>
+
+ <ItemGroup>
+ <WixExtension Include="WixUtilExtension">
+ <HintPath>$(WixToolPath)\WixUtilExtension.dll</HintPath>
+ </WixExtension>
+ <WixExtension Include="WixUIExtension">
+ <HintPath>$(WixToolPath)\WixUIExtension.dll</HintPath>
+ </WixExtension>
+ </ItemGroup>
+ <Import Project="$(WixTargetsPath)" />
+
+
+ <Target Name="Clean">
+ <RemoveDir
+ Directories="$(build_dir);$(staging_dir)" />
+ </Target>
+
+ <Target Name="MakeBuildDirs">
+ <MakeDir
+ Directories="$(build_dir);$(staging_dir)" />
+ </Target>
+
+ <Target Name="Configure" DependsOnTargets="MakeBuildDirs">
+ <Message Text="build: $(build_dir)"/>
+ <Message Text="stage: $(staging_dir)"/>
+ <Exec
+ Command="cmake -G $(CmakeGenerator) -DCMAKE_INSTALL_PREFIX=$(staging_dir) $(cmake_options) $(source_root)\cpp"
+ WorkingDirectory="$(build_dir)" />
+ </Target>
+
+ <Target Name="BuildCpp" DependsOnTargets="Configure">
+ <!-- Using VCBuild here with a set of vcproj files misses the
+ dependencies, so use devenv to pick up everything. -->
+ <!-- Need to ignore the exit code until QMF engine builds clean -->
+ <Exec
+ Command="devenv qpid-cpp.sln /build Release /Project ALL_BUILD"
+ WorkingDirectory="$(build_dir)"
+ IgnoreExitCode="true" />
+ </Target>
+
+ <Target Name="BuildCppDebug" DependsOnTargets="Configure">
+ <VCBuild
+ Projects="@(CppDebugProjects)"
+ SolutionFile="$(build_dir)/qpid-cpp.sln"
+ Configuration="Debug" />
+ </Target>
+
+ <!-- StopOnFirstFailure needed to avoid a weird error trying to compile WIN32 -->
+ <Target Name="BuildWcf" DependsOnTargets="BuildCpp">
+ <MSBuild
+ Projects="$(source_root)\wcf\QpidWcf.sln"
+ Properties="Configuration=Release;Platform=$(CSProjArchitecture)"
+ StopOnFirstFailure="false" />
+ </Target>
+
+ <Target Name="BuildDocs" DependsOnTargets="Configure">
+ <VCBuild
+ Projects="$(build_dir)\docs\api\docs-user-api.vcproj"
+ SolutionFile="$(build_dir)/qpid-cpp.sln"
+ Configuration="Release" />
+ </Target>
+
+ <Target Name="BuildDotNetBindings"><!-- DependsOnTargets="BuildCpp;BuildCppDebug" -->
+ <MSBuild
+ Projects="$(source_root)\cpp\bindings\qpid\dotnet\org.apache.qpid.messaging.sessionreceiver.sln"
+ Properties="Configuration=Debug;Platform=$(Architecture)" />
+ <MSBuild
+ Projects="$(source_root)\cpp\bindings\qpid\dotnet\org.apache.qpid.messaging.sessionreceiver.sln"
+ Properties="Configuration=Release;Platform=$(Architecture)" />
+ </Target>
+
+ <Target Name="Stage"
+ DependsOnTargets="BuildCpp;BuildCppDebug;BuildWcf;BuildDocs;BuildDotNetBindings">
+ <Exec
+ Command="cmake -DCMAKE_INSTALL_CONFIG_NAME=%22Release%22 -P $(build_dir)\cmake_install.cmake" />
+ <Copy
+ SourceFiles="@(CppDebugArtifacts)"
+ DestinationFolder="$(staging_dir)\bin" />
+ <Copy
+ SourceFiles="@(WcfArtifacts)"
+ DestinationFolder="$(staging_dir)\bin" />
+ <Copy
+ SourceFiles="@(WcfExamples)"
+ DestinationFiles="@(WcfExamples->'$(staging_dir)\examples\%(RecursiveDir)%(Filename)%(Extension)')" />
+ <Copy
+ SourceFiles="@(DotNetBindingArtifacts)"
+ DestinationFolder="$(staging_dir)\bin" />
+ <Copy
+ SourceFiles="@(DotNetBindingDebugArtifacts)"
+ DestinationFolder="$(staging_dir)\bin\Debug" />
+ </Target>
+
+ <Target Name="Installer" DependsOnTargets="Stage">
+ <!-- Would be nice to use the WiX Tasks but I'm getting what I think are
+ errors mixing 32- and 64-bit artifacts.
+ <HeatDirectory
+ ToolPath="$(WixToolPath)"
+ Directory="$(staging_dir)\include\boost"
+ ComponentGroupName="group_BoostHeaders"
+ OutputFile="boost_headers.wxs" />
+ <HeatFile
+ ToolPath="$(WixToolPath)"
+ File="@(BoostDlls)"
+ ComponentGroupName="group_BoostDlls"
+ DirectoryRefId="QpidBin"
+ OutputFile="boost_dlls.wxs" />
+ <Candle
+ ToolPath="$(WixToolPath)"
+ DefineConstants="qpidc_version=0.11"
+ InstallerPlatform="x64"
+ OutputFile="qpidc-0.11-x64.msi" />
+ -->
+ <Exec
+ Command="heat dir $(staging_dir)\include\qpid -var var.qpid_headers_dir -dr QpidInclude -gg -cg group_QpidHeaders -out qpid_headers.wxs" />
+ <Exec
+ Command="heat dir $(staging_dir)\include\boost -var var.boost_headers_dir -dr QpidInclude -gg -cg group_BoostHeaders -out boost_headers.wxs" />
+ <!-- HEAT5150 warns about self-registering DLLs; don't care -->
+ <Exec
+ Command="heat dir $(staging_dir)\bin\boost -var var.boost_dll_dir -dr QpidBin -srd -gg -cg group_BoostDlls -sw5150 -out boost_dlls.wxs" />
+ <Exec
+ Command="heat file $(staging_dir)\examples\README.txt -var var.examples_dir -dr INSTALLLOCATION -gg -cg group_Examples -out examples_README.wxs" />
+ <Exec
+ Command="heat file $(staging_dir)\examples\examples.sln -var var.examples_dir -dr INSTALLLOCATION -gg -cg group_Examples -out examples_examples.wxs" />
+ <Exec
+ Command="heat dir $(staging_dir)\examples\messaging -var var.examples_dir -dr INSTALLLOCATION -gg -cg group_Examples -out examples_messaging.wxs" />
+ <Exec
+ Command="heat dir $(staging_dir)\examples\qmf-console -var var.examples_dir -dr INSTALLLOCATION -gg -cg group_Examples -out examples_qmf-console.wxs" />
+ <Exec
+ Command="heat dir $(staging_dir)\docs\api -var var.api_docs_dir -dr QpidDoc -gg -cg group_APIDocs -out api_docs.wxs" />
+ <Exec
+ Command="candle -dqpidc_version=0.11 -dProgramFiles=$(ProgramFiles) -dstaging_dir=$(staging_dir) -dqpid_headers_dir=$(staging_dir)\include\qpid -dboost_headers_dir=$(staging_dir)\include\boost -dboost_dll_dir=$(staging_dir)\bin\boost -dexamples_dir=$(staging_dir)\examples -dapi_docs_dir=$(staging_dir)\docs\api -ext WiXNetFxExtension qpidc.wxs qpid_headers.wxs boost_headers.wxs boost_dlls.wxs examples.wxs api_docs.wxs -arch $(Architecture)" />
+ <Exec
+ Command="light -ext WiXNetFxExtension -ext WixUtilExtension -ext WixUIExtension -cultures:en-us -out qpidc-0.11-$(Architecture).msi qpidc.wixobj qpid_headers.wixobj boost_headers.wixobj boost_dlls.wixobj examples_README.wixobj examples_examples.wixobj examples_messaging.wixobj examples_qmf-console.wixobj api_docs.wixobj" />
+ </Target>
+
+</Project>
diff --git a/qpid/packaging/windows/qpid-icon.ico b/qpid/packaging/windows/qpid-icon.ico
new file mode 100644
index 0000000000..112f5d8f1f
--- /dev/null
+++ b/qpid/packaging/windows/qpid-icon.ico
Binary files differ
diff --git a/qpid/packaging/windows/qpid-install-background.bmp b/qpid/packaging/windows/qpid-install-background.bmp
new file mode 100644
index 0000000000..7a287f107f
--- /dev/null
+++ b/qpid/packaging/windows/qpid-install-background.bmp
Binary files differ
diff --git a/qpid/packaging/windows/qpid-install-banner.bmp b/qpid/packaging/windows/qpid-install-banner.bmp
new file mode 100644
index 0000000000..73184a9235
--- /dev/null
+++ b/qpid/packaging/windows/qpid-install-banner.bmp
Binary files differ
diff --git a/qpid/packaging/windows/qpidc.wxs b/qpid/packaging/windows/qpidc.wxs
new file mode 100644
index 0000000000..8e73ea0661
--- /dev/null
+++ b/qpid/packaging/windows/qpidc.wxs
@@ -0,0 +1,340 @@
+<?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"
+ xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">
+
+ <Product Id="{BEEC3337-9346-4663-ACFC-D3149A222C46}"
+ Name="Apache Qpid $(var.qpidc_version)"
+ Language="1033"
+ Version="$(var.qpidc_version).0.0"
+ Manufacturer="Apache Software Foundation"
+ UpgradeCode="{94677A0C-606C-49d8-BB63-DF2F6F6D780F}">
+
+ <Package Description="Apache Qpid C++ for Windows"
+ Manufacturer="Apache Software Foundation"
+ Id="*"
+ InstallerVersion="300"
+ Compressed="yes" />
+
+ <Media Id="1" Cabinet="qpidc.cab" EmbedCab="yes" />
+
+ <!-- The .NET-using client pieces check for .NET 3.5 -->
+ <PropertyRef Id="NETFRAMEWORK35"/>
+
+ <!-- Allow 64-bit builds to pick ProgramFiles64Folder instead -->
+ <?Define ProgramFiles = "ProgramFilesFolder"?>
+
+ <Directory Id="TARGETDIR" Name="SourceDir">
+ <Merge Id="VCRedist" SourceFile="C:\Program Files\Common Files\Merge Modules\Microsoft_VC90_CRT_x86.msm" DiskId="1" Language="0"/>
+ <Merge Id="VCRedistPolicy" SourceFile="C:\Program Files\Common Files\Merge Modules\policy_9_0_Microsoft_VC90_CRT_x86.msm" DiskId="1" Language="0"/>
+ <Directory Id="$(var.ProgramFiles)">
+ <Directory Id="ApacheTop" Name="Apache">
+ <Directory Id="INSTALLLOCATION" Name="qpidc-$(var.qpidc_version)">
+ <Directory Id="QpidBin" Name="bin">
+ <Directory Id="QpidBinDebug" Name="Debug"/>
+ </Directory>
+ <Directory Id="QpidConf" Name="conf"/>
+ <Directory Id="QpidDoc" Name="docs">
+ <Directory Id="QpidDocAPI" Name="api"/>
+ </Directory>
+ <Directory Id="QpidExamples" Name="examples"/>
+ <Directory Id="QpidInclude" Name="include"/>
+ <Directory Id="QpidPlugins" Name="plugins">
+ <Directory Id="QpidBrPlugin" Name="broker"/>
+ </Directory>
+ </Directory>
+ </Directory>
+ </Directory>
+ <Directory Id="ProgramMenuFolder">
+ <Directory Id="ApplicationProgramsFolder" Name="Apache Qpid"/>
+ </Directory>
+
+ </Directory>
+
+ <DirectoryRef Id="TARGETDIR">
+
+ <Component Id="QpidBinPATH" Guid="{0E88CF22-7988-4d34-9C42-61C764091B11}">
+ <Environment Id="envPath" Separator=";" Action="set" Permanent="no"
+ Name="PATH" System="yes" Part="last" Value="[QpidBin]"/>
+ </Component>
+ <Component Id="QpidRootEnv" Guid="{DC89CA24-E66F-4506-AA1F-153A88979AC7}">
+ <Environment Id="RootPath" Separator=";" Action="set" Permanent="no"
+ Name="QPID_ROOT" System="yes" Part="last"
+ Value="[INSTALLLOCATION]"/>
+ </Component>
+ <Component Id="WCFXAKey" Guid="{88EDD4D2-59FC-46be-BE18-40A94FB5C9D7}">
+ <Condition>
+ <![CDATA[Installed OR NETFRAMEWORK35]]>
+ </Condition>
+ <!-- This registry key, values, procedure, and reasoning are
+ described at http://support.microsoft.com/kb/817066
+ It's necessary for the WCF XA support to work properly. -->
+ <RegistryKey Root="HKLM" Key="SOFTWARE\Microsoft\MSDTC\XADLL"
+ Action="create">
+ <RegistryValue Type="string"
+ Name="qpidxarm.dll"
+ Value="[QpidBin]qpidxarm.dll" />
+ </RegistryKey>
+ <ServiceControl Id="MSDTCSvcRestart" Name="MSDTC"
+ Stop="both" Start="both"/>
+ </Component>
+ </DirectoryRef>
+
+ <DirectoryRef Id="INSTALLLOCATION">
+ <Component Id="InstallNotes" Guid="{10A64ABE-B3F7-40c0-88F1-E0AD71467A3E}">
+ <File Id="InstallNotesHTML" Source="INSTALL_NOTES.html"/>
+ </Component>
+ <Component Id="Legal" Guid="{D98B2A06-4A7E-488a-A7A9-BFB1B9D594A0}">
+ <File Id="LICENSE" Source="$(var.staging_dir)\LICENSE"/>
+ <File Id="NOTICE" Source="$(var.staging_dir)\NOTICE"/>
+ </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"/>
+ </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="TypesLib_Debug" Guid="31059F1D-6C2C-4ad0-88E4-4938EC0091C5">
+ <File Id="TypesDebugLIB" Source="$(var.staging_dir)\bin\qpidtypesd.lib"/>
+ <File Id="TypesDebugDLL" Source="$(var.staging_dir)\bin\qpidtypesd.dll"/>
+ <File Id="TypesDebugPDB" Source="$(var.staging_dir)\bin\qpidtypesd.pdb"/>
+ </Component>
+ <Component Id="TypesLib_Release" Guid="121FF239-8C37-4ca4-836D-39E5D98E0DB1">
+ <File Id="TypesReleaseLIB" Source="$(var.staging_dir)\bin\qpidtypes.lib"/>
+ <File Id="TypesReleaseDLL" Source="$(var.staging_dir)\bin\qpidtypes.dll"/>
+ <!-- File Id="TypesReleasePDB" Source="$(var.staging_dir)\bin\qpidtypes.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="MessagingLib_Debug" Guid="41F85AFA-69F4-4f9a-BE48-804D68F880C4">
+ <File Id="MessagingDebugLIB" Source="$(var.staging_dir)\bin\qpidmessagingd.lib"/>
+ <File Id="MessagingDebugDLL" Source="$(var.staging_dir)\bin\qpidmessagingd.dll"/>
+ <File Id="MessagingDebugPDB" Source="$(var.staging_dir)\bin\qpidmessagingd.pdb"/>
+ </Component>
+ <Component Id="MessagingLib_Release" Guid="C023833B-430E-492a-991F-003084EF0E3C">
+ <File Id="MessagingReleaseLIB" Source="$(var.staging_dir)\bin\qpidmessaging.lib"/>
+ <File Id="MessagingReleaseDLL" Source="$(var.staging_dir)\bin\qpidmessaging.dll"/>
+ <!-- File Id="MessagingReleasePDB" Source="$(var.staging_dir)\bin\qpidmessaging.pdb"/ -->
+ </Component>
+ <Component Id="DotNetMessaging_Release" Guid="25C3F69E-593E-4b30-9CC5-329488D7840E">
+ <Condition>
+ <![CDATA[Installed OR NETFRAMEWORK35]]>
+ </Condition>
+ <File Id="DotNetMessagingDLL" Source="$(var.staging_dir)\bin\org.apache.qpid.messaging.dll"/>
+ <File Id="DotNetMessagingPDB" Source="$(var.staging_dir)\bin\org.apache.qpid.messaging.pdb"/>
+ <File Id="DotNetMessagingSessionDLL" Source="$(var.staging_dir)\bin\org.apache.qpid.messaging.sessionreceiver.dll"/>
+ <File Id="DotNetMessagingSessionPDB" Source="$(var.staging_dir)\bin\org.apache.qpid.messaging.sessionreceiver.pdb"/>
+ </Component>
+ <Component Id="WCFChannelDLL" Guid="{4039F91C-C663-4ef4-8A74-7D425D6D32E6}">
+ <Condition>
+ <![CDATA[Installed OR NETFRAMEWORK35]]>
+ </Condition>
+ <File Id="ChannelDLL"
+ Name="Apache.Qpid.Channel.dll" KeyPath="yes" Assembly=".net"
+ Source="$(var.staging_dir)\bin\Apache.Qpid.Channel.dll"/>
+ </Component>
+ <Component Id="WCFInteropDLL" Guid="{EE9E36BF-C951-4429-AC78-F105C3D6BD95}">
+ <Condition>
+ <![CDATA[Installed OR NETFRAMEWORK35]]>
+ </Condition>
+ <File Id="InteropDLL"
+ Name="Apache.Qpid.Interop.dll" KeyPath="yes" Assembly=".net"
+ Source="$(var.staging_dir)\bin\Apache.Qpid.Interop.dll"/>
+ </Component>
+ <Component Id="WCFXADLL" Guid="{4C3F32C2-1A31-4af6-9863-770090A60E52}">
+ <Condition>
+ <![CDATA[Installed OR NETFRAMEWORK35]]>
+ </Condition>
+ <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="QpidBinDebug">
+ <Component Id="DotNetMessaging_Debug" Guid="{949C5592-4EEF-44c7-86C0-FB0F8FA37035}">
+ <Condition>
+ <![CDATA[Installed OR NETFRAMEWORK35]]>
+ </Condition>
+ <File Id="DotNetMessagingDebugDLL" Source="$(var.staging_dir)\bin\Debug\org.apache.qpid.messaging.dll"/>
+ <File Id="DotNetMessagingDebugPDB" Source="$(var.staging_dir)\bin\Debug\org.apache.qpid.messaging.pdb"/>
+ <File Id="DotNetMessagingSessionDebugDLL" Source="$(var.staging_dir)\bin\Debug\org.apache.qpid.messaging.sessionreceiver.dll"/>
+ <File Id="DotNetMessagingSessionDebugPDB" Source="$(var.staging_dir)\bin\Debug\org.apache.qpid.messaging.sessionreceiver.pdb"/>
+ </Component>
+ </DirectoryRef>
+
+ <DirectoryRef Id="QpidConf">
+ <Component Id="BrokerConf" Guid="{8893D4B8-F87B-4da7-914A-87ED61E46577}">
+ <File Id="BrokerConfFile" Source="$(var.staging_dir)\conf\qpidd.conf"/>
+ </Component>
+ <Component Id="ClientConf" Guid="{2ED5B20C-9D57-4961-B928-6FC1436309F7}">
+ <File Id="ClientConfFile" Source="$(var.staging_dir)\conf\qpidc.conf"/>
+ </Component>
+ </DirectoryRef>
+
+ <DirectoryRef Id="QpidBrPlugin">
+ <Component Id="TopStorePlugin" Guid="455A04EE-CFFE-4dad-963E-4CD2AC09C1C5">
+ <File Id="StorePlugin" Source="$(var.staging_dir)\plugins\broker\store.dll"/>
+ </Component>
+ <Component Id="SQLPersistence" Guid="C45EDD16-A91A-44d2-BA62-64AC63AA310D">
+ <File Id="SQLPlugin" Source="$(var.staging_dir)\plugins\broker\mssql_store.dll"/>
+ </Component>
+ <Component Id="CLFSPersistence" Guid="{49E9EE38-D16E-4188-8F58-D8715598C5FB}">
+ <!-- CLFS store only works on Win Svr 2003 and up -->
+ <Condition>
+ <![CDATA[Installed OR (VersionNT >= 502)]]>
+ </Condition>
+ <File Id="CLFSPlugin" Source="$(var.staging_dir)\plugins\broker\msclfs_store.dll"/>
+ </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"/>
+ <ComponentRef Id="Legal"/>
+
+ <Feature Id="VCRedist" Title="Visual C++ 9.0 Runtime"
+ AllowAdvertise="no" Display="hidden" Level="1">
+ <MergeRef Id="VCRedist"/>
+ <MergeRef Id="VCRedistPolicy"/>
+ </Feature>
+
+ <Feature Id="Broker" Title="Broker: Routes and queues messages" Level="1">
+ <ComponentRef Id="QpidBinPATH"/>
+ <ComponentRef Id="BrokerConf"/>
+ <ComponentRef Id="Broker_Release"/>
+ <ComponentRef Id="CommonLib_Release"/>
+ <ComponentRef Id="TypesLib_Release"/>
+ <ComponentRef Id="TopStorePlugin"/>
+ <ComponentRef Id="SQLPersistence"/>
+ <ComponentRef Id="CLFSPersistence"/>
+ <ComponentGroupRef Id="group_BoostDlls"/>
+ </Feature>
+
+ <Feature Id="ClientLib" Title="Client Libraries and Headers to develop and run programs" Level="1">
+ <ComponentRef Id="QpidBinPATH"/>
+ <ComponentRef Id="QpidRootEnv"/>
+ <ComponentRef Id="WCFXAKey"/>
+ <ComponentRef Id="ClientConf"/>
+ <ComponentRef Id="CommonLib_Debug"/>
+ <ComponentRef Id="CommonLib_Release"/>
+ <ComponentRef Id="TypesLib_Debug"/>
+ <ComponentRef Id="TypesLib_Release"/>
+ <ComponentRef Id="ClientLib_Debug"/>
+ <ComponentRef Id="ClientLib_Release"/>
+ <ComponentRef Id="MessagingLib_Debug"/>
+ <ComponentRef Id="MessagingLib_Release"/>
+ <ComponentRef Id="QMFConsoleLib_Debug"/>
+ <ComponentRef Id="QMFConsoleLib_Release"/>
+ <ComponentRef Id="DotNetMessaging_Debug"/>
+ <ComponentRef Id="DotNetMessaging_Release"/>
+ <ComponentRef Id="WCFChannelDLL"/>
+ <ComponentRef Id="WCFInteropDLL"/>
+ <ComponentRef Id="WCFXADLL"/>
+ <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-install-banner.bmp" />
+ <WixVariable Id="WixUIDialogBmp" Value="qpid-install-background.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>