49 lines
2.2 KiB
XML
49 lines
2.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
|
|
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
|
|
<Product Id="*" Name="Chromebox Fan Control Service" Language="1033" Version="1.0.0" Manufacturer="ChromeboxFanControl"
|
|
UpgradeCode="B2C3D4E5-F6A7-8901-BCDE-F12345678901">
|
|
<Package InstallerVersion="500" Compressed="yes" InstallScope="perMachine" Platform="x64" />
|
|
|
|
<MajorUpgrade DowngradeErrorMessage="A newer version is already installed." />
|
|
<MediaTemplate EmbedCab="yes" />
|
|
|
|
<Feature Id="ServiceFeature" Title="Chromebox Fan Control Service (background, auto-start)" Level="1" ConfigurableDirectory="INSTALLFOLDER">
|
|
<ComponentGroupRef Id="ServiceFiles" />
|
|
<ComponentRef Id="ConfigFolderComponent" />
|
|
<ComponentRef Id="ServiceComponent" />
|
|
</Feature>
|
|
|
|
<UIRef Id="WixUI_InstallDir" />
|
|
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER" />
|
|
|
|
<Directory Id="TARGETDIR" Name="SourceDir">
|
|
<Directory Id="ProgramFiles64Folder">
|
|
<Directory Id="INSTALLFOLDER" Name="Chromebox Fan Control" />
|
|
</Directory>
|
|
<Directory Id="CommonAppDataFolder">
|
|
<Directory Id="ConfigFolder" Name="ChromeboxFanControl" />
|
|
</Directory>
|
|
</Directory>
|
|
|
|
<DirectoryRef Id="INSTALLFOLDER">
|
|
<Component Id="ServiceComponent" Guid="C3D4E5F6-A7B8-9012-CDEF-F12345678902">
|
|
<File Id="ServiceExe" Source="ChromeboxFanControlService.exe" KeyPath="yes" />
|
|
<ServiceInstall Id="ChromeboxFanControlSvc" Name="ChromeboxFanControl"
|
|
DisplayName="Chromebox Fan Control Service" Description="Fan control for Chromebox with Coreboot"
|
|
Type="ownProcess" Start="auto" Account="LocalSystem" ErrorControl="normal" />
|
|
<ServiceControl Id="StartService" Name="ChromeboxFanControl" Start="install" />
|
|
<ServiceControl Id="StopService" Name="ChromeboxFanControl" Stop="both" Remove="uninstall" />
|
|
</Component>
|
|
</DirectoryRef>
|
|
|
|
<DirectoryRef Id="ConfigFolder">
|
|
<Component Id="ConfigFolderComponent" Guid="D4E5F6A7-B8C9-0123-DEF0-123456789003">
|
|
<CreateFolder>
|
|
<util:PermissionEx User="Users" GenericAll="yes" />
|
|
</CreateFolder>
|
|
</Component>
|
|
</DirectoryRef>
|
|
</Product>
|
|
</Wix>
|