Exemple #1
0
        public static void Register(FuseBootstrapperApplication a)
        {
            a.PlanBegin         += OnPlanBegin;
            a.PlanRelatedBundle += OnPlanRelatedBundle;

            a.PlanPackageBegin      += OnPlanPackageBegin;
            a.PlanCompatiblePackage += OnPlanCompatiblePackage;
            a.PlanTargetMsiPackage  += OnPlanTargetMsiPackage;
            a.PlanMsiFeature        += OnPlanMsiFeature;
            a.PlanPackageComplete   += OnPlanPackageComplete;

            a.PlanComplete += OnPlanComplete;
        }
Exemple #2
0
        public static void Register(FuseBootstrapperApplication a)
        {
            a.ApplyBegin += OnApplyBegin;

            a.Elevate += OnElevate;

            a.RegisterBegin    += OnRegisterBegin;
            a.RegisterComplete += OnRegisterComplete;

            a.UnregisterBegin    += OnUnregisterBegin;
            a.UnregisterComplete += OnUnregisterComplete;

            a.CacheBegin += OnCacheBegin;

            a.CachePackageBegin += OnCachePackageBegin;

            a.CacheAcquireBegin    += OnCacheAcquireBegin;
            a.CacheAcquireProgress += OnCacheAcquireProgress;

            a.ResolveSource += OnResolveSource;

            a.CacheAcquireComplete += OnCacheAcquireComplete;

            a.CacheVerifyBegin    += OnCacheVerifyBegin;
            a.CacheVerifyComplete += OnCacheVerifyComplete;

            a.CachePackageComplete += OnCachePackageComplete;

            a.CacheComplete += OnCacheComplete;

            a.ExecuteBegin        += OnExecuteBegin;
            a.ExecutePackageBegin += OnExecutePackageBegin;
            a.ExecutePatchTarget  += OnExecutePatchTarget;

            a.Error    += OnError;
            a.Progress += OnProgress;

            a.ExecuteMsiMessage      += OnExecuteMsiMessage;
            a.ExecuteFilesInUse      += OnExecuteFilesInUse;
            a.ExecutePackageComplete += OnExecutePackageComplete;
            a.ExecuteComplete        += OnExecuteComplete;

            a.RestartRequired += OnRestartRequired;

            a.ApplyComplete += OnApplyComplete;
        }
Exemple #3
0
 public static void Register(FuseBootstrapperApplication a)
 {
     _bootstrapperApplication         = a;
     a.DetectBegin                   += OnDetectBegin;
     a.DetectForwardCompatibleBundle += OnDetectForwardCompatibleBundle;
     a.DetectUpdateBegin             += OnDetectUpdateBegin;
     a.DetectUpdate                  += OnDetectUpdate;
     a.DetectUpdateComplete          += OnDetectUpdateComplete;
     a.DetectPriorBundle             += OnDetectPriorBundle;
     a.DetectRelatedBundle           += OnDetectRelatedBundle;
     a.DetectPackageBegin            += OnDetectPackageBegin;
     a.DetectCompatiblePackage       += OnDetectCompatiblePackage;
     a.DetectRelatedMsiPackage       += OnDetectRelatedMsiPackage;
     a.DetectTargetMsiPackage        += OnDetectTargetMsiPackage;
     a.DetectMsiFeature              += OnDetectMsiFeature;
     a.DetectPackageComplete         += OnDetectPackageComplete;
     a.DetectComplete                += OnDetectComplete;
 }
        public InstallerService(FuseBootstrapperApplication a)
        {
            a.Startup  += OnStartup;
            a.Shutdown += OnShutdown;

            a.SystemShutdown += OnSystemShutdown;

            Detect.Register(a);

            Plan.Register(a);

            Apply.Register(a);

            a.ExecuteProgress += OnExecuteProgress;

            a.LaunchApprovedExeBegin += LaunchApprovedExeBegin;

            a.LaunchApprovedExeComplete += LaunchApprovedExeComplete;
        }