Example #1
0
 protected override void ConfigureAskCancel()
 {
     Button1Model = _defaultHelpButton;
     Button2Model = new InvisibleButtonModel(Model);
     Button3Model = new InvisibleButtonModel(Model);
     Button4Model = new StateBottomButton(Model, InstallationState.Cancelling){ Text = "Yes" };
     Button5Model = new StateBottomButton(Model, InstallationState.Applying) { Text = "No" };
 }
Example #2
0
        protected override void ConfigureShowRemoveOptions()
        {
            Button1Model = _defaultHelpButton;
            if (Model.ExternalEngine.AllowBack)
                Button2Model = new StateBottomButton(Model, InstallationState.DetectedPresent){Text = "Menu"};
            else
                Button2Model = new InvisibleButtonModel(Model);

            Button3Model = new InvisibleButtonModel(Model);
            Button4Model = new InvisibleButtonModel(Model);

            Button5Model = new StartExternalBottomButton(Model, InstallActions.Remove){Text="Uninstall"};
        }