Pages

Thursday, February 10, 2011

How to Update VMware View Server's Client Installer from Website

With the recent Vmware View Client build updates to fix problems with Microsoft KB 2482017 Microsoft KB 246702 and my other post. I figured I'd post how to update the VMware View Server website so that future clients get the new build as this change is really easy.

First download the newest client from here. Save both the 32 bit and 64 bit versions as will need to copy them to the server. Next we need to browse the folder structure of our VMware View Server to the following location.
"\\<ViewServer>\c$\Program Files\VMware\VMware View\Server\broker\webapps\downloads.war"
It should look something like this.

All we really need to do is copy the software we already downloaded. (VMware-viewclient-4.5.0-353760.exe and VMware-viewclient-x86_64-4.5.0-353760.exe) and rename them in the folder to match the already existing files.

So backup somewhere first then delete VMware-viewclient.exe and VMware-viewclient-x86_64.exe files.

Then rename VMware-viewclient-4.5.0-353760.exe to VMware-viewclient.exe and copy and replace it to the downloads.war folder.

Do the same VMware-viewclient-x86_64-4.5.0-353760.exe renaming it to VMware-viewclient-x86_64.exe copy and replace it to the downloads.war folder.

To test that this works navgate to https://YourViewServer/ and download the 32 bit and 64 bit clients. Save them and right click the exe's and open the properties on the filies. Go to details and notice the new product version shows the correct build number.


As for fixing existing clients they must uninstall the previous version, you could wrap these exe's so that they first uninstalled any previous versions and then installed the wrapped version. Let me know if anyone has problems following this.

6 comments:

  1. Is there anyway to have the website check to see if they have 353760 version installed? I know if you have version 4.0 client installed it will tell you install the new one. Is there someway to get this to work if you have version 293049 installed?

    ReplyDelete
  2. So as you know the Vmware Client 353760 build doesn't uninstall the 293049 build. You would have to create your own exe, that both checked for the 293049 build first. Uninstalling if it found it. Followed by including 353760 bundled in the exe to be installed after. I've written something similar before in visual studio.

    ReplyDelete
  3. This is great. Thank You!

    ReplyDelete
  4. As a note, we've tried packing our own exe's for this use in the past and have run into code signing issues we could not overcome.

    The replacement works because both packages were signed with VMware's certificate.

    ReplyDelete
  5. Thanks for the comment on the code signing Anonymous.

    ReplyDelete

Please leave a comment; someone, anyone!