Merge pull request #64 in ITERATE/cyberduck from feature/windows/9074 to master
[cyberduck.git] / source / ch / cyberduck / CLI-WiX-Bootstrapper.wixproj
blobde5cf58f85aad7c207e9c93e5a478d464ca6613f
1 <?xml version="1.0" encoding="utf-8"?>\r
2 <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
3   <PropertyGroup>\r
4     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>\r
5     <Platform Condition=" '$(Platform)' == '' ">x86</Platform>\r
6     <ProductVersion>3.9</ProductVersion>\r
7     <ProjectGuid>ef87de0e-bc36-4d3c-8852-c8ad11d01f04</ProjectGuid>\r
8     <SchemaVersion>2.0</SchemaVersion>\r
9     <OutputName>duck-$(Version)</OutputName>\r
10     <OutputType>Bundle</OutputType>\r
11     <SignOutput>true</SignOutput>\r
12     <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>\r
13     <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>\r
14   </PropertyGroup>\r
15   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">\r
16     <OutputPath>..\..\..\build\</OutputPath>\r
17     <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>\r
18     <DefineConstants>Debug</DefineConstants>\r
19   </PropertyGroup>\r
20   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">\r
21     <OutputPath>..\..\..\build\release\</OutputPath>\r
22     <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>\r
23   </PropertyGroup>\r
24   <ItemGroup>\r
25     <Compile Include="Bundle.wxs" />\r
26   </ItemGroup>\r
27   <ItemGroup>\r
28     <WixExtension Include="WixNetFxExtension">\r
29       <HintPath>$(WixExtDir)\WixNetFxExtension.dll</HintPath>\r
30       <Name>WixNetFxExtension</Name>\r
31     </WixExtension>\r
32     <WixExtension Include="WixBalExtension">\r
33       <HintPath>$(WixExtDir)\WixBalExtension.dll</HintPath>\r
34       <Name>WixBalExtension</Name>\r
35     </WixExtension>\r
36   </ItemGroup>\r
37   <ItemGroup>\r
38     <ProjectReference Include="..\cyberduck\CLI-WiX.wixproj">\r
39       <Name>CLI-WiX</Name>\r
40       <Project>{f6975079-f730-4a31-9909-de536e524764}</Project>\r
41       <Private>True</Private>\r
42       <DoNotHarvest>True</DoNotHarvest>\r
43       <RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups>\r
44       <RefTargetDir>INSTALLFOLDER</RefTargetDir>\r
45     </ProjectReference>\r
46   </ItemGroup>\r
47   <Import Project="$(WixTargetsPath)" />\r
49     <Target Name="UsesFrameworkSdk">\r
50     <GetFrameworkSdkPath>\r
51       <Output TaskParameter="Path" PropertyName="FrameworkSdkPath" />\r
52     </GetFrameworkSdkPath>\r
53     <PropertyGroup>\r
54       <WinSDK>$(registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.0@InstallationFolder)</WinSDK>\r
55       <WinSDK Condition="('@(WinSDK)'=='')">$(registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Kits\Installed Roots@KitsRoot10)</WinSDK>\r
56     </PropertyGroup>\r
57   </Target>\r
59   <Target Name="UsesSignTool" DependsOnTargets="UsesFrameworkSdk">\r
60     <PropertyGroup>\r
61       <SignToolPath Condition="('@(SignToolPath)'=='') and Exists('$(FrameworkSdkPath)bin\signtool.exe')">$(FrameworkSdkPath)bin\signtool.exe</SignToolPath>\r
62       <SignToolPath Condition="('@(SignToolPath)'=='') and Exists('$(WinSDK)\bin\x86\signtool.exe')">$(WinSDK)\bin\x86\signtool.exe</SignToolPath>\r
63     </PropertyGroup>\r
64   </Target>\r
66   <Target Name="SignBundleEngine" DependsOnTargets="UsesSignTool">\r
67     <Exec Command="&quot;$(SignToolPath)&quot; sign /d &quot;Cyberduck CLI&quot; /tr http://timestamp.globalsign.com/scripts/timestamp.dll /a &quot;@(SignBundleEngine)&quot;" />\r
68   </Target>\r
70   <Target Name="SignBundle" DependsOnTargets="UsesSignTool">\r
71     <Exec Command="&quot;$(SignToolPath)&quot; sign /d &quot;Cyberduck CLI&quot; /tr http://timestamp.globalsign.com/scripts/timestamp.dll /a &quot;@(SignBundle)&quot;" />\r
72   </Target>\r
74     <!--\r
75         To modify your build process, add your task inside one of the targets below and uncomment it.\r
76         Other similar extension points exist, see Wix.targets.\r
77         <Target Name="BeforeBuild">\r
78         </Target>\r
79         <Target Name="AfterBuild">\r
80         </Target>\r
81         -->\r
82 </Project>