-
Notifications
You must be signed in to change notification settings - Fork 56
/
wix.json
51 lines (51 loc) · 1.16 KB
/
wix.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"product": "hello",
"company": "mh-cbon",
"license": "LICENSE",
"upgrade-code": "",
"files": {
"guid": "",
"items": [
"build/amd64/hello.exe"
]
},
"directories": [
"assets"
],
"env": {
"guid": "",
"vars": [
{
"name": "some",
"value": "value",
"permanent": "no",
"system": "no",
"action": "set",
"part": "last"
}
]
},
"shortcuts": {
"guid": "",
"items": [
{
"name": "hello",
"description": "hello web server",
"target": "[INSTALLDIR]\\hello.exe",
"wdir": "INSTALLDIR",
"icon":"ico.ico"
}
]
},
"hooks": [
{"when": "install", "command": "sc.exe create HelloSvc binPath=\"[INSTALLDIR]hello.exe\" type=share start=auto DisplayName=\"Hello!\""},
{"when": "install", "command": "sc.exe start HelloSvc"},
{"when": "uninstall", "command": "sc.exe delete HelloSvc"}
],
"choco": {
"description": "hello program",
"project-url": "https://github.com/mh-cbon/go-msi/tree/master/testing",
"tags": "hello",
"license-url": "https://github.com/mh-cbon/go-msi/blob/master/LICENSE"
}
}