This project is read-only.

Deploying Farm Solutions in a specific order

Jul 1, 2014 at 11:35 AM
I'm trying to deploy a specific set of WSP's in a specific order. The solutions are dependent on another.
It seems like the function GetSolutions (SPSD_Deployment.ps1, line 1023) loops through the xml-file and get the order correctly, but when it deploys, it first deploys the Farm Solutions that are deployed to a web app first, before taking the globaly deployed farm solutions.

Anyone knows how to handle this?
Jul 2, 2014 at 8:00 PM
Yes, you are correct. If you configure solutions which should be deployed to specific webapps, then these will be deployed first.

At the moment the only way around this is to avoid specifying the urls and add them as if the were globally deployed farm solutions.
Then they are all added in the order of the XML.

The downside is that the web app solutions will be deployed to all available web applications (excluding CA) instead of only specific ones.

A feature to add deployment dependencies is on the release plan, but currently not yet implemented.
Apr 23, 2015 at 9:45 AM
Edited Apr 23, 2015 at 12:15 PM
Any news on this feature? I'd need it too ;-)
[Edit]Got it. I'll create a pull request for Git[/Edit]