<?xml version="1.0" encoding="utf-8" ?>
<UIHost xmlns="http://schemas.microsoft.com/sqlserver/setup/uihost.xsd" ResourceManager="Microsoft.SqlServer.Configuration.InstallWizard.SR, Microsoft.SqlServer.Configuration.InstallWizard">
  <Pages>

    <Page
      ID="PIDValidation">
      <Title ResourceID="CompleteImagePIDTitle"></Title>
      <Subtitle  ResourceID="CompleteImagePIDSubtitle"></Subtitle>
      <VisibleAttributes>
        <TypeName>Microsoft.SqlServer.Configuration.InstallWizardFramework.EulaPidVisibleAttribute, Microsoft.SqlServer.Configuration.InstallWizardFramework</TypeName>
      </VisibleAttributes>
      <Buttons>
        <Button ID="Finish" Visible="false"/>
      </Buttons>
      <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.PidValidationController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
    </Page>

    <Page
      ID="EULAPid" PageType="Page" >
      <Title ResourceID="CompleteImageEULAPidTitle"></Title>
      <Subtitle ResourceID="CompleteImageEULAPidSubtitle"></Subtitle>
      <VisibleAttributes>
        <TypeName>Microsoft.SqlServer.Configuration.InstallWizardFramework.EulaPidVisibleAttribute, Microsoft.SqlServer.Configuration.InstallWizardFramework</TypeName>
      </VisibleAttributes>
      <Buttons>
        <Button ID="Finish" Visible="false"/>
        <Button ID="Next" Enabled="false"/>
      </Buttons>
      <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.EULAPidController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
    </Page>

    <Page
      ID="RunRules">
      <Title ResourceID="SystemConfigurationCheckTitle"></Title>
      <Subtitle ResourceID="SystemConfigurationCheckSubtitle"></Subtitle>
      <Buttons>
        <Button ID="Finish" Visible="false"/>
        <Button ID="Next" Enabled="false"/>
        <Button ID="Cancel" Enabled="false"/>
      </Buttons>
      <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.RunStandaloneRuleProgressController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
      <LoadDataOnForwardNavigationOnly>true</LoadDataOnForwardNavigationOnly>
    </Page>

    <Page
      ID="MicrosoftUpdateOptIn" PageType="Page" >
      <Title ResourceID="MuTitle"></Title>
      <Subtitle ResourceID="MuSubtitle"></Subtitle>
      <Buttons>
        <Button ID="Finish" Visible="false"/>
      </Buttons>
      <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.MicrosoftUpdateOptInController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
    </Page>
    
    <Page
    ID="RunGlobalRules">
      <Title ResourceID="CompleteImageScenarioGlobalRulesTitle"></Title>
      <Subtitle ResourceID="ScenarioGlobalRulesSubtitle"></Subtitle>
      <Buttons>
        <Button ID="Finish" Visible="false"/>
        <Button ID="Back" Enabled="false"/>
        <Button ID="Next" Enabled="false"/>
        <Button ID="Cancel" Enabled="false"/>
      </Buttons>
      <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.RunScenarioGlobalRuleProgressController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
      <LoadDataOnForwardNavigationOnly>true</LoadDataOnForwardNavigationOnly>
    </Page>      

    <Page
      ID="SelectConfigurableInstance">
          <Title ResourceID="SelectConfigurableInstanceTitle"></Title>
          <Subtitle ResourceID="SelectConfigurableInstanceSubtitle"></Subtitle>
          <VisibleAttributes>
            <TypeName>Microsoft.SqlServer.Configuration.InstallWizardFramework.RequiresCompleteImageScenarioAttribute, Microsoft.SqlServer.Configuration.InstallWizardFramework</TypeName>
          </VisibleAttributes>
          <Buttons>
            <Button ID="Finish" Visible="false"/>
          </Buttons>
          <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.InstanceSelectionController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
    </Page>      

    <Page
    ID="FeatureTree">
      <Title ResourceID="CompleteImageFeatureSelectionTitle"></Title>
      <Subtitle ResourceID="CompleteImageFeatureSelectionSubtitle"></Subtitle>
      <Buttons>
        <Button ID="Finish" Visible="false"/>
      </Buttons>
      <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.InstallFeatureTreeController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
      <PageLeftEmbeddedAction>CALCULATESCENARIO</PageLeftEmbeddedAction>
    </Page>

    <Page
      ID="InstanceName">
      <Title ResourceID="CompleteImageInstanceNameTitle"></Title>
      <Subtitle ResourceID="CompleteImageInstanceNameSubtitle"></Subtitle>
      <Buttons>
        <Button ID="Finish" Visible="false"/>
      </Buttons>
      <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.InstanceNameController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
      <PageLeftEmbeddedAction>CALCULATESCENARIO</PageLeftEmbeddedAction>
    </Page>

    <Page
      ID="PolybaseConfiguration" PageType="Page">
      <Title ResourceID="PolybaseConfigurationTitle"></Title>
      <Subtitle ResourceID="PolybaseConfigurationSubtitle"></Subtitle>
      <Buttons>
        <Button ID="Finish" Visible="false"/>
      </Buttons>
      <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.PolybaseConfigController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
    </Page>
    
    <Page
      ID="ServerConfiguration" PageType="TabbedPage">
      <Title ResourceID="ServerConfigurationTitle"></Title>
      <Subtitle ResourceID="ServerConfigurationSubtitle"></Subtitle>
      <Buttons>
        <Button ID="Finish" Visible="false"/>
      </Buttons>
      <SubPages>
        <Page
          ID="ServiceConfiguration">
          <Title ResourceID="ServiceConfigurationTitle"></Title>
          <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.ServicesController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
        </Page>
        <Page
          ID="Collation">
          <Title ResourceID="CollationTitle"></Title>
          <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.CollationController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
        </Page>        
      </SubPages>
    </Page>

    <Page
      ID="DatabaseEngineConfiguration" PageType="TabbedPage">
      <Title ResourceID="DatabaseEngineConfigurationTitle"></Title>
      <Subtitle ResourceID="DatabaseEngineConfigurationSubtitle"></Subtitle>
      <Buttons>
        <Button ID="Finish" Visible="false"/>
      </Buttons>
      <BlockNavigationOnValidationWarning>true</BlockNavigationOnValidationWarning>
      <SubPages>
        <Page
           ID="DbAccountProvisioning">
          <Title ResourceID="AccountProvisioningTitle"></Title>
          <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.DatabaseEngineConfigController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
        </Page>
        <Page
           ID="DbDataDirectories">
          <Title ResourceID="DataDirectoriesTitle"></Title>
          <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.DatabaseEngineConfigDataDirectoryController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
        </Page>
        <Page
           ID="Tempdb">
          <Title ResourceID="TempdbTitle"></Title>
          <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.DatabaseEngineConfigTempdbController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
        </Page>
        <Page
           ID="MaxDop">
          <Title ResourceID="MaxDopTitle"></Title>
          <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.DatabaseEngineConfigMaxDopController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
        </Page>
        <Page
           ID="Memory">
          <Title ResourceID="MemoryTitle"></Title>
          <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.DatabaseEngineConfigMemoryController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
        </Page>
        <Page
           ID="Ranu">
          <Title ResourceID="RanuTitle"></Title>
          <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.RANUController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
        </Page>
        <Page
           ID="FileStream">
          <Title ResourceID="FileStreamTitle"></Title>
          <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.FileStreamController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
        </Page>
      </SubPages>
    </Page>
    <Page
      ID="AnalysisServicesConfiguration" PageType="TabbedPage">
      <Title ResourceID="AnalysisServicesConfigurationTitle"></Title>
      <Subtitle ResourceID="AnalysisServicesConfigurationSubtitle"></Subtitle>
      <Buttons>
        <Button ID="Finish" Visible="false"/>
      </Buttons>
      <SubPages>
        <Page
           ID="AsAccountProvisioning">
          <Title ResourceID="AccountProvisioningTitle"></Title>
          <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.ASConfigAccountProvisionController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
        </Page>
        <Page
           ID="AsDataDirectories">
          <Title ResourceID="DataDirectoriesTitle"></Title>
          <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.ASConfigDataDirectoriesController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
        </Page>
      </SubPages>
    </Page>

    <Page
      ID="IsMasterConfiguration" PageType="Page">
      <Title ResourceID="IsMasterServiceTitle"></Title>
      <Subtitle ResourceID="IsMasterServiceSubtitle"></Subtitle>
      <Buttons>
        <Button ID="Finish" Visible="false"/>
      </Buttons>
      <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.ISMasterServiceConfigController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
    </Page>

    <Page
      ID="IsWorkerConfiguration" PageType="Page">
      <Title ResourceID="IsWorkerServiceTitle"></Title>
      <Subtitle ResourceID="IsWorkerServiceSubtitle"></Subtitle>
      <Buttons>
        <Button ID="Finish" Visible="false"/>
      </Buttons>
      <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.ISWorkerServiceConfigController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
    </Page>
    
    <Page
      ID="AdvancedAnalyticsSetup" PageType="Page">
      <Title ResourceID="AdvancedAnalyticsSetupTitle"></Title>
      <Subtitle ResourceID="AdvancedAnalyticsSetupSubtitle"></Subtitle>
      <Buttons>
        <Button ID="Finish" Visible="false"/>
        <Button ID="Help" Visible="false"/>
      </Buttons>
      <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.AdvancedAnalyticsSetupController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
    </Page>

    <Page
    ID="PythonAnalyticsLicense" PageType="Page">
      <Title ResourceID="PythonLicenseTitle"></Title>
      <Subtitle ResourceID="PythonLicenseSubtitle"></Subtitle>
      <Buttons>
        <Button ID="Finish" Visible="false"/>
      </Buttons>
      <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.AdvancedAnalyticsPythonLicenseController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
    </Page>

    <Page
      ID="RevoInstall" PageType="Page">
      <Title ResourceID="RevoInstallTitle"></Title>
      <Subtitle ResourceID="RevoInstallSubtitle"></Subtitle>
      <VisibleAttributes>
        <TypeName>Microsoft.SqlServer.Configuration.InstallWizardFramework.HideRevoInstallerAttribute, Microsoft.SqlServer.Configuration.InstallWizardFramework</TypeName>
      </VisibleAttributes>
      <Buttons>
        <Button ID="Finish" Visible="false"/>
        <Button ID="Help" Visible="false"/>
      </Buttons>
      <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.RevoInstallController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
    </Page>

    <Page
      ID="RunInstallRules">
      <Title ResourceID="FeatureRulesTitle"></Title>
      <Subtitle ResourceID="RunCompleteImageRulesSubtitle"></Subtitle>
      <Buttons>
        <Button ID="Finish" Visible="false"/>
        <Button ID="Next" Enabled="false"/>
        <Button ID="Cancel" Enabled="false"/>
      </Buttons>
      <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.RunFeatureSpecificRuleProgressController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
      <LoadDataOnForwardNavigationOnly>true</LoadDataOnForwardNavigationOnly>
    </Page>

    <Page
      ID="Summary" PageType="Summary">
      <Title ResourceID="CompleteImageSummaryTitle"></Title>
      <Subtitle ResourceID="CompleteImageSummarySubtitle"></Subtitle>
      <Buttons>
        <Button ID="Next">
          <Text ResourceID="CompleteImageButton"></Text>
        </Button>
        <Button ID="Finish" Visible="false"/>
      </Buttons>
      <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.SummaryController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
    </Page>

    <Page
      ID="InstallationProgressPage"  PageType="Progress">
      <Title ResourceID="CompleteImageProgressPageTitle"></Title>
      <Subtitle ResourceID="CompleteImageProgressPageSubTile"></Subtitle>
      <Buttons>
        <Button ID="Finish" Visible="false"/>
        <Button ID="Back" Visible ="false "/>
        <Button ID="Next" Visible ="true" Enabled="false"/>
        <Button ID="Cancel" Visible="true" Enabled="true"/>
      </Buttons>
      <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.ExecutionProgressController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
    </Page>

    <Page
      ID="PostInstall" PageType="Finish" >
      <Title ResourceID="PostCompleteImageTitle"></Title>
      <Subtitle ResourceID="PostCompleteImageSubtitle"></Subtitle>
      <Buttons>
        <Button ID="Finish" Visible="false"/>
        <Button ID="Back" Visible ="false"/>
        <Button ID="Next" Visible ="false"/>
        <Button ID="Cancel">
          <Text ResourceID="CloseButton"></Text>
        </Button>
      </Buttons>
      <ControllerType>Microsoft.SqlServer.Configuration.InstallWizard.PostInstallController, Microsoft.SqlServer.Configuration.InstallWizard</ControllerType>
    </Page>
  </Pages>

  <Appearance>
    <Title ResourceID="CompleteImageWizardTitle"></Title>
    <Icon>
      <Name>Install</Name>
      <ResourceType>Microsoft.SqlServer.Configuration.InstallWizard.Resources, Microsoft.SqlServer.Configuration.InstallWizard</ResourceType>
    </Icon>
    <ButtonDefaults>
      <Button ID="Help" Enabled="false" Visible="false"/>
    </ButtonDefaults>
  </Appearance>
</UIHost>
