installer: remove unneeded code