summaryrefslogtreecommitdiff
path: root/coin/provisioning/common/windows/install-ffmpeg.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'coin/provisioning/common/windows/install-ffmpeg.ps1')
-rw-r--r--coin/provisioning/common/windows/install-ffmpeg.ps110
1 files changed, 2 insertions, 8 deletions
diff --git a/coin/provisioning/common/windows/install-ffmpeg.ps1 b/coin/provisioning/common/windows/install-ffmpeg.ps1
index 9a76913e..933b2993 100644
--- a/coin/provisioning/common/windows/install-ffmpeg.ps1
+++ b/coin/provisioning/common/windows/install-ffmpeg.ps1
@@ -107,14 +107,8 @@ function InstallMingwFfmpeg {
function InstallMsvcFfmpeg {
- $vsPath = GetVSPath
-
- Write-Host "Enter VisualStudio developer shell"
- try {
- Import-Module "$vsPath\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"
- Enter-VsDevShell -VsInstallPath $vsPath -DevCmdArguments "-arch=x64 -no_logo"
- } catch {
- Write-Host "Failed to enter VisualStudio DevShell"
+ $result = EnterVSDevShell
+ if (-Not $result) {
return $false
}