Added file lock checker to installer