Install/Process-InstallPackage.ps1

. "$PSScriptRoot\InstallParams.ps1" -Force
$ErrorActionPreference = "Stop"

Write-Output "Processing Sitecore installation package started..."

if (Test-Path $SAFInstallPackageDir) {
    Remove-Item $SAFInstallPackageDir -Recurse -Force | Out-Null
}
Expand-Archive -Path $global:Configuration.installPackage -DestinationPath "$SAFInstallPackageDir" -Force

Write-Output "Processing Sitecore installation package done."