Update to 0.5.12
Unlock directory if install failed