mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-19 01:31:29 +03:00
fix icons
This commit is contained in:
@@ -1,7 +1,10 @@
|
|||||||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
|
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<StandardDirectory Id="ProgramFiles64Folder">
|
<StandardDirectory Id="ProgramFiles64Folder">
|
||||||
<Directory Id="INSTALLFOLDER" Name="!(bind.Property.Manufacturer) !(bind.Property.ProductName)" />
|
<Directory Id="INSTALLFOLDER" Name="!(bind.Property.Manufacturer) !(bind.Property.ProductName)">
|
||||||
|
<Directory Id="SHARE" Name="share"/>
|
||||||
|
<Directory Id="LIB" Name="lib"/>
|
||||||
|
</Directory>
|
||||||
</StandardDirectory>
|
</StandardDirectory>
|
||||||
<StandardDirectory Id="ProgramMenuFolder">
|
<StandardDirectory Id="ProgramMenuFolder">
|
||||||
<Directory Id="ApplicationProgramsFolder" Name="!(bind.Property.ProductName)"/>
|
<Directory Id="ApplicationProgramsFolder" Name="!(bind.Property.ProductName)"/>
|
||||||
|
|||||||
@@ -2,4 +2,33 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<InstallerPlatform>x64</InstallerPlatform>
|
<InstallerPlatform>x64</InstallerPlatform>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="WixToolset.Heat">
|
||||||
|
<Version>5.0.2</Version>
|
||||||
|
</PackageReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<HarvestDirectory Include="C:\gtk-build\gtk\x64\release\bin">
|
||||||
|
<ComponentGroupName>GTKBIN</ComponentGroupName>
|
||||||
|
<DirectoryRefId>INSTALLFOLDER</DirectoryRefId>
|
||||||
|
<SuppressRegistry>true</SuppressRegistry>
|
||||||
|
</HarvestDirectory>
|
||||||
|
<BindPath Include="C:\gtk-build\gtk\x64\release\bin" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<HarvestDirectory Include="C:\gtk-build\gtk\x64\release\share\icons">
|
||||||
|
<ComponentGroupName>GTKICONS</ComponentGroupName>
|
||||||
|
<DirectoryRefId>SHARE</DirectoryRefId>
|
||||||
|
<SuppressRegistry>true</SuppressRegistry>
|
||||||
|
</HarvestDirectory>
|
||||||
|
<BindPath Include="C:\gtk-build\gtk\x64\release\share\icons" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<HarvestDirectory Include="C:\gtk-build\gtk\x64\release\lib\gdk-pixbuf-2.0">
|
||||||
|
<ComponentGroupName>GTKLIBS</ComponentGroupName>
|
||||||
|
<DirectoryRefId>LIB</DirectoryRefId>
|
||||||
|
<SuppressRegistry>true</SuppressRegistry>
|
||||||
|
</HarvestDirectory>
|
||||||
|
<BindPath Include="C:\gtk-build\gtk\x64\release\lib\gdk-pixbuf-2.0" />
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -1,14 +1,20 @@
|
|||||||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
|
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<ComponentGroup Id="LanMouseComponents" Directory="INSTALLFOLDER">
|
<ComponentGroup Id="LanMouseComponents" Directory="INSTALLFOLDER" Subdirectory="bin">
|
||||||
<Component>
|
<Component Guid="{ECB52D3E-28AD-4BEC-B9DF-E01CCAB356BE}">
|
||||||
|
<!-- the main binary -->
|
||||||
<File Source="..\target\release\lan-mouse.exe"/>
|
<File Source="..\target\release\lan-mouse.exe"/>
|
||||||
|
|
||||||
|
<!-- visual c runtime dll -->
|
||||||
|
<File Source="C:\windows\system32\VCRUNTIME140.dll"/>
|
||||||
|
<File Source="C:\windows\system32\VCRUNTIME140_1.dll"/>
|
||||||
</Component>
|
</Component>
|
||||||
|
<!-- start menu entry-->
|
||||||
<Component Id="ApplicationShortcut" Directory="ApplicationProgramsFolder">
|
<Component Id="ApplicationShortcut" Directory="ApplicationProgramsFolder">
|
||||||
<Shortcut Id="ApplicationStartMenuShortcut"
|
<Shortcut Id="ApplicationStartMenuShortcut"
|
||||||
Name="!(bind.Property.ProductName)"
|
Name="!(bind.Property.ProductName)"
|
||||||
Description ="Mouse and Keyboard sharing Software"
|
Description ="Mouse and Keyboard sharing Software"
|
||||||
Target="[INSTALLFOLDER]lan-mouse.exe"
|
Target="[INSTALLFOLDER]bin\lan-mouse.exe"
|
||||||
WorkingDirectory="INSTALLFOLDER">
|
WorkingDirectory="INSTALLFOLDER">
|
||||||
<Icon Id="LanMouse" SourceFile=".\icon.ico"/>
|
<Icon Id="LanMouse" SourceFile=".\icon.ico"/>
|
||||||
</Shortcut>
|
</Shortcut>
|
||||||
|
|||||||
@@ -8,6 +8,9 @@
|
|||||||
|
|
||||||
<MediaTemplate EmbedCab="yes"/>
|
<MediaTemplate EmbedCab="yes"/>
|
||||||
<Feature Id="Main">
|
<Feature Id="Main">
|
||||||
|
<ComponentGroupRef Id="GTKBIN"/>
|
||||||
|
<ComponentGroupRef Id="GTKICONS"/>
|
||||||
|
<ComponentGroupRef Id="GTKLIBS"/>
|
||||||
<ComponentGroupRef Id="LanMouseComponents"/>
|
<ComponentGroupRef Id="LanMouseComponents"/>
|
||||||
</Feature>
|
</Feature>
|
||||||
</Package>
|
</Package>
|
||||||
|
|||||||
Reference in New Issue
Block a user