Trying to setup a job that will deploy the vmwaretools msi and i’m getting this error:
Product: VMware Tools – Error 1311.Source file not found(cabinet): C:\Program Files\BigFix Enterprise\BES Client__BESData\actionsite__Download\VICFSDK.cab. Verify that the file exists and that you can access it.
You need to put the cab files and the MSI in one folder then re-run your Software Distribution wizard and point it at the folder and not the MSI file. Then it will package the MSI and the cabs together.
Did you do this to upgrade from 3.0 to 4.0. That is what I am trying to accomplish and even though I followed the instructions for Update of VMWare tools is still fails. I’m guessing this is for an update to an existing package, not an uprade to a new version. Please advise if you know for sure.
That said, I used the same article to create an uninstall script and the install package. I want to combine the two and have the uninstall action wait for 20 second to let the uninstall finish before starting the install. This is what I have:
continue if {(size of it = 38149238 AND sha1 of it = “a6782d903d7df69033fdec22ff9908c2f638a7d9”) of file “40.tmp” of folder “__Download”}
extract 40.tmp
wait “{pathname of system folder & “\msiexec.exe”}” /i “{(pathname of client folder of current site) & “__Download\VMware Tools.msi”}” ADDLOCAL=ALL REMOVE=“Hgfs,WYSE,GuestSDK,vmdesched” /qn /l* C:\temp\toolsinst.log /norestart
How can I combine these two actions into one? I tried adding an action to the msi package for installing but of course but they are two separate actions.
Thanks for the hint. I’ve added that to the mix but I’m failing on the first step. I must have done something wrong converting MSI commands to Bigfix action script. Should I try the run command rather than the wait command?See below:
continue if {(size of it = 38149238 AND sha1 of it = “a6782d903d7df69033fdec22ff9908c2f638a7d9”) of file “40.tmp” of folder “__Download”}
extract 40.tmp
wait “{pathname of system folder & “\msiexec.exe”}” /i “{(pathname of client folder of current site) & “__Download\VMware Tools.msi”}” ADDLOCAL=ALL REMOVE=“Hgfs,WYSE,GuestSDK,vmdesched” /qn /l* C:\toolsinst.log /norestart
As usual, you fixed my script. I read the article referencing it and while I don’t completely understand it, I tried it and it worked. I can’t thank you enough for your support. You’ve saved us a lot of time here.
waithidden “{pathname of system folder & “\msiexec.exe”}” /i “{(pathname of client folder of current site) & “__Download\VMware Tools64.msi”}” REINSTALL=ALL REINSTALLMODE=vomus /l* C:\toolsinst.log /qn /norestart
else
// 32-bit
waithidden “{pathname of system folder & “\msiexec.exe”}” /i “{(pathname of client folder of current site) & “__Download\VMware Tools.msi”}” REINSTALL=ALL REINSTALLMODE=vomus /l* C:\toolsinst.log /qn /norestart
Thanks Chrism. I’ll be sure to try this one as it is less convoluted than mine. I did try this one since it was written up in a couple of VMware forums but I couldn’t even make it work at the command line, let alone using BigFix.
I want to take this to the next level and write some relevance so Bigfix will only identify machines that need the upgrade. Currently, I have to go to the virtualcenter to see which ones are out of date. I would imagine that somewhere on the machine, the VMtools version is indicated. If anyone has done this already, please share.
I was able to get some basic relavence to work. There is probably a better way but I’m still learning this sort of thing. Here it is for anyone else who might find it useful. Obviously, you will need to adjust for your environment.
value “DisplayVersion” of key “HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{3B410500-1802-488E-9EF1-4B11992E0440}” of registry = “3.1.2.17734”