CoApp support

Arseny Kapoulkine's Avatar

Arseny Kapoulkine

20 Oct, 2015 05:17 AM

Can we get CoApp PowerShell Tools installed on the images that run Appveyor builds? (,

CoApp is pretty much required for building native NuGet packages.

In theory it should be possible to install the MSI during the VM build, however for some reason I can't get this to work - I can install it fine but I can't run the PowerShell command that's supposed to be installed with this MSI ( I can run this fine on an actual Windows machine, so I suspect that it has to do with first-time installation issue mentioned on

  1. Support Staff 1 Posted by Feodor Fitsner on 21 Oct, 2015 05:06 PM

    Feodor Fitsner's Avatar

    Hi Arseny,

    Sorry for the late reply.

    I believe you should import some PowerShell module with that command after MSI is installed.

  2. 2 Posted by Arseny Kapoulki... on 24 Oct, 2015 08:53 PM

    Arseny Kapoulkine's Avatar

    Ok, I finally got it working.

    Import-Module helped, in addition to setting PSModulePath in the current PS session:

    I believe AppVeyor documentation on installing from .msi is incorrect. Note that I use Start-Process -Wait to launch msiexec - if I don't do it the installation seems to proceed in parallel with subsequent PS commands, which of course can't work in my case.

  3. Support Staff 3 Posted by Feodor Fitsner on 25 Oct, 2015 12:40 AM

    Feodor Fitsner's Avatar

    Yeah, should fix that part.

    Another way of installing MSIs:

    $msiPath = "$($env:USERPROFILE)\CoApp.Tools.Powershell.msi"
    (New-Object Net.WebClient).DownloadFile('', $msiPath)
    cmd /c start /wait msiexec /i "$msiPath" /quiet
  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:01 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac