mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-07 11:59:59 +03:00
start working on an installer
This commit is contained in:
committed by
Ferdinand Schober
parent
5736919f89
commit
acb067bfde
2
wix/.gitignore
vendored
Normal file
2
wix/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/bin
|
||||
/obj
|
||||
7
wix/Folders.wxs
Normal file
7
wix/Folders.wxs
Normal file
@@ -0,0 +1,7 @@
|
||||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
|
||||
<Fragment>
|
||||
<StandardDirectory Id="ProgramFiles64Folder">
|
||||
<Directory Id="INSTALLFOLDER" Name="!(bind.Property.Manufacturer) !(bind.Property.ProductName)" />
|
||||
</StandardDirectory>
|
||||
</Fragment>
|
||||
</Wix>
|
||||
5
wix/LanMouse.wixproj
Normal file
5
wix/LanMouse.wixproj
Normal file
@@ -0,0 +1,5 @@
|
||||
<Project Sdk="WixToolset.Sdk/5.0.2">
|
||||
<PropertyGroup>
|
||||
<InstallerPlatform>x64</InstallerPlatform>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
9
wix/LanMouseComponents.wxs
Normal file
9
wix/LanMouseComponents.wxs
Normal file
@@ -0,0 +1,9 @@
|
||||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
|
||||
<Fragment>
|
||||
<ComponentGroup Id="LanMouseComponents" Directory="INSTALLFOLDER">
|
||||
<Component>
|
||||
<File Source="..\target\release\lan-mouse.exe" />
|
||||
</Component>
|
||||
</ComponentGroup>
|
||||
</Fragment>
|
||||
</Wix>
|
||||
5
wix/LanMouseMsi.wixproj
Normal file
5
wix/LanMouseMsi.wixproj
Normal file
@@ -0,0 +1,5 @@
|
||||
<Project Sdk="WixToolset.Sdk/5.0.2">
|
||||
<PropertyGroup>
|
||||
<InstallerPlatform>x64</InstallerPlatform>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
8
wix/Package.en-us.wxl
Normal file
8
wix/Package.en-us.wxl
Normal file
@@ -0,0 +1,8 @@
|
||||
<!--
|
||||
This file contains the declaration of all the localizable strings.
|
||||
-->
|
||||
<WixLocalization xmlns="http://wixtoolset.org/schemas/v4/wxl" Culture="en-US">
|
||||
|
||||
<String Id="DowngradeError" Value="A newer version of [ProductName] is already installed." />
|
||||
|
||||
</WixLocalization>
|
||||
13
wix/package.wxs
Normal file
13
wix/package.wxs
Normal file
@@ -0,0 +1,13 @@
|
||||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
|
||||
<Package
|
||||
Name="Lan Mouse"
|
||||
Manufacturer="Ferdinand Schober"
|
||||
Version="0.10.0.0"
|
||||
UpgradeCode="a330cd60-4c35-4a54-8bb6-75b3049b46c6">
|
||||
<MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeError)" />
|
||||
|
||||
<Feature Id="Main">
|
||||
<ComponentGroupRef Id="LanMouseComponents" />
|
||||
</Feature>
|
||||
</Package>
|
||||
</Wix>
|
||||
Reference in New Issue
Block a user