Running the latest version of VMware ESX tools on an older version of ESX is supported so pointing to the latest stable release is preferred - currently 5.5U2 - http://packages.vmware.com/tools/esx/5.5u2/index.html
For Windows there are 3 available downloads:
76 MB - ISO - windows/VMware-tools-windows-9.4.10-2068191.iso
41 MB - x64 - windows/x64/VMware-tools-9.4.10-2068191-x86_64.exe
33 MB - x86 - windows/x86/VMware-tools-9.4.10-2068191-i386.exe
Logic to chose correctly:
scripts/vmtools.bat: *Add check for and go to :vmware-esxi
if "%PACKER_BUILDERS_REMOTE_TYPE%" equ "esx5" goto :vmware-esxi
Add the logic to pull down the correct x86 or x64 .exe and execute accordingly.
VMware tools for Workstation/Fusion are different than the VMware tools for vSphere/ESX.
VMware hosts the ESX tools at: http://packages.vmware.com/tools/esx/index.html
Running the latest version of VMware ESX tools on an older version of ESX is supported so pointing to the latest stable release is preferred - currently 5.5U2 - http://packages.vmware.com/tools/esx/5.5u2/index.html
For Windows there are 3 available downloads: 76 MB - ISO - windows/VMware-tools-windows-9.4.10-2068191.iso 41 MB - x64 - windows/x64/VMware-tools-9.4.10-2068191-x86_64.exe 33 MB - x86 - windows/x86/VMware-tools-9.4.10-2068191-i386.exe
Logic to chose correctly:
scripts/vmtools.bat: *Add check for and go to :vmware-esxi
Add the logic to pull down the correct x86 or x64 .exe and execute accordingly.
I'll attempt a pass at this and send a PR.
Thoughts/Suggestions?