mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-07 20:09:59 +03:00
add startmenu entry
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)" />
|
||||||
</StandardDirectory>
|
</StandardDirectory>
|
||||||
</Fragment>
|
<StandardDirectory Id="ProgramMenuFolder">
|
||||||
|
<Directory Id="ApplicationProgramsFolder" Name="!(bind.Property.ProductName)"/>
|
||||||
|
</StandardDirectory>
|
||||||
|
</Fragment>
|
||||||
</Wix>
|
</Wix>
|
||||||
|
|||||||
@@ -1,9 +1,18 @@
|
|||||||
<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">
|
||||||
<Component>
|
<Component>
|
||||||
<File Source="..\target\release\lan-mouse.exe" />
|
<File Source="..\target\release\lan-mouse.exe"/>
|
||||||
</Component>
|
</Component>
|
||||||
</ComponentGroup>
|
<Component Id="ApplicationShortcut" Directory="ApplicationProgramsFolder">
|
||||||
</Fragment>
|
<Shortcut Id="ApplicationStartMenuShortcut"
|
||||||
|
Name="!(bind.Property.ProductName)"
|
||||||
|
Description ="Mouse and Keyboard sharing Software"
|
||||||
|
Target="[INSTALLFOLDER]lan-mouse.exe"
|
||||||
|
WorkingDirectory="INSTALLFOLDER"/>
|
||||||
|
<RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/>
|
||||||
|
<RegistryValue Root="HKCU" Key="Software\Feschber\LanMouse" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
|
||||||
|
</Component>
|
||||||
|
</ComponentGroup>
|
||||||
|
</Fragment>
|
||||||
</Wix>
|
</Wix>
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
<Project Sdk="WixToolset.Sdk/5.0.2">
|
|
||||||
<PropertyGroup>
|
|
||||||
<InstallerPlatform>x64</InstallerPlatform>
|
|
||||||
</PropertyGroup>
|
|
||||||
</Project>
|
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
<MediaTemplate EmbedCab="yes"/>
|
<MediaTemplate EmbedCab="yes"/>
|
||||||
<Feature Id="Main">
|
<Feature Id="Main">
|
||||||
<ComponentGroupRef Id="LanMouseComponents" />
|
<ComponentGroupRef Id="LanMouseComponents"/>
|
||||||
</Feature>
|
</Feature>
|
||||||
</Package>
|
</Package>
|
||||||
</Wix>
|
</Wix>
|
||||||
|
|||||||
Reference in New Issue
Block a user