From 44525aba86a5137f612cd5bdb7efda89237e8aac Mon Sep 17 00:00:00 2001 From: Vasyl Palamarchuk Date: Thu, 24 Sep 2026 07:00:05 -0700 Subject: [PATCH] Add VVDI-MLB. --- Automotive-Workstation-Setup.ps1 | 23 +++++++++++++++---- Config/automotive-resources.json | 2 +- ...-MultiPROG-Script-Development-Resources.md | 3 +++ 3 files changed, 22 insertions(+), 6 deletions(-) diff --git a/Automotive-Workstation-Setup.ps1 b/Automotive-Workstation-Setup.ps1 index 23ef2fd..e281161 100644 --- a/Automotive-Workstation-Setup.ps1 +++ b/Automotive-Workstation-Setup.ps1 @@ -16,10 +16,10 @@ only when intentionally downloading and replacing validated portable applications. Install licensed/OEM tools from the vendor portal and validate compatibility with your exact interface. - The only exception is -InstallXhorseSoftware, which fetches the Xhorse Multi-PROG and - MVCI PRO J2534 installers directly from Xhorse's own download servers and launches - each one interactively so you can complete licensing, activation, and dongle setup - yourself. + The only exception is -InstallXhorseSoftware, which fetches the Xhorse Multi-PROG, + VVDI-MLB, and MVCI PRO J2534 installers directly from Xhorse's own download servers + and launches each one interactively so you can complete licensing, activation, and + dongle setup yourself. .EXAMPLE # Run from an elevated Windows PowerShell session in this script's directory. @@ -43,7 +43,7 @@ .\Win1-Automotive-Workstation-Setup.ps1 -InstallOptionalApps .EXAMPLE - # Also fetch and launch the official Xhorse Multi-PROG and MVCI PRO installers. + # Also fetch and launch the official Xhorse Multi-PROG, VVDI-MLB, and MVCI PRO installers. .\Win1-Automotive-Workstation-Setup.ps1 -InstallXhorseSoftware .EXAMPLE @@ -1839,6 +1839,19 @@ Multi-PROG for the selected device, and preserve multiple verified original back Start-Process -FilePath $installerPath -WorkingDirectory $multiProgSoftwareRoot } | Out-Null + Invoke-Safe 'AutomotiveTooling' 'Xhorse VVDI-MLB software installer' { + $vvdiMlbSoftwareRoot = Join-Path $SharedInstallerRoot 'Xhorse\VVDI-MLB' + $null = New-Item -ItemType Directory -Path $vvdiMlbSoftwareRoot -Force + $installerPath = Join-Path $vvdiMlbSoftwareRoot 'VVDI-MLB.exe' + $vvdiMlb = $Configuration.Automotive.Installers | Where-Object { $_.Name -eq 'VVDI-MLB' } | Select-Object -First 1 + if (-not $vvdiMlb) { throw 'VVDI-MLB installer is not defined in automotive-resources.json.' } + Invoke-ReliableDownload -Name 'Xhorse VVDI-MLB installer' -Uri $vvdiMlb.Uri -Destination $installerPath -AllowInsecureHttp + if ((Get-Item -LiteralPath $installerPath).Length -lt 1MB) { throw 'VVDI-MLB installer download is unexpectedly small.' } + Unblock-File -LiteralPath $installerPath -ErrorAction SilentlyContinue + Write-Log 'VVDI-MLB installer downloaded. Launching interactive setup; connect the VVDI-MLB dongle only when the wizard prompts for it.' 'WARN' + Start-Process -FilePath $installerPath -WorkingDirectory $vvdiMlbSoftwareRoot + } | Out-Null + Invoke-Safe 'AutomotiveTooling' 'Xhorse MVCI PRO software installer' { $mvciSoftwareRoot = Join-Path $SharedInstallerRoot 'Xhorse\MVCI-PRO' $null = New-Item -ItemType Directory -Path $mvciSoftwareRoot -Force diff --git a/Config/automotive-resources.json b/Config/automotive-resources.json index 6353374..1cfec0b 100644 --- a/Config/automotive-resources.json +++ b/Config/automotive-resources.json @@ -7,7 +7,7 @@ ], "Installers": [ { "Name": "Multi-PROG", "FileName": "Multi-PROG.exe", "Folder": "Xhorse\\Multi-PROG", "Uri": "http://dl.xhorse.com/product/multiProg/Multi-PROG.exe" }, - { "Name": "VVDI-MLB", "FileName": "VVDI-MLB.exe", "Folder": "Xhorse\\VVDI-MLB", "Uri": "http://dl.xhorse.com/product/vvdi-mlb/VVDI-MLB.exe" } + { "Name": "VVDI-MLB", "FileName": "VVDI-MLB.exe", "Folder": "Xhorse\\VVDI-MLB", "Uri": "http://dl.xhorse.net.cn/product/vvdimlb/VVDI-MLB.exe" } ], "CommunicationSoftware": [ { "Name": "MVCI PRO J2534", "FileName": "MVCI_PRO-J2534.exe", "Folder": "Xhorse\\MVCI-PRO", "Uri": "http://dl.xhorse.com/product/mvci/MVCI_PRO-J2534.exe", "MinimumBytes": 1048576, "AllowInsecureHttp": true, "RequiresVpn": true }, diff --git a/Xhorse-MultiPROG-Script-Development-Resources.md b/Xhorse-MultiPROG-Script-Development-Resources.md index 746e17c..494f1eb 100644 --- a/Xhorse-MultiPROG-Script-Development-Resources.md +++ b/Xhorse-MultiPROG-Script-Development-Resources.md @@ -90,6 +90,9 @@ dongle pairing prompts yourself, and connect the hardware only when the installe ### Multi-PROG software installer https://dl.xhorse.com/product/multiProg/Multi-PROG.exe +### VVDI-MLB software installer +http://dl.xhorse.net.cn/product/vvdimlb/VVDI-MLB.exe + ### MVCI PRO (J2534 pass-thru) software installer http://dl.xhorse.com/product/mvci/MVCI_PRO-J2534.exe