Comments (3)
VMware Horizon Client is available on Omnissa.
from evergreen.
I'll be removing these applications from Evergreen for the time being. It's likely the API used to find downloads is not going to be available on the Broadcom site and changes at Omnissa are still on-going
from evergreen.
I've reversed the auto update API call, but the downloads are in .tar format and they are cut down in that there are no VMware Tools ISOs included.
function Decompress-GZip($Path, $Destination) {
$inStream = New-Object System.IO.FileStream $Path, ([IO.FileMode]::Open), ([IO.FileAccess]::Read), ([IO.FileShare]::Read)
$gzipStream = New-Object System.IO.Compression.GZipStream $inStream, ([IO.Compression.CompressionMode]::Decompress)
$outStream = New-Object System.IO.FileStream $Destination, ([IO.FileMode]::Create), ([IO.FileAccess]::Write), ([IO.FileShare]::None)
$buffer = New-Object byte[](1024)
while(($read = $gzipStream.Read($buffer, 0, 1024)) -gt 0) {
$outStream.Write($buffer, 0, $read)
}
$gzipStream.Close()
$outStream.Close()
$inStream.Close()
}
$TempPath = Join-Path $env:TEMP (New-Guid).Guid
New-Item -Path $TempPath -ItemType Directory -Force | Out-Null
$Products = @(
@{
ProductName = 'VMware Workstation Pro'
URL = 'https://softwareupdate.vmware.com/cds/vmw-desktop/ws-windows.xml'
MajorVersion = 17
}
@{
ProductName = 'VMware Workstation Player'
URL = 'https://softwareupdate.vmware.com/cds/vmw-desktop/player-windows.xml'
MajorVersion = 17
}
@{
ProductName = 'VMware Remote Console'
URL = 'https://softwareupdate.vmware.com/cds/vmw-desktop/vmrc-windows.xml'
#MajorVersion = 12
}
)
foreach ($Product in $Products) {
try {
$XML = Invoke-RestMethod -Uri $Product.URL -DisableKeepAlive
}
catch {
Write-Error "Failed to download $($Product.URL): $_"
continue
}
$MajorVersions = ($XML.metaList.metadata.url | Select-String -Pattern '\d+').Matches.Groups.Value | Sort-Object -Unique
if ($Product.MajorVersion) {
$MajorVersions = $MajorVersions | Where-Object {$_ -eq $Product.MajorVersion}
}
foreach ($MajorVersion in $MajorVersions) {
try {
$Version = (($XML.metaList.metadata.url | Select-String -Pattern "$MajorVersion(?:\.\d+)+").Matches.Groups.Value | ForEach-Object {[version]$_} | Sort-Object -Descending | Select-Object -First 1).ToString()
$MetadataURL = 'https://softwareupdate.vmware.com/cds/vmw-desktop/' + ($XML.metaList.metadata.url | Where-Object {$_ -match "/$Version/(?!.*packages)"})
$Download = Invoke-Download -Uri $MetadataURL -Destination $TempPath -PassThru
$MetadataPath = $Download.FullName -Replace '\.gz$'
Decompress-GZip -Path $Download.FullName -Destination $MetadataPath
$MetadataXML = [xml](Get-Content -Path $MetadataPath)
$URL = (Split-Path $MetadataURL -Parent) + $MetadataXML.metadataResponse.bulletin.componentList.component.relativePath.'#text'
[PSCustomObject]@{
Name = $Product.ProductName
MajorVersion = $MajorVersion
Version = $Version
URI = $URL
}
}
catch {
Write-Error "Error: $_"
continue
}
}
}
Remove-Item -Path $TempPath -Recurse -Force
(Invoke-Download is from my PsDownload, so install that or change the code to run the above)
from evergreen.
Related Issues (20)
- [Bug]: McneelRhino reports "Cannot validate argument on parameter 'Uri'"
- [Bug]: ChromiumChromeDriver reports HTTP 410
- [Bug]: MozillaFirefox outputs HTTP 403/404 HOT 2
- SourceForge changes affecting downloads with Save-EvergreenApp HOT 6
- [Enhancement]: Add new Fast/Slow releases to Zoom HOT 3
- [Bug]: Firefox Error 404 HOT 1
- [Feature]: Microsoft ODBC Driver mulitple languages and Additional 'Base Version' attribute HOT 1
- [Feature]: Microsoft OLE DB Driver mulitple languages and Additional 'Base Version' attribute HOT 1
- [Feature]: Microsoft SSMS Additional 'Base Version' attribute HOT 3
- [Bug]: Get-EvergreenApp for AzureCLI does not return 64 bit installer HOT 2
- [Bug]: 7zip not working HOT 7
- [Bug]: GoogleChrome Version in Evergreen is 112 but when you download is it the expected 113 HOT 1
- [Bug]: Can't retrieve a list of Google Chrome Enterprise installs HOT 3
- [Bug]: Google Chrome Returning 410 error HOT 3
- [Bug]: MicrosoftAzureDataStudio - No update feed found for win32-x64 and insider HOT 2
- [Bug]: The Download size for 7zip is incorrect HOT 3
- [Bug]: VLC not currently returning latest version (3.0.21) HOT 3
- [New app]: ControlUp Agent manager HOT 1
- [Bug]: Slack no longer working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evergreen.