wix.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "product": "cloudflared",
  3. "company": "cloudflare",
  4. "license": "LICENSE",
  5. "upgrade-code": "23f90fdd-9328-47ea-ab52-5380855a4b12",
  6. "files": {
  7. "guid": "35e5e858-9372-4449-bf73-1cd6f7267128",
  8. "items": [
  9. "cloudflared.exe"
  10. ]
  11. },
  12. "env": {
  13. "guid": "6bb74449-d10d-4f4a-933e-6fc9fa006eae",
  14. "vars": [
  15. {
  16. "name": "CFDPATH",
  17. "value": "[INSTALLDIR].",
  18. "permanent": "no",
  19. "system": "yes",
  20. "action": "set",
  21. "part": "all"
  22. }
  23. ]
  24. },
  25. "shortcuts": {},
  26. "choco": {
  27. "description": "cloudflared connects your machine or user identity to Cloudflare's global network.",
  28. "project-url": "https://github.com/cloudflare/cloudflared",
  29. "license-url": "https://github.com/cloudflare/cloudflared/blob/master/LICENSE"
  30. },
  31. "hooks": [
  32. {
  33. "command": "sc.exe create Cloudflared binPath=\"[INSTALLDIR]cloudflared.exe\" type=share start=auto DisplayName=\"Cloudflared\"",
  34. "when": "install"
  35. },
  36. {
  37. "command": "sc.exe start Cloudflared",
  38. "when": "install"
  39. },
  40. {
  41. "command": "sc.exe delete Cloudflared",
  42. "when": "uninstall"
  43. }
  44. ]
  45. }