| 1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|---|
| 2 | <PropertyGroup> |
|---|
| 3 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
|---|
| 4 | <Platform Condition=" '$(Platform)' == '' ">x86</Platform> |
|---|
| 5 | <ProductVersion>3.0</ProductVersion> |
|---|
| 6 | <ProjectGuid>{318964cf-278d-41b2-a825-b9a0d1f5d766}</ProjectGuid> |
|---|
| 7 | <SchemaVersion>2.0</SchemaVersion> |
|---|
| 8 | <OutputName>Eraser</OutputName> |
|---|
| 9 | <OutputType>Package</OutputType> |
|---|
| 10 | <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.0\Wix.targets</WixTargetsPath> |
|---|
| 11 | </PropertyGroup> |
|---|
| 12 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> |
|---|
| 13 | <OutputPath>..\bin\Installer\$(Platform)\$(Configuration)\</OutputPath> |
|---|
| 14 | <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath> |
|---|
| 15 | <DefineConstants>Debug</DefineConstants> |
|---|
| 16 | <VerboseOutput>True</VerboseOutput> |
|---|
| 17 | </PropertyGroup> |
|---|
| 18 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> |
|---|
| 19 | <OutputPath>..\bin\Installer\$(Platform)\$(Configuration)\</OutputPath> |
|---|
| 20 | <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath> |
|---|
| 21 | <SuppressIces>ICE03;ICE82</SuppressIces> |
|---|
| 22 | </PropertyGroup> |
|---|
| 23 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' "> |
|---|
| 24 | <DefineConstants>Debug</DefineConstants> |
|---|
| 25 | <VerboseOutput>True</VerboseOutput> |
|---|
| 26 | <OutputPath>..\bin\Installer\$(Platform)\$(Configuration)\</OutputPath> |
|---|
| 27 | <IntermediateOutputPath>obj\$(Platform)\$(Configuration)\</IntermediateOutputPath> |
|---|
| 28 | </PropertyGroup> |
|---|
| 29 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' "> |
|---|
| 30 | <OutputPath>..\bin\Installer\$(Platform)\$(Configuration)\</OutputPath> |
|---|
| 31 | <IntermediateOutputPath>obj\$(Platform)\$(Configuration)\</IntermediateOutputPath> |
|---|
| 32 | </PropertyGroup> |
|---|
| 33 | <ItemGroup> |
|---|
| 34 | <Compile Include="DirectoryStructure.wxs" /> |
|---|
| 35 | <Compile Include="Eraser.wxs" /> |
|---|
| 36 | <Compile Include="Localisations.wxs" /> |
|---|
| 37 | <Compile Include="UserInterface.wxs" /> |
|---|
| 38 | </ItemGroup> |
|---|
| 39 | <ItemGroup> |
|---|
| 40 | <WixExtension Include="WixUIExtension"> |
|---|
| 41 | <HintPath>$(WixExtDir)\WixUIExtension.dll</HintPath> |
|---|
| 42 | </WixExtension> |
|---|
| 43 | <WixExtension Include="WixUtilExtension"> |
|---|
| 44 | <HintPath>$(WixExtDir)\WixUtilExtension.dll</HintPath> |
|---|
| 45 | </WixExtension> |
|---|
| 46 | </ItemGroup> |
|---|
| 47 | <ItemGroup> |
|---|
| 48 | <Content Include="License.rtf" /> |
|---|
| 49 | <Content Include="Merge Modules\Microsoft_VC90_ATL_x86.msm" /> |
|---|
| 50 | <Content Include="Merge Modules\Microsoft_VC90_ATL_x86_x64.msm" /> |
|---|
| 51 | <Content Include="Merge Modules\Microsoft_VC90_CRT_x86.msm" /> |
|---|
| 52 | <Content Include="Merge Modules\Microsoft_VC90_CRT_x86_x64.msm" /> |
|---|
| 53 | <Content Include="Merge Modules\Microsoft_VC90_MFC_x86.msm" /> |
|---|
| 54 | <Content Include="Merge Modules\Microsoft_VC90_MFC_x86_x64.msm" /> |
|---|
| 55 | <Content Include="Resources\Banner.bmp" /> |
|---|
| 56 | <Content Include="Resources\Dialog.bmp" /> |
|---|
| 57 | <Content Include="Resources\Exclamation.ico" /> |
|---|
| 58 | <Content Include="Resources\Information.ico" /> |
|---|
| 59 | <Content Include="Resources\New Folder.ico" /> |
|---|
| 60 | <None Include="SignBin.bat" /> |
|---|
| 61 | </ItemGroup> |
|---|
| 62 | <ItemGroup> |
|---|
| 63 | <Folder Include="Merge Modules\" /> |
|---|
| 64 | <Folder Include="Resources\" /> |
|---|
| 65 | </ItemGroup> |
|---|
| 66 | <Import Project="$(WixTargetsPath)" /> |
|---|
| 67 | <!-- |
|---|
| 68 | To modify your build process, add your task inside one of the targets below and uncomment it. |
|---|
| 69 | Other similar extension points exist, see Wix.targets. |
|---|
| 70 | <Target Name="BeforeBuild"> |
|---|
| 71 | </Target> |
|---|
| 72 | <Target Name="AfterBuild"> |
|---|
| 73 | </Target> |
|---|
| 74 | --> |
|---|
| 75 | <PropertyGroup> |
|---|
| 76 | <PreBuildEvent>"$(ProjectDir)\SignBin.bat" "$(SolutionDir)"</PreBuildEvent> |
|---|
| 77 | <PostBuildEvent>signtool sign /f $(SolutionDir)\Authenticode.pfx $(TargetPath)</PostBuildEvent> |
|---|
| 78 | </PropertyGroup> |
|---|
| 79 | </Project> |
|---|