Obs/scripts/Install-Extension.ps1

##------------------------------------------------------------------
## <copyright file="Install-Extension.ps1" company="Microsoft">
## Copyright (C) Microsoft. All rights reserved.
## </copyright>
##------------------------------------------------------------------

$ErrorActionPreference = "Stop"
$functionName = $MyInvocation.MyCommand.Name

#region Imports
Import-Module (Join-Path -Path $PSScriptRoot -ChildPath 'ExtensionHelper.psm1') `
    -DisableNameChecking `
    -Verbose:$false

$gmaPackageContentPath = Get-GmaPackageContentPath
Import-Module (Join-Path -Path "$gmaPackageContentPath" -ChildPath 'GMATenantJsonHelper.psm1') `
    -DisableNameChecking `
    -Verbose:$false

Import-Module (Join-Path -Path $PSScriptRoot -ChildPath 'ScenarioHelper.psm1') `
    -DisableNameChecking `
    -Verbose:$false

Import-Module (Join-Path -Path $PSScriptRoot -ChildPath 'ObservabilityDeploymentHelper.psm1') `
    -DisableNameChecking `
    -Verbose:$false
#endregion Imports

$logFile = Get-HandlerLogFile

try {
    Write-Log "[$functionName] Install script started." -LogFile $logFile

    #region Pre-installation validations
    Invoke-PreInstallationValidation -LogFile $logFile
    #endregion Pre-installation validations

    Write-Log "[$functionName] Installing Observability-Telemetry pipeline components." -LogFile $logFile

    Install-VCRuntime -LogFile $logFile
        
    ## Register Observability windows eventsources and create Observability Pruner, Uptime, and Census Scheduled tasks
    Register-ObservabilityEventSources -LogFile $logFile
    Set-ObservabilityDeploymentScheduledTasks -LogFile $logFile

    #region UTC setup
    try
    {
        Initialize-UTCSetup -LogFile $logFile
    }
    catch
    {
        Write-Log `
            -Message "$functionName : Initialize-UTCSetup failed with error $_. Continuing." `
            -LogFile $logFile
    }
    #endregion UTC setup

    ##----------------------------------------------------------------------------------------------------------------------------------
    ## NOTE: UTC setup needs to happen before GMA as the GenevaNamespace registry key for UTCGeneveExporter needs to be created before GMA setup updates its value.
    ##----------------------------------------------------------------------------------------------------------------------------------

    #region GMA setup
    ## Create required cache folders
    $cacheDirectories = New-CacheDirectories -LogFile $logFile
    $gmaCacheFolderPath = $cacheDirectories.GMACache
    Write-Log "[$functionName] gmaCacheFolderPath = $gmaCacheFolderPath" -LogFile $logFile

    $CloudName = Get-CloudName -LogFile $logFile
    $GcsRegionName = Get-GcsRegionName -LogFile $logFile
    $GcsEnvironment = Get-GcsEnvironmentName -CloudName $CloudName -LogFile $logFile

    Set-TenantJsonConfig `
        -GcsRegionName $GcsRegionName `
        -GcsEnvironment $GcsEnvironment `
        -GMACacheFolderPath $gmaCacheFolderPath `
        -LogFile $logFile

    ## Add symlinks for all the scenarios.
    Add-ObservabilitySymLinks -LogFile $logFile

    #region MA Watchdog setup
    ## Set HCITelemetry AllowTelemetry
    New-RegKey `
        -Path $MiscConstants.HCITelemetryRegKey.Path `
        -LogFile $logFile `
        -CreatePathOnly

    New-RegKey `
        -Path $MiscConstants.HCITelemetryRegKey.Path `
        -Name $MiscConstants.HCITelemetryRegKey.Name `
        -PropertyType $MiscConstants.HCITelemetryRegKey.PropertyType `
        -Value $MiscConstants.HCITelemetryRegKey.Value `
        -LogFile $logFile
    
    ## Set DeviceType Registry key to AzureEdge
    New-RegKey `
        -Path $RegistryConstants.DeviceTypeRegKey.Path `
        -Name $RegistryConstants.DeviceTypeRegKey.Name `
        -PropertyType $RegistryConstants.DeviceTypeRegKey.PropertyType `
        -Value $RegistryConstants.DeviceTypeRegKey.Value `
        -LogFile $LogFile

    New-Directory -Path $MiscConstants.FDAOutputDirectory -LogFile $logFile
    $FDACmdLine = "/EmissionType Local /OutputPath $($MiscConstants.FDAOutputDirectory) /OutputZip /NoAutopilot"
    ## Set MA Watchdog app config settings
    $watchdogPackageContentPath = Get-WatchdogPackageContentPath
    $watchdogAppConfigPath = Join-Path $watchdogPackageContentPath -ChildPath $MiscConstants.MAWatchDogAppAppConfigName
    $watchdogAppConfig = Get-Content $watchdogAppConfigPath -Raw
    $obsScheduledTaskFullPath = $MiscConstants.ObsScheduledTaskDetails.TaskPath + $MiscConstants.ObsScheduledTaskDetails.TaskName

    $appConfigValuesToUpdate = @{
        ExtensionStatusFilePath = Get-StatusFilePath
        FDAPath = Get-FDAPackageContentPath
        FDACmdLine = $FDACmdLine
        GMACmdLine = "-serviceMode -localPath $($cacheDirectories.MonAgentHostCache) -JsonDropLocation $($cacheDirectories.JsonDropLocation)"
        GMALauncherFileName = $MiscConstants.MonAgentHostExeName
        HeartBeatFilePath = Get-HandlerHeartBeatFile -LogFile $LogFile
        MonitoringPath = "$gmaPackageContentPath\Monitoring\Agent"
        ObservabilityScheduledTaskFullPath = $obsScheduledTaskFullPath
        WatchdogTimerFrequencyInSeconds = $MiscConstants.WatchdogTimerFrequencyInSeconds
        WatchdogStatusFilePath = Get-WatchdogStatusFile -LogFile $logFile
    }

    ## Constrained language mode must be supported, so regex is used instead of xml node selection to update config
    $appConfigValuesToUpdate.Keys | ForEach-Object {
        $key = $_
        $value = $appConfigValuesToUpdate[$key]
        $searchRegex = "add key=`"$key`" value=`"[^`"]+`""
        $replaceRegex = "add key=`"$key`" value=`"$value`""
        $watchdogAppConfig = $watchdogAppConfig -replace $searchRegex, $replaceRegex
    }

    Set-Content -Path $watchdogAppConfigPath -Value $watchdogAppConfig
 
    ## Register MAWatchDog as Windows Service.
    $binaryFilePath = Join-Path -Path $watchdogPackageContentPath `
                        -ChildPath $MiscConstants.ObsServiceDetails.WatchdogAgent.BinaryFileName

    Register-ServiceForObservability `
        -ServiceName $MiscConstants.ObsServiceDetails.WatchdogAgent.Name `
        -ServiceDisplayName $MiscConstants.ObsServiceDetails.WatchdogAgent.DisplayName `
        -ServiceBinaryFilePath $binaryFilePath `
        -LogFile $logFile
    #endregion MA Watchdog setup

    #region Diagnostics setup
    Write-Log "[$functionName] Installing Observability-Diagnostics pipeline components." -LogFile $logFile

    ## Register Obs Agent as Windows service
    $binaryFilePath = Join-Path -Path $global:ObsArtifactsPaths.ObservabilityAgent `
                        -ChildPath $MiscConstants.ObsServiceDetails.ObsAgent.BinaryFileName
                        
    Register-ServiceForObservability `
        -ServiceName $MiscConstants.ObsServiceDetails.ObsAgent.Name `
        -ServiceDisplayName $MiscConstants.ObsServiceDetails.ObsAgent.DisplayName `
        -ServiceBinaryFilePath $binaryFilePath `
        -LogFile $logFile

    ## logman
    Initialize-LogmanTraceSession -Logfile $logFile
    #endregion Diagnostics setup

    Write-Log "[$functionName] Successfully installed observability pipeline components." -LogFile $logFile

    Set-Status `
        -Name $MiscConstants.WorkLoadName.Install `
        -Operation "Install succeeded" `
        -Message "Successfully installed extension." `
        -Status $MiscConstants.Status.Success `
        -Code $MiscConstants.SuccessCode
}
catch {
    Import-Module (Join-Path -Path $gmaPackageContentPath -ChildPath 'GMATenantJsonHelper.psm1') `
        -DisableNameChecking `
        -Verbose:$false
    
    $errorCode = $ErrorConstants.DefaultErrorMessage.Code
    $customErrorMessage = "Failed to install extension, "

    $errorKey = $_.ToString()
    if ($ErrorConstants.Keys -contains $errorKey) {
        $errorConstant = $ErrorConstants[$errorKey]
        $customErrorMessage += $errorConstant.Message
        $errorCode = $errorConstant.Code
    }
    else {
        $customErrorMessage += "$($ErrorConstants.DefaultErrorMessage.Message) $errorKey"
        $errorCode = $ErrorConstants.DefaultErrorMessage.Code
    }

    $exceptionDetailsAsString = Get-ExceptionDetails -ErrorObject $_

    # Exception details are saved for logging only.
    Write-Log "$customErrorMessage : $exceptionDetailsAsString" -LogFile $LogFile `
        -Level $MiscConstants.Level.Error

    # In status file, only the exception message is sent along with the custom message.
    Set-Status `
        -Name $MiscConstants.WorkLoadName.Install `
        -Operation "Install failed" `
        -Message $customErrorMessage `
        -Status $MiscConstants.Status.Error `
        -Code $errorCode

    exit $errorCode
}
# SIG # Begin signature block
# MIIoKgYJKoZIhvcNAQcCoIIoGzCCKBcCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCB7bUc6dxBRN0Oz
# 7MIp8hOYiO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