diff --git a/appveyor-windows-binary.yml b/appveyor-windows-binary.yml index 032e80d314..918eae2394 100644 --- a/appveyor-windows-binary.yml +++ b/appveyor-windows-binary.yml @@ -136,11 +136,11 @@ install: # Install aws-sam-cli MSI binary - ps: " - Invoke-WebRequest -Uri https://github.com/aws/aws-sam-cli/releases/download/sam-cli-nightly/AWS_SAM_CLI_64_PY3.msi -OutFile aws-sam-cli-installer.msi - $process = Start-Process 'C:\\Windows\\System32\\msiexec.exe' -ArgumentList '/i $HOME\aws-sam-cli-installer.msi /qn /norestart' -wait -PassThru - $process - Set-Alias -Name sam -Value 'C:\\Program Files\\Amazon\\AWSSAMCLI_NIGHTLY\\bin\\sam-nightly.cmd' - sam --version + Invoke-WebRequest -Uri https://github.com/aws/aws-sam-cli/releases/download/sam-cli-nightly/AWS_SAM_CLI_64_PY3.msi -OutFile aws-sam-cli-installer.msi; + $process = Start-Process 'C:\\Windows\\System32\\msiexec.exe' -ArgumentList '/i $HOME\aws-sam-cli-installer.msi /qn /norestart' -wait -PassThru; + $process; + Set-Alias -Name sam -Value 'C:\\Program Files\\Amazon\\AWSSAMCLI_NIGHTLY\\bin\\sam-nightly.cmd'; + sam --version; " # Echo final Path