Skip to content

Commit dbb7765

Browse files
committed
virtualbox-with-extension-pack-np: Fix autoupdate for ext-pack version
Add VirtualBox extension pack to autoupdate URLs, to prevent mismatch between base installer and extension pack versions. Scoop supports autoupdate URL collections with: [ScoopInstaller/Scoop#3518](ScoopInstaller/Scoop#3518). Related to #238.
1 parent 04cc7a2 commit dbb7765

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

bucket/virtualbox-with-extension-pack-np.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
"installer": {
2727
"script": [
28-
"Start-Process -Wait -WindowStyle Hidden cmd \"/c call `\"$dir\\VBoxSetup.exe`\" --msiparams INSTALLDIR=`\"$dir`\" VBOX_START=0 REBOOT=ReallySuppress --silent && icacls `\"$dir`\" /grant Everyone:F /T && echo y | `\"$dir\\VBoxManage.exe`\" extpack install --replace `\"$dir\\Oracle_VM_VirtualBox_Extension_Pack-$version.vbox-extpack`\"\" -Verb RunAs",
28+
"Start-Process -Wait -WindowStyle Hidden cmd \"/c call `\"$dir\\VBoxSetup.exe`\" --msiparams INSTALLDIR=`\"$dir`\" VBOX_START=0 REBOOT=ReallySuppress --silent && icacls `\"$dir`\" /grant Everyone:F /T && echo y | `\"$dir\\VBoxManage.exe`\" extpack install --replace `\"$dir\\Oracle_VM_VirtualBox_Extension_Pack-$version-$matchRevision.vbox-extpack`\"\" -Verb RunAs",
2929
"Remove-Item \"$dir\\VBoxSetup.exe\"",
3030
"Remove-Item \"$env:PUBLIC\\Desktop\\Oracle VM VirtualBox.lnk\"",
3131
"Remove-Item -Recurse \"$([Environment]::GetFolderPath('commonstartmenu'))\\Programs\\Oracle VM VirtualBox\""
@@ -68,7 +68,10 @@
6868
"autoupdate": {
6969
"architecture": {
7070
"64bit": {
71-
"url": "https://download.virtualbox.org/virtualbox/$version/VirtualBox-$version-$matchRevision-Win.exe#/VBoxSetup.exe"
71+
"url": [
72+
"https://download.virtualbox.org/virtualbox/$version/VirtualBox-$version-$matchRevision-Win.exe#/VBoxSetup.exe",
73+
"https://download.virtualbox.org/virtualbox/$version/Oracle_VM_VirtualBox_Extension_Pack-$version-$matchRevision.vbox-extpack"
74+
]
7275
}
7376
},
7477
"hash": {

0 commit comments

Comments
 (0)