28 August 2018

Easy MSI Installation

Example: Install AWS CLI

$cliInstallerPath = "<Should be dynamic>\AWSCLI64.msi"
(New-Object System.Net.WebClient).DownloadFile("https://s3.amazonaws.com/aws-cli/AWSCLI64.msi", $cliInstallerPath)
Install-Package $cliInstallerPath