CoApp support
Can we get CoApp PowerShell Tools installed on the images that run Appveyor builds? (http://downloads.coapp.org/files/CoApp.Tools.Powershell.msi, http://coapp.org/tutorials/building-a-package.html)
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 (https://ci.appveyor.com/project/zeux/pugixml/build/nuget-174). 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 http://coapp.org/tutorials/building-a-package.html.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | 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
Support Staff 1 Posted by Feodor Fitsner on 21 Oct, 2015 05:06 PM
Hi Arseny,
Sorry for the late reply.
I believe you should import some PowerShell module with that command after MSI is installed.
2 Posted by Arseny Kapoulki... on 24 Oct, 2015 08:53 PM
Ok, I finally got it working.
Import-Module helped, in addition to setting PSModulePath in the current PS session: https://github.com/zeux/pugixml/blob/master/appveyor.yml#L5-L8
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.
Support Staff 3 Posted by Feodor Fitsner on 25 Oct, 2015 12:40 AM
Yeah, should fix that part.
Another way of installing MSIs:
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:01 AM.