Respect installation mode also on reinstall (and downgrade).