} else {
if (cmd.isAttach()) {
vmMo.mountToolsInstaller();
} else {
try{
if (!vmMo.unmountToolsInstaller()) {
return new Answer(cmd, false,
"Failed to unmount vmware-tools installer ISO as the corresponding CDROM device is locked by VM. Please unmount the CDROM device inside the VM and ret-try.");
}
}catch(Throwable e){
vmMo.detachIso(null);