more safe check if software already installed