mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
124 lines
6.2 KiB
XML
124 lines
6.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
|
<ProductVersion>3.10</ProductVersion>
|
|
<ProjectGuid>f0168b9f-6815-40df-ba53-46cee7683b68</ProjectGuid>
|
|
<SchemaVersion>2.0</SchemaVersion>
|
|
<OutputName>mRemoteNG-Installer</OutputName>
|
|
<OutputType>Package</OutputType>
|
|
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
|
|
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
|
|
<OutputPath>bin\$(Configuration)\</OutputPath>
|
|
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
<DefineConstants>HarvestPath=..\mRemoteV1\bin\Debug;</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
|
<DefineConstants>HarvestPath=..\mRemoteV1\bin\Release;</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug Portable' ">
|
|
<DefineConstants>HarvestPath=..\mRemoteV1\bin\Debug Portable;</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release Portable' ">
|
|
<DefineConstants>HarvestPath=..\mRemoteV1\bin\Release Portable;</DefineConstants>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Compile Include="CustomActions\CheckForInstalledWindowsUpdates.wxs" />
|
|
<Compile Include="CustomActions\UninstallLegacyVersions.wxs" />
|
|
<Compile Include="Fragments\FilesFragment.wxs" />
|
|
<Compile Include="Fragments\DirectoriesFragment.wxs" />
|
|
<Compile Include="Fragments\MainExeFragment.wxs" />
|
|
<Compile Include="Fragments\MiscTextFilesFragment.wxs" />
|
|
<Compile Include="Fragments\PuTTYNGFragment.wxs" />
|
|
<Compile Include="Fragments\ShortcutFragment.wxs" />
|
|
<Compile Include="mRemoteNGV1.wxs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Include="Dependencies\PuTTYNG.exe">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Filters\Harvest_Filter.xslt" />
|
|
<Content Include="Includes\Config.wxi" />
|
|
<Content Include="Resources\header.bmp" />
|
|
<Content Include="Resources\License.rtf" />
|
|
<Content Include="Resources\mRemoteNG.ico" />
|
|
<Content Include="Resources\welcome.bmp" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Folder Include="CustomActions" />
|
|
<Folder Include="CustomDialogs" />
|
|
<Folder Include="Fragments" />
|
|
<Folder Include="Includes" />
|
|
<Folder Include="Localizations" />
|
|
<Folder Include="Filters" />
|
|
<Folder Include="bin" />
|
|
<Folder Include="Dependencies" />
|
|
<Folder Include="Resources" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="Localizations\ru-RU.wxl" />
|
|
<EmbeddedResource Include="Localizations\ja-JP.wxl" />
|
|
<EmbeddedResource Include="Localizations\cs-CZ.wxl" />
|
|
<EmbeddedResource Include="Localizations\de-DE.wxl" />
|
|
<EmbeddedResource Include="Localizations\en-US.wxl" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<WixExtension Include="WixUIExtension">
|
|
<HintPath>$(WixExtDir)\WixUIExtension.dll</HintPath>
|
|
<Name>WixUIExtension</Name>
|
|
</WixExtension>
|
|
<WixExtension Include="WixNetFxExtension">
|
|
<HintPath>$(WixExtDir)\WixNetFxExtension.dll</HintPath>
|
|
<Name>WixNetFxExtension</Name>
|
|
</WixExtension>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\mRemoteV1\mRemoteV1.csproj">
|
|
<Name>mRemoteV1</Name>
|
|
<Project>{4934a491-40bc-4e5b-9166-ea1169a220f6}</Project>
|
|
<Private>True</Private>
|
|
<DoNotHarvest>
|
|
</DoNotHarvest>
|
|
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups>
|
|
<RefTargetDir>APPLICATIONROOTDIRECTORY</RefTargetDir>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<Import Project="$(WixTargetsPath)" />
|
|
<!--
|
|
To modify your build process, add your task inside one of the targets below and uncomment it.
|
|
Other similar extension points exist, see Wix.targets.
|
|
-->
|
|
<Target Name="BeforeBuild">
|
|
</Target>
|
|
<Target Name="AfterBuild">
|
|
</Target>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
|
<LinkerAdditionalOptions>
|
|
</LinkerAdditionalOptions>
|
|
<DefineConstants>HarvestPath=$(SolutionDir)mRemoteV1\bin\Release;HelpFilesHarvestPath=$(SolutionDir)mRemoteV1\Resources\Help</DefineConstants>
|
|
<Cultures>en-US</Cultures>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
|
<Cultures>en-US</Cultures>
|
|
<DefineConstants>HarvestPath=$(SolutionDir)mRemoteV1\bin\Debug;HelpFilesHarvestPath=$(SolutionDir)mRemoteV1\Resources\Help</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug Portable|x86' ">
|
|
<DefineConstants>HarvestPath=$(SolutionDir)mRemoteV1\bin\Debug Portable;HelpFilesHarvestPath=$(SolutionDir)mRemoteV1\Resources\Help</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release Portable|x86' ">
|
|
<DefineConstants>HarvestPath=$(SolutionDir)mRemoteV1\bin\Release Portable;HelpFilesHarvestPath=$(SolutionDir)mRemoteV1\Resources\Help</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<PreBuildEvent>REM Harvest bin directory of the mRemoteV1 project
|
|
call "$(WIX)bin\heat.exe" dir "$(SolutionDir)mRemoteV1\bin\$(Configuration)" -ag -dr APPLICATIONROOTDIRECTORY -var var.HarvestPath -srd -cg MandatoryComponents -template fragment -out "$(ProjectDir)Fragments\FilesFragment.wxs" -t "$(ProjectDir)Filters\Harvest_Filter.xslt" -v
|
|
REM Convert the license file "COPYING.TXT" to "License.rtf" to be shown in the installer GUI
|
|
call "$(ProjectDir)Resources\Pandoc\pandoc.exe" -s -t rtf -o "$(ProjectDir)\Resources\License.rtf" "$(SolutionDir)COPYING.TXT"</PreBuildEvent>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<PostBuildEvent>REM Sign MSI
|
|
IF EXIST C:\mRemoteNG_code_signing_cert.pfx (powershell "&""$(SolutionDir)signfiles.ps1""" "%25cd%25")</PostBuildEvent>
|
|
</PropertyGroup>
|
|
</Project> |