Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VMware Horizon Client download broken #1658

Open
DanielBahr2 opened this issue May 17, 2024 · 1 comment · May be fixed by #1689
Open

VMware Horizon Client download broken #1658

DanielBahr2 opened this issue May 17, 2024 · 1 comment · May be fixed by #1689

Comments

@DanielBahr2
Copy link

DanielBahr2 commented May 17, 2024

Since 05/13/24 the download url for Horizon Client has been changed. You can read it information regarding "System Migration Changes Impacting Workspace ONE and Horizon Customers" here

my solution was to change the urls:
downloadGroup=$(curl -fsL "https://customerconnect.omnissa.com/channel/public/api/v1.0/products/getRelatedDLGList?locale=en_US&category=desktop_end_user_computing&product=vmware_horizon_clients&version=horizon_8&dlgType=PRODUCT_BINARY" | grep -o '[^"]MAC[^"]')
fileName=$(curl -fsL "https://customerconnect.omnissa.com/channel/public/api/v1.0/dlg/details?locale=en_US&category=desktop_end_user_computing&product=vmware_horizon_clients&dlgType=PRODUCT_BINARY&downloadGroup=${downloadGroup}" | grep -o '"fileName":"[^"]"' | cut -d: -f2 | sed 's/"//g')
downloadURL="https://download3.omnissa.com/software/$downloadGroup/${fileName}"
appNewVersion=$(curl -fsL "https://customerconnect.omnissa.com/channel/public/api/v1.0/dlg/details?locale=en_US&downloadGroup=${downloadGroup}" | grep -o '[^"]
.dmg[^"]' | sed 's/.-(.)-./\1/')

Seems to be not perfect as it's downloading the old version 8.12.1 (2312.1) but this is related to the downloadpage which I use now

 perhaps you can find a better solution because I didn't find the "new" URL for my.vmware.com .... 
 
 Kind regards,
 
 Daniel
@spikehed
Copy link

spikehed commented May 21, 2024

Actually your code was mostly there this is what should go into the PR.

vmwarehorizonclient)
    name="VMware Horizon Client"
    type="pkgInDmg"
    downloadGroup=$(curl -fsL "https://customerconnect.omnissa.com/channel/public/api/v1.0/products/getRelatedDLGList?locale=en_US&category=desktop_end_user_computing&product=vmware_horizon_clients&version=horizon_8&dlgType=PRODUCT_BINARY" | grep -o '[^"]*_MAC_[^"]*')
    fileName=$(curl -fsL "https://customerconnect.omnissa.com/channel/public/api/v1.0/dlg/details?locale=en_US&category=desktop_end_user_computing&product=vmware_horizon_clients&dlgType=PRODUCT_BINARY&downloadGroup=${downloadGroup}" | grep -o '"fileName":"[^"]*"' | cut -d: -f2 | sed 's/"//g')
    downloadURL="https://download3.omnissa.com/software/${downloadGroup}/${fileName}"
    appNewVersion=$(curl -fsL "https://customerconnect.omnissa.com/channel/public/api/v1.0/dlg/details?locale=en_US&downloadGroup=${downloadGroup}" | grep -o '[^"]*\.dmg[^"]*' | sed 's/.*-\(.*\)-.*/\1/')
    expectedTeamID="EG7KH642X6"
    ;;

northalpha added a commit to northalpha/Installomator that referenced this issue Jun 6, 2024
@northalpha northalpha linked a pull request Jun 6, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants