| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <Project ToolsVersion="15.0" DefaultTargets="Build"> |
| 3 | <Import Project="$(WixMSBuildProps)" /> |
| 4 | <PropertyGroup> |
| 5 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
| 6 | <Platform Condition=" '$(Platform)' == '' ">x86</Platform> |
| 7 | </PropertyGroup> |
| 8 | |
| 9 | <PropertyGroup> |
| 10 | <ProjectGuid>7fb77005-c6e0-454f-8c2d-0a4a79c918ba</ProjectGuid> |
| 11 | </PropertyGroup> |
| 12 | |
| 13 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> |
| 14 | <PlatformName>$(Platform)</PlatformName> |
| 15 | <OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath> |
| 16 | <DefineConstants>Debug</DefineConstants> |
| 17 | </PropertyGroup> |
| 18 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> |
| 19 | <PlatformName>$(Platform)</PlatformName> |
| 20 | <OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath> |
| 21 | </PropertyGroup> |
| 22 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' "> |
| 23 | <PlatformName>$(Platform)</PlatformName> |
| 24 | <OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath> |
| 25 | <DefineConstants>Debug</DefineConstants> |
| 26 | </PropertyGroup> |
| 27 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' "> |
| 28 | <PlatformName>$(Platform)</PlatformName> |
| 29 | <OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath> |
| 30 | </PropertyGroup> |
| 31 | |
| 32 | <ItemGroup> |
| 33 | <BindInputPaths Include="data" /> |
| 34 | </ItemGroup> |
| 35 | |
| 36 | <Import Project="$(WixTargetsPath)" /> |
| 37 | |
| 38 | <Target Name="SignCabs"> |
| 39 | <!-- It would be cool to actually sign, but signtool.exe is not always easy to find, so we'll |
| 40 | mock it up instead. |
| 41 | <Error Text="Could not find pfx at: $(TestCertificate)" Condition=" !Exists('$(TestCertificate)') " /> |
| 42 | <Exec Command='signtool.exe sign /v /f $(TestCertificate) /p password %(SignCabs.FullPath)' /> |
| 43 | --> |
| 44 | <Message Importance="high" Text="TEST: SignCabs: @(SignCabs)" /> |
| 45 | </Target> |
| 46 | |
| 47 | <Target Name="SignMsi"> |
| 48 | <!-- It would be cool to actually sign, but signtool.exe is not always easy to find, so we'll |
| 49 | mock it up instead. |
| 50 | <Error Text="Could not find pfx at: $(TestCertificate)" Condition=" !Exists('$(TestCertificate)') " /> |
| 51 | <Exec Command='signtool.exe sign /v /f $(TestCertificate) /p password "%(SignMsi.FullPath)" ' /> |
| 52 | --> |
| 53 | <Message Importance="high" Text="TEST: SignMsi: @(SignMsi)" /> |
| 54 | </Target> |
| 55 | |
| 56 | </Project> |