/
itunes64-older-video-cards-np.json
81 lines (81 loc) 路 4.99 KB
/
itunes64-older-video-cards-np.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"version": "12.4.3.1",
"description": "A 64-bit version of iTunes with 32-bit libraries (https://support.apple.com/kb/DL1816)",
"license": "Proprietary",
"homepage": "https://www.apple.com/itunes/",
"architecture": {
"64bit": {
"url": "https://beerpsi-scoop.deno.dev/itunes?os=windows&type=older_video_cards&dl=12.4.3.1#/dl.7z",
"hash": "sha1:cb7e59eca7651140fabd69c3efc7112f8fd9f845",
"pre_install": [
"if (-not $global) {",
" throw 'This package must be installed globally.'",
"}",
"Remove-Item \"$dir\\SetupAdmin.exe\", \"$dir\\AppleSoftwareUpdate.msi\"",
"Stop-Service 'Apple Mobile Device Service' -ErrorAction SilentlyContinue",
"Stop-Service 'Bonjour Service' -ErrorAction SilentlyContinue"
],
"installer": {
"script": [
"Invoke-ExternalCommand msiexec -ArgumentList @('/i', \"$dir\\iTunes64.msi\", '/qn', '/norestart', \"TARGETDIR=$dir\", \"INSTALLDIR=$dir\") -RunAs | Out-Null",
"Invoke-ExternalCommand msiexec -ArgumentList @('/i', \"$dir\\AppleMobileDeviceSupport64.msi\", '/qn', '/norestart', \"TARGETDIR=$dir\\AppleMobileDeviceSupport\", \"INSTALLDIR=$dir\\AppleMobileDeviceSupport\") -RunAs | Out-Null",
"Invoke-ExternalCommand msiexec -ArgumentList @('/i', \"$dir\\Bonjour64.msi\", '/qn', '/norestart', \"TARGETDIR=$dir\\Bonjour\", \"INSTALLDIR=$dir\\Bonjour\") -RunAs | Out-Null",
"if (Test-Path \"$dir\\AppleApplicationSupport64.msi\") {",
" Invoke-ExternalCommand msiexec -ArgumentList @('/i', \"$dir\\AppleApplicationSupport64.msi\", '/qn', '/norestart', \"TARGETDIR=$dir\\AppleApplicationSupport\", \"INSTALLDIR=$dir\\AppleApplicationSupport\") -RunAs | Out-Null",
"}",
"if (Test-Path \"$dir\\AppleApplicationSupport.msi\") {",
" Invoke-ExternalCommand msiexec -ArgumentList @('/i', \"$dir\\AppleApplicationSupport.msi\", '/qn', '/norestart', \"TARGETDIR=$dir\\AppleApplicationSupport\", \"INSTALLDIR=$dir\\AppleApplicationSupport\") -RunAs | Out-Null",
"}",
"if (Test-Path \"$dir\\QuickTime.msi\") {",
" Invoke-ExternalCommand msiexec -ArgumentList @('/i', \"$dir\\QuickTime.msi\", '/qn', '/norestart', \"TARGETDIR=$dir\\QuickTime\", \"INSTALLDIR=$dir\\QuickTime\") -RunAs | Out-Null",
"}"
]
},
"post_install": [
"Remove-Item -Recurse \"$([Environment]::GetFolderPath('commonstartmenu'))\\Programs\\iTunes\"",
"Remove-Item -Recurse \"$([Environment]::GetFolderPath('CommonDesktopDirectory'))\\iTunes.lnk\""
],
"pre_uninstall": [
"Stop-Service 'Apple Mobile Device Service'",
"Stop-Service 'Bonjour Service'"
],
"uninstaller": {
"script": [
"Invoke-ExternalCommand msiexec -ArgumentList @('/x', \"$dir\\iTunes64.msi\", '/qn', '/norestart') -RunAs | Out-Null",
"Invoke-ExternalCommand msiexec -ArgumentList @('/x', \"$dir\\AppleMobileDeviceSupport64.msi\", '/qn', '/norestart') -RunAs | Out-Null",
"Invoke-ExternalCommand msiexec -ArgumentList @('/x', \"$dir\\Bonjour64.msi\", '/qn', '/norestart') -RunAs | Out-Null",
"if (Test-Path \"$dir\\AppleApplicationSupport64.msi\") {",
" Invoke-ExternalCommand msiexec -ArgumentList @('/x', \"$dir\\AppleApplicationSupport64.msi\", '/qn', '/norestart') -RunAs | Out-Null",
"}",
"if (Test-Path \"$dir\\AppleApplicationSupport.msi\") {",
" Invoke-ExternalCommand msiexec -ArgumentList @('/x', \"$dir\\AppleApplicationSupport.msi\", '/qn', '/norestart') -RunAs | Out-Null",
"}",
"if (Test-Path \"$dir\\QuickTime.msi\") {",
" Invoke-ExternalCommand msiexec -ArgumentList @('/x', \"$dir\\QuickTime.msi\", '/qn', '/norestart', \"TARGETDIR=$dir\\QuickTime\") -RunAs | Out-Null",
"}"
]
}
}
},
"shortcuts": [
[
"iTunes.exe",
"iTunes"
]
],
"checkver": {
"url": "https://beerpsi-scoop.deno.dev/itunes?os=windows&type=older_video_cards",
"jsonpath": "$[-1:].version"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://beerpsi-scoop.deno.dev/itunes?os=windows&type=older_video_cards&dl=$version#/dl.7z",
"hash": {
"url": "https://beerpsi-scoop.deno.dev/itunes?os=windows&type=older_video_cards",
"jsonpath": "$[?(@.version=='$version')].sha1sum"
}
}
}
}
}