public WixVariableHelper(WixBootstrapper bootstrapper, string wixVariable, Func <string, string> normaliser = null) : base(bootstrapper) { this._normaliser = normaliser ?? (x => x); this.WixVariable = wixVariable; }
protected BootstrapperManager(WixBootstrapper bootstrapper) { this._bundlesToUpgrade = new List <string>(); this.Bootstrapper = bootstrapper; bootstrapper.DetectUpdateBegin += this.Bootstrapper_DetectUpdateBegin; bootstrapper.DetectUpdate += this.Bootstrapper_DetectUpdate; bootstrapper.DetectUpdateComplete += this.Bootstrapper_DetectUpdateComplete; bootstrapper.DetectBegin += this.Bootstrapper_DetectBegin; bootstrapper.DetectComplete += this.Bootstrapper_DetectComplete; bootstrapper.DetectPackageComplete += this.Bootstrapper_DetectPackageComplete; bootstrapper.Error += this.Bootstrapper_Error; bootstrapper.Shutdown += this.Bootstrapper_Shutdown; bootstrapper.ResolveSource += this.Bootstrapper_ResolveSource; bootstrapper.ApplyBegin += this.Bootstrapper_ApplyBegin; bootstrapper.ApplyComplete += this.Bootstrapper_ApplyComplete; bootstrapper.PlanBegin += this.Bootstrapper_PlanBegin; bootstrapper.PlanPackageBegin += this.Bootstrapper_PlanPackageBegin; bootstrapper.PlanComplete += this.Bootstrapper_PlanComplete; bootstrapper.PlanRelatedBundle += this.Bootstrapper_PlanRelatedBundle; bootstrapper.PlanMsiFeature += this.Bootstrapper_PlanMsiFeature; bootstrapper.PlanRelatedBundle += this.Bootstrapper_PlanRelatedBundle; bootstrapper.DetectRelatedBundle += this.Bootstrapper_DetectRelatedBundle; // This is called when a package in the bundle is detected bootstrapper.DetectRelatedMsiPackage += this.Bootstrapper_DetectRelatedMsi; this.BootstrapperUpdateState = UpdateState.Initializing; }
protected BootstrapperManager(WixBootstrapper bootstrapper) { this._bundlesToUpgrade = new List <string>(); this.Bootstrapper = bootstrapper; // TODO: Remove when not required /*bootstrapper.DetectUpdateBegin += this.Bootstrapper_DetectUpdateBegin; * bootstrapper.DetectUpdate += this.Bootstrapper_DetectUpdate; * bootstrapper.DetectUpdateComplete += this.Bootstrapper_DetectUpdateComplete;*/ bootstrapper.DetectBegin += this.Bootstrapper_DetectBegin; bootstrapper.DetectComplete += this.Bootstrapper_DetectComplete; bootstrapper.DetectPackageComplete += this.Bootstrapper_DetectPackageComplete; bootstrapper.Error += this.Bootstrapper_Error; bootstrapper.Shutdown += this.Bootstrapper_Shutdown; bootstrapper.ResolveSource += this.Bootstrapper_ResolveSource; bootstrapper.ApplyBegin += this.Bootstrapper_ApplyBegin; bootstrapper.ApplyComplete += this.Bootstrapper_ApplyComplete; bootstrapper.PlanBegin += this.Bootstrapper_PlanBegin; bootstrapper.PlanPackageBegin += this.Bootstrapper_PlanPackageBegin; bootstrapper.PlanComplete += this.Bootstrapper_PlanComplete; bootstrapper.PlanRelatedBundle += this.Bootstrapper_PlanRelatedBundle; bootstrapper.PlanMsiFeature += this.Bootstrapper_PlanMsiFeature; bootstrapper.PlanRelatedBundle += this.Bootstrapper_PlanRelatedBundle; bootstrapper.DetectRelatedBundle += this.Bootstrapper_DetectRelatedBundle; this.BootstrapperUpdateState = UpdateState.Initializing; }
public WizardWindow(WixBootstrapper wixBootstrapper) { this.DataContext = new WizardViewModel(wixBootstrapper) { WindowHandle = new WindowInteropHelper(this).Handle }; this.InitializeComponent(); }
public BootstrapperAwareViewModel(WixBootstrapper bootstrapper) { this.Bootstrapper = bootstrapper; }
public WizardViewModel(WixBootstrapper bootstrapper) : base(bootstrapper) { this.PackageCombinationConfiguration = new PackageCombinationConfiguration(bootstrapper); this.PackageInstallationStrategy = new PackageInstallationStrategy(this.PackageCombinationConfiguration); }