Issue #580

Issue caused by the IsInstalling flag not being reset after install/uninstall