OliveTin.wxs 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
  3. <Product
  4. Id="*"
  5. Name="OliveTin $(var.Version)"
  6. Language="1033"
  7. Version="$(var.Version)"
  8. Manufacturer="James Read"
  9. UpgradeCode="8B5E3F2A-1C4D-4E6F-9A0B-2D3C4E5F6071">
  10. <Package
  11. InstallerVersion="500"
  12. Compressed="yes"
  13. InstallScope="perMachine"
  14. Description="OliveTin web interface for running shell commands"
  15. Comments="https://github.com/OliveTin/OliveTin" />
  16. <MajorUpgrade
  17. AllowSameVersionUpgrades="yes"
  18. DowngradeErrorMessage="A newer version of OliveTin is already installed." />
  19. <MediaTemplate />
  20. <Feature Id="ProductFeature" Title="OliveTin" Level="1">
  21. <ComponentGroupRef Id="CG.AppFiles" />
  22. <ComponentRef Id="ConfigFile" />
  23. </Feature>
  24. <Directory Id="TARGETDIR" Name="SourceDir">
  25. <Directory Id="ProgramFiles64Folder">
  26. <Directory Id="INSTALLDIR" Name="OliveTin" />
  27. </Directory>
  28. <Directory Id="CommonAppDataFolder">
  29. <Directory Id="ConfigDir" Name="OliveTin" />
  30. </Directory>
  31. </Directory>
  32. <DirectoryRef Id="ConfigDir">
  33. <Component Id="ConfigFile" Guid="A1B2C3D4-E5F6-7890-ABCD-EF1234567890" Win64="yes" Permanent="yes" NeverOverwrite="yes">
  34. <File
  35. Id="ConfigYaml"
  36. Source="$(var.ConfigSource)"
  37. Name="config.yaml"
  38. KeyPath="yes" />
  39. </Component>
  40. </DirectoryRef>
  41. </Product>
  42. </Wix>