//This method is called when the package download state is changed private static void GuidesValidationMethods_PropertyChanged1(object sender, System.ComponentModel.PropertyChangedEventArgs e) { if (packageDownloadHandle.DownloadState == PackageDownloadHandle.State.Installed) { CurrentExecutingGuide.HideCurrentStep(CurrentExecutingStep.Sequence, GuideFlow.FORWARD); if (CurrentExecutingStep.Sequence < CurrentExecutingGuide.TotalSteps) { //Move to the next Step in the Guide CurrentExecutingGuide.CalculateStep(GuideFlow.FORWARD, CurrentExecutingStep.Sequence); CurrentExecutingGuide.CurrentStep.Show(GuideFlow.FORWARD); } viewModel.PackageManagerClientViewModel.Downloads.CollectionChanged -= Downloads_CollectionChanged; packageDownloadHandle.PropertyChanged -= GuidesValidationMethods_PropertyChanged1; } }