check isInstallRunning then only check free memory

if isInstallRunning is set then no need to check free memory available in install path