[deploy] fix: coapp tools
This commit is contained in:
parent
8cb40073f7
commit
5a8b2c2c88
|
|
@ -1,10 +1,11 @@
|
|||
# Download the CoApp tools.
|
||||
$msiPath = "$($env:USERPROFILE)\CoApp.Tools.Powershell.msi"
|
||||
(New-Object Net.WebClient).DownloadFile('http://coapp.org/files/CoApp.Tools.Powershell.msi', $msiPath)
|
||||
# $msiPath = "$($env:USERPROFILE)\CoApp.Tools.Powershell.msi"
|
||||
# (New-Object Net.WebClient).DownloadFile('https://coapp.github.io//files/CoApp.Tools.Powershell.msi', $msiPath)
|
||||
$msiPath = "scripts\coapp\CoApp.Tools.Powershell.msi"
|
||||
|
||||
# Install the CoApp tools from the downloaded .msi.
|
||||
Start-Process -FilePath msiexec -ArgumentList /i, $msiPath, /quiet -Wait
|
||||
|
||||
# Make the tools available for later PS scripts to use.
|
||||
$env:PSModulePath = $env:PSModulePath + ';C:\Program Files (x86)\Outercurve Foundation\Modules'
|
||||
Import-Module CoApp
|
||||
Import-Module CoApp
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in New Issue