setInstallerType

Sets InstallParameters.installerType, maintaining the following invariants: