If an app gets installed insure that any existing folder in apps gets deleted. This will prevent the user from getting in a limbo if an installation fails and the files are copied already