protected override void OnInitialActivate() { if (_installationService.GetInstallKey() == null) { ActiveItem = _installViewModel; } else if (_installationService.Args.Contains("-uninstall")) { ActiveItem = _uninstallViewModel; } else { ActiveItem = _modifyViewModel; } base.OnInitialActivate(); }