tag:help.appveyor.com,2012-11-13:/discussions/suggestions/851-packagemanagement-powershell-modulesAppVeyor: Discussion 2018-10-19T08:17:32Ztag:help.appveyor.com,2012-11-13:Comment/382897782015-10-26T20:41:07Z2015-10-26T20:41:07ZPackageManagement PowerShell Modules<div><p>I've added a new TODO item for deploying these modules.</p>
<p>In the meantime they can be installed during the build with this
simple PS script:</p>
<pre>
<code>$msiPath = "$($env:USERPROFILE)\PackageManagement_x64.msi"
(New-Object Net.WebClient).DownloadFile('https://download.microsoft.com/download/4/1/A/41A369FA-AA36-4EE9-845B-20BCC1691FC5/PackageManagement_x64.msi', $msiPath)
cmd /c start /wait msiexec /i $msiPath /quiet</code>
</pre></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/382897782015-10-27T02:20:34Z2015-10-27T02:20:34ZPackageManagement PowerShell Modules<div><p>Thanks, this is similar to what I tried initially. With this
one, I do not get any type of error when executing the installer,
and it seems to exit but calling "Install-Module -Name
PSScriptAnalyzer -Force;" after fails.</p>
<p>My custom chocolatey package that was basically installing the
msi would hang during the install. Which is why I took the modules
out of the installer, put them in a zip file and I download and
extract that.</p>
<p>Hopefully this works for others, but doesn't seem to work for
me. I will continue to use my zip with the modules until they are
added to the image.</p></div>Ryantag:help.appveyor.com,2012-11-13:Comment/382897782016-07-28T22:46:06Z2016-07-28T22:46:06ZPackageManagement PowerShell Modules<div><p>Just a note for others since this is the top result for
"Install-Module AppVeyor" on Google.</p>
<p>AppVeyor is now using WMF5 so package management is built
in.</p></div>Micah Rairdon