[Files]\r
; WinMerge itself\r
Source: ..\..\Build\MergeUnicodeRelease\WinMergeU.exe; DestDir: {app}; Flags: promptifolder; Components: Core\r
+; Visual Elements\r
+Source: ..\..\Build\MergeUnicodeRelease\WinMergeU.VisualElementsManifest.xml; DestDir: {app}; Flags: promptifolder; Components: Core\r
+Source: ..\..\Build\MergeUnicodeRelease\LogoImages\*.png; DestDir: {app}; Flags: promptifolder; Components: Core\r
\r
; Shell extension\r
Source: ..\..\Build\ShellExtension\ShellExtensionU.dll; DestDir: {app}; Flags: regserver uninsrestartdelete restartreplace promptifolder; MinVersion: 0, 4; Check: not IsWin64\r
[Files]\r
; WinMerge itself\r
Source: ..\..\Build\X64\MergeUnicodeRelease\WinMergeU.exe; DestDir: {app}; Flags: promptifolder; Components: Core\r
+; Visual Elements\r
+Source: ..\..\Build\X64\MergeUnicodeRelease\WinMergeU.VisualElementsManifest.xml; DestDir: {app}; Flags: promptifolder; Components: Core\r
+Source: ..\..\Build\X64\MergeUnicodeRelease\LogoImages\*.png; DestDir: {app}; Flags: promptifolder; Components: Core\r
; 32Bit Plugin Proxy\r
Source: ..\..\Plugins\WinMerge32BitPluginProxy\Release\WinMerge32BitPluginProxy.exe; DestDir: {app}; Flags: promptifolder; Components: Core\r
\r
[Files]\r
; WinMerge itself\r
Source: ..\..\Build\X64\MergeUnicodeRelease\WinMergeU.exe; DestDir: {app}; Flags: promptifolder; Components: Core\r
+; Visual Elements\r
+Source: ..\..\Build\X64\MergeUnicodeRelease\WinMergeU.VisualElementsManifest.xml; DestDir: {app}; Flags: promptifolder; Components: Core\r
+Source: ..\..\Build\X64\MergeUnicodeRelease\LogoImages\*.png; DestDir: {app}; Flags: promptifolder; Components: Core\r
; 32Bit Plugin Proxy\r
Source: ..\..\Plugins\WinMerge32BitPluginProxy\Release\WinMerge32BitPluginProxy.exe; DestDir: {app}; Flags: promptifolder; Components: Core\r
\r
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='UnicodeDebug|Win32'">true</ExcludedFromBuild>\r
</ResourceCompile>\r
</ItemGroup>\r
+ <Target Name="CopyVisualElements" AfterTargets="Build">\r
+ <ItemGroup>\r
+ <VisualElementsManifest Include="res\WinMergeU.VisualElementsManifest.xml" />\r
+ <LogoImages Include="res\LogoImages\*.png" />\r
+ </ItemGroup>\r
+ <Message Text="Copy visual elements to $(OutDir)" />\r
+ <Copy SourceFiles="@(VisualElementsManifest)" DestinationFolder="$(OutDir)" ContinueOnError="true" />\r
+ <Copy SourceFiles="@(LogoImages)" DestinationFolder="$(OutDir)\LogoImages" ContinueOnError="true" />\r
+ </Target>\r
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
<ImportGroup Label="ExtensionTargets">\r
</ImportGroup>\r
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='UnicodeDebug|Win32'">true</ExcludedFromBuild>\r
</ResourceCompile>\r
</ItemGroup>\r
+ <Target Name="CopyVisualElements" AfterTargets="Build">\r
+ <ItemGroup>\r
+ <VisualElementsManifest Include="res\WinMergeU.VisualElementsManifest.xml" />\r
+ <LogoImages Include="res\LogoImages\*.png" />\r
+ </ItemGroup>\r
+ <Message Text="Copy visual elements to $(OutDir)" />\r
+ <Copy SourceFiles="@(VisualElementsManifest)" DestinationFolder="$(OutDir)" ContinueOnError="true" />\r
+ <Copy SourceFiles="@(LogoImages)" DestinationFolder="$(OutDir)\LogoImages" ContinueOnError="true" />\r
+ </Target>\r
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
<ImportGroup Label="ExtensionTargets">\r
</ImportGroup>\r
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>\r
+<Application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r
+ <VisualElements ForegroundText="dark" BackgroundColor="#ffcc00" ShowNameOnSquare150x150Logo="on" Square150x150Logo="LogoImages\WinMergeLogo.png" Square70x70Logo="LogoImages\WinMergeLogoSmall.png"></VisualElements>\r
+</Application>
\ No newline at end of file