Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/microsoft/SqlNexus into M…
Browse files Browse the repository at this point in the history
…oreFixesAndFeatures_JoTodd_Mar2021
  • Loading branch information
PiJoCoder committed Jun 23, 2021
2 parents 49b3159 + 6ee590a commit 274e4c2
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Setup-Related/SetupSQLNexusPrereq.ps1
Expand Up @@ -132,7 +132,7 @@ elseif

#now install RML Utils
Write-Host " Launching RML Utilities installation after uninstallation of previous version" -BackgroundColor DarkYellow
Start-Process -FilePath "cmd" -ArgumentList "/C \\dsdb\Products\RML\setup.cmd" -Wait
Start-Process -FilePath "msiexec.exe" -ArgumentList "/i https://download.microsoft.com/download/7/A/D/7ADE5D8B-47AB-4E94-BAD0-5416D6B6D383/RMLSetup.msi" -Wait

}
else #result is 'No'
Expand Down Expand Up @@ -165,14 +165,14 @@ elseif
start-process "msiexec.exe" -arg "/X $tmpUninstStr" -Wait

#now install RML Utils
$rml_utils_installation_file = "$env:temp\RMLSetup_AMD64.msi"
Write-Host " Downloading RML Utilities from the Web..." -BackgroundColor DarkYellow
DownloadNexusPrereqFile -url "https://github.com/microsoft/SqlNexus/releases/download/09.04.0097/RMLSetup_AMD64.msi" -destination_file $rml_utils_installation_file
Start-Sleep -Seconds 1
Write-Host " Launching RML Utilities installation" -BackgroundColor DarkYellow
Start-Process -FilePath "msiexec" -ArgumentList "/i $rml_utils_installation_file /lv $env:temp\RMLSetup_AMD64_Install.log" -Wait
Write-Host " Removing the downloaded RML Utilities installation file..." -BackgroundColor DarkYellow
Remove-Item -Path $rml_utils_installation_file
$rml_utils_installation_file = "$env:temp\RMLSetup_AMD64.msi"
Write-Host " Downloading RML Utilities from the Web..." -BackgroundColor DarkYellow
DownloadNexusPrereqFile -url "https://download.microsoft.com/download/7/A/D/7ADE5D8B-47AB-4E94-BAD0-5416D6B6D383/RMLSetup.msi" -destination_file $rml_utils_installation_file
Start-Sleep -Seconds 1
Write-Host " Launching RML Utilities installation" -BackgroundColor DarkYellow
Start-Process -FilePath "msiexec" -ArgumentList "/i $rml_utils_installation_file /lv $env:temp\RMLSetup_AMD64_Install.log" -Wait
Write-Host " Removing the downloaded RML Utilities installation file..." -BackgroundColor DarkYellow
Remove-Item -Path $rml_utils_installation_file

}
else #result is 'No'
Expand Down Expand Up @@ -294,4 +294,4 @@ if ($PBIDesktop_sw_found -eq $null)
else
{
Write-Host " The PowerBI Desktop Client already installed. Version found:", $PBIDesktop_sw_found.DisplayVersion -BackgroundColor DarkGreen
}
}

0 comments on commit 274e4c2

Please sign in to comment.